Wordpress Themes - WP Forum at BFA
Click Here To DONATE! Support the theme development, get more attention and additional benefits based on your donation level. Your forum name will be highlighted.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Center area post/pages » Post-Kicker, -Byline & -Footer »

[SOLVED] Customize Byline for each post?

Build custom WP THEMES, without
Click here for THEMEFRAME

From the author of Atahualpa, the #1 most
downloaded (700,000+) theme @ wordpress.org
Prev Previous Post   Next Post Next
Old Mar 20, 2010, 12:21 PM
3 posts · Mar 2010
[SOLVED] Customize Byline for each post?


Thanks for the great theme!

I was hoping to customize the byline. Specifically, I would like to change the author with text added in a custom field (so that I don't have to create a new user for each author).

I found some code that works in another blog I have, but for some reason it is breaking Atahualpa when I post the code in functions.php. Does anyone have some code that changes the author in the byline? Or does anyone have any idea why the code below isn't working:

PHP Code:
add_filter'the_author''guest_author_name' );
add_filter'get_the_author_display_name''guest_author_name' );

guest_author_name$name ) {

$author get_post_meta$post->ID'guest-author'true );

if ( 
$author )
$name $author;



Last edited by vrinda; Mar 20, 2010 at 12:30 PM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Byline working in single post pages, but not multiple? denise Post-Kicker, -Byline & -Footer 2 Mar 17, 2010 03:35 PM
How to customize 404 error page? wfzimmerman Atahualpa 3 Wordpress theme 16 Mar 7, 2010 07:11 AM
Customize Category Page bigliettaio Forum How-To 5 Jan 4, 2010 04:36 PM
[SOLVED] Remove byline or kicker when post is sticky? blueprairie Installing & running WordPress 6 Oct 24, 2009 11:00 AM
[SOLVED] Remove Byline in an individual post Per Lund Post-Kicker, -Byline & -Footer 7 Aug 31, 2009 05:22 AM

All times are GMT -6. The time now is 04:26 PM.

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