|
#1
Sep 25, 2009, 03:35 PM
|
|
|
22 posts · Jun 2009
Tupelo, MS
|
|
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
|
#2
Sep 25, 2009, 04:02 PM
|
|
|
|
3,768 posts · Oct 2008
Munich, Germany
|
|
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
|
#3
Sep 25, 2009, 04:06 PM
|
|
|
22 posts · Jun 2009
Tupelo, MS
|
|
Fixed!!
Thanks Flynn...
Not sure how to close this thread..
Cheers.. Are
|
#4
Sep 25, 2009, 04:09 PM
|
|
|
|
3,768 posts · Oct 2008
Munich, Germany
|
|
But how? It may be a bug I need to fix. Please let me know
|
#5
Sep 25, 2009, 05:47 PM
|
|
|
22 posts · Jun 2009
Tupelo, MS
|
|
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
|
|