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 » Plugins & Atahualpa »

[SOLVED] php code banner (new task)


  #1  
Old Mar 11, 2017, 06:35 AM
denisrobinzon
 
12 posts · Sep 2016
[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

Last edited by denisrobinzon; Mar 12, 2017 at 01:25 AM.
  #2  
Old Mar 11, 2017, 12:51 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
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.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #3  
Old Mar 13, 2017, 12:42 PM
denisrobinzon
 
12 posts · Sep 2016
Quote:
Originally Posted by juggledad
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.

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] php code banner inside bfa_post_parts.php denisrobinzon Plugins & Atahualpa 4 Jan 4, 2017 04:29 AM
[SOLVED] copy/pasting jquery code in page apparently generates unwanted code tags (p, mafgirl Center area post/pages 2 Jan 19, 2012 09:10 AM
Unable to add adsense code to header / banner area forwardmover Header configuration & styling 1 Dec 31, 2010 02:47 AM
Use random image code to display random flash banner? blueprairie Header configuration & styling 0 Mar 18, 2010 01:30 PM


All times are GMT -6. The time now is 07:57 PM.


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