Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Plugins & Atahualpa (http://forum.bytesforall.com/forumdisplay.php?f=16)
-   -   [SOLVED] php code banner (new task) (http://forum.bytesforall.com/showthread.php?t=23955)

denisrobinzon Mar 11, 2017 06:35 AM

[SOLVED] php code banner (new task)
 
Hello, a few months ago, I asked you how to correctly insert the banner code. In this thread
Now, I need to add a banner right after the bottom menu and and before the beginning of post. Please tell me where to paste the code?
PHP Code:

if (is_single()) {
echo 
'<div align="left">'codbanner(1); echo '</div>';} 

https://dl.dropboxusercontent.com/u/...es/banner1.png
https://dl.dropboxusercontent.com/u/...es/banner2.png

juggledad Mar 11, 2017 12:51 PM

I would add a dynamic widget area after the %cats in the 'Configure header Area' option, install a php aware widget (like exec-php), add a text widget to the new widget area and add your code to it.

denisrobinzon Mar 13, 2017 12:42 PM

Quote:

Originally Posted by juggledad (Post 114917)
I would add a dynamic widget area after the %cats in the 'Configure header Area' option, install a php aware widget (like exec-php), add a text widget to the new widget area and add your code to it.

Thank you for the advice. Added dynamic widget using "Center Column Top - widget area" and now ok. Banner added as I wanted.


All times are GMT -6. The time now is 10:23 PM.

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