Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Center area post/pages (http://forum.bytesforall.com/forumdisplay.php?f=32)
-   -   Add PHP code in Post/Page Info (http://forum.bytesforall.com/showthread.php?t=22693)

upacific1862 Aug 1, 2014 03:16 AM

Add PHP code in Post/Page Info
 
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

juggledad Aug 1, 2014 03:31 AM

Due to a wordpress theme restriction, you can no longer use php in the theme options.

lmilesw Aug 1, 2014 08:50 PM

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.


All times are GMT -6. The time now is 01:40 AM.

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