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 inside bfa_post_parts.php


 
Prev Previous Post   Next Post Next
  #1  
Old Dec 30, 2016, 03:36 AM
denisrobinzon
 
12 posts · Sep 2016
[SOLVED] php code banner inside bfa_post_parts.php

Hello and HNY. Please tell me. How to correctly add the banner code so that it appears in the center of the page and only single post page (not excerpts)?

PHP Code:
<?php codbanner(1); ?>
I'm add here in bfa_post_parts.php:

PHP Code:
//        $bfa_toss = the_title('','',false); 
    // in those cases
[b]<div align="center">codbanner(1);</div> [/b]
    $bfa_temp_title = get_the_title();
    if ( $bfa_temp_title == '' ) { ?>
        <a href="<?php the_permalink() ?>" rel="bookmark" title="<?php _e('Permanent Link','atahualpa')?>">Permalink</a><?php 
<div align="center">codbanner(1);</div>
but, after that, the wordpress crashes.

Then, I'm add only the string:
codbanner(1);
PHP Code:
    // in those cases
    
codbanner(1);
    
$bfa_temp_title get_the_title();
    if ( 
$bfa_temp_title == '' ) { ?> 
I saw the following:

Click image for larger version

Name:	bannerbro.jpg
Views:	5282
Size:	76.1 KB
ID:	2780

but I need the middle and only single post page?!
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Modify Google Analytics Code inside Atahualpa. Shrinthra Plugins & Atahualpa 2 Jun 15, 2011 03:22 AM
Unable to add adsense code to header / banner area forwardmover Header configuration & styling 1 Dec 31, 2010 02:47 AM
[SOLVED] Banner inside posts evripidis Excerpts, Read more, Pagination 9 Jul 6, 2009 04:15 PM


All times are GMT -6. The time now is 07:59 AM.


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