Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

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, 04: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:	4058
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 04:22 AM
Unable to add adsense code to header / banner area forwardmover Header configuration & styling 1 Dec 31, 2010 03:47 AM
[SOLVED] Banner inside posts evripidis Excerpts, Read more, Pagination 9 Jul 6, 2009 05:15 PM


All times are GMT -6. The time now is 09:13 AM.


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