Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Center area post/pages »

Add PHP code in Post/Page Info


  #1  
Old Aug 1, 2014, 03:16 AM
upacific1862
 
1 posts · Dec 2011
Hello,

I using Atahualpa theme since years ago and always running ok, but now I wuold like to have extra power of it.

In my home page I have publish a banner with a 468 x x60px. When somebody push the title of the news and go there I have the possibility to add a banner of 728 x 90 px. I trying to add some php code in Post/Page Info but is not running.

How I can add PHP code in the Post & Pages?

Thanks a lot,
Alex
  #2  
Old Aug 1, 2014, 03:31 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
Due to a wordpress theme restriction, you can no longer use php in the theme options.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #3  
Old Aug 1, 2014, 08:50 PM
lmilesw's Avatar
lmilesw
 
10,176 posts · Jul 2009
Central New York State USA
You could use the Post Snippets plugin which let's you create a shortcode with php code.

If you want to put other php code into a theme option you could also add a new widget area to the section in question and then use a php aware text widget.
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.

Last edited by lmilesw; Aug 2, 2014 at 06:33 AM.

Bookmarks

Tags
info, php, post/page

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Post Page Info Items Question joestyer Post-Kicker, -Byline & -Footer 1 Aug 8, 2010 04:50 AM
Is There a Way to Add Blog Info to Post Info Within This Theme? nevereven Post-Kicker, -Byline & -Footer 0 Jan 7, 2010 11:50 PM
How to use <?php... ?> code in "Post Info Items" sections? TotalBalance Post-Kicker, -Byline & -Footer 0 Mar 14, 2009 03:01 PM
Post / Page Info Items - Button crashes comp, how do I add to post-footer? Image help everygirlssecret Post-Kicker, -Byline & -Footer 1 Jan 5, 2009 01:12 PM


All times are GMT -6. The time now is 06:03 AM.


Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.