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

[SOLVED] Customize Byline for each post?

Prev Previous Post   Next Post Next
Old Mar 20, 2010, 01: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 01:30 PM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

All times are GMT -6. The time now is 03:39 AM.

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