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?

Old Mar 20, 2010, 12:21 PM
3 posts · Mar 2010

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.
Old Mar 21, 2010, 05:36 AM
juggledad's Avatar
23,682 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
Is this custom text coming from the post? if so, why not use the %meta% option in teh byline.
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

Last edited by juggledad; Mar 21, 2010 at 09:57 AM.
Old Mar 21, 2010, 07:26 AM
3 posts · Mar 2010
It worked! Thank you so much!


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 06:50 PM
[SOLVED] Byline working in single post pages, but not multiple? denise Post-Kicker, -Byline & -Footer 2 Mar 17, 2010 03:35 PM
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 01:32 PM.

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