Added a Byline - Shows Twice
Hi again.
Added this Byline on Single Post Pages.. (tried other ways to) <image(user.gif)> By %author-link% | %date('F jS, Y')% | <image(comments.gif)> %comments('Comments', 'Comments (1)', 'Comments (%)', 'dontshow')% It shows me what I want, but it shows twice for some reason on my article. Just want it to show once... How can I fix this? Cheers.. Are |
Did this work in 3.4.2?
Try removing the red part in functions/bfa_post_parts.php function bfa_post_byline($before = '<div class="post-byline">', $after = '</div>') { global $bfa_ata, $post; Try disabling plugins one by one, perhaps you can track it down to a specific one. Perhaps a combination of Atahualpa and a particular plugin are causing this. If you can look into your Wordpress database, e.g. with PHPMyAdmin, you could check the content of the bfa_ata_post_byline_single row in the wp_options table to see whether the byline is there once or twice |
Fixed!!
Thanks Flynn... Not sure how to close this thread.. Cheers.. Are |
But how? It may be a bug I need to fix. Please let me know
|
I think this was caused by a human error (...me..)..
Originally I tried to turn of page titles. Found this script here that I put in the LOOP; <?php if ( is_home() OR is_single() ) { ?> <?php bfa_post_kicker('<div class="post-kicker">','</div>'); ?> <?php bfa_post_headline('<div class="post-headline">','</div>'); ?> <?php bfa_post_byline('<div class="post-byline">','</div>'); ?> <?php } ?> <?php bfa_post_kicker('<div class="post-kicker">','</div>'); ?> <?php bfa_post_byline('<div class="post-byline">','</div>'); ?> Then I removed this script, and I think I made some mistake then. Because after I removed it then headers on all posts disappeared. I put this back again, and then when I added the Byline it showed up double. So I figured I must had put it in the wrong place, or deleted one variable that I was not supposed to. I then reinstalled the default LOOP; and put in this script code instead; <?php } ?> <?php bfa_post_kicker('<div class="post-kicker">','</div>'); ?> <?php bfa_post_headline('<div class="post-headline">','</div>'); ?> <?php bfa_post_byline('<div class="post-byline">','</div>'); ?> <?php bfa_post_bodycopy('<div class="post-bodycopy clearfix">','</div>'); ?> <?php bfa_post_pagination('<p class="post-pagination"><strong>'.__('Pages:','atahualpa').'</strong>','</p>'); ?> Now it works as I want it... So as said not sure if it was a bug or... just me.. Cheers.. Are |
All times are GMT -6. The time now is 03:47 AM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.