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 » Center area post/pages » Post-Kicker, -Byline & -Footer »

Added a Byline - Shows Twice


  #1  
Old Sep 25, 2009, 02:35 PM
TwtrCoach
 
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  
Old Sep 25, 2009, 03:02 PM
Flynn's Avatar
Flynn
 
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  
Old Sep 25, 2009, 03:06 PM
TwtrCoach
 
22 posts · Jun 2009
Tupelo, MS
Fixed!!

Thanks Flynn...

Not sure how to close this thread..

Cheers.. Are
  #4  
Old Sep 25, 2009, 03:09 PM
Flynn's Avatar
Flynn
 
3,768 posts · Oct 2008
Munich, Germany
But how? It may be a bug I need to fix. Please let me know
  #5  
Old Sep 25, 2009, 04:47 PM
TwtrCoach
 
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

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Only Part Of The Header Shows In IE mal1986 Header configuration & styling 1 Jun 9, 2009 05:38 AM
logo added but.... PJK Header configuration & styling 5 May 10, 2009 07:54 PM
Widget added and sidebars are gone jhughes817 Header configuration & styling 0 Apr 21, 2009 11:37 PM
Comments Are Closed still shows... Suzie Comments, trackbacks & pings 1 Apr 9, 2009 06:02 AM
3.1.3 - Backslashes are getting added like in the first release bseppa New Versions, & Updating 3 Dec 23, 2008 09:48 PM


All times are GMT -6. The time now is 04:11 AM.


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