This topic has 7 replies, 2 voices, and was last updated 9 years, 7 months ago ago by Robert Hall
Hi Guys, I need to create different Guest Authors on my blog. Want to achieve this without using a plugin..
I have tried the script below in my functions file, however it does not seem to be working.
add_filter( ‘the_author’, ‘guest_author_name’ );
add_filter( ‘get_the_author_display_name’, ‘guest_author_name’ );
function guest_author_name( $name ) {
global $post;
$author = get_post_meta( $post->ID, ‘guest-author’, true );
if ( $author )
$name = $author;
return $name;
}
Please advise.
Thanks
Z
P.S. I have already done some customisation on my widgets.php file to get rid of date block etc..
Thanks
Hello,
So, is your issue solved now?
Regards,
Robert Hall.
Hi Robert, nope still trying…
Any advise.
Tried the script but cant see custom box on post.
We’re sorry but this is additional customization and it’s a paid service. Our developers are busy with update themes and there is no possibility to do additional customization right now.
Sorry for the inconvenience and thank you for understanding.
Regards,
Robert Hall.
Hi, i got it working 🙂
There are many options you should consider adding to the theme..
Also i noticed stretch row from VC has been disabled.
Thanks
We’ve taken your request into our account.
Have a good day!
Regards,
Robert Hall.
Tagged: guest author, persuasive, templates, woocommerce, wordpress, writing
You must be logged in to reply to this topic.Log in/Sign up