Guest Author - by zf - on WordPress WooCommerce support

This topic has 7 replies, 2 voices, and was last updated 9 years, 7 months ago ago by Robert Hall

  • Avatar: zf
    zf
    Participant
    April 1, 2015 at 14:09

    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

    Please, contact administrator
    for this information.
    6 Answers
    Avatar: zf
    zf
    Participant
    April 1, 2015 at 14:11

    P.S. I have already done some customisation on my widgets.php file to get rid of date block etc..

    Thanks

    Avatar: Robert Hall
    Robert Hall
    Support staff
    April 1, 2015 at 14:13

    Hello,

    So, is your issue solved now?

    Regards,
    Robert Hall.

    Avatar: zf
    zf
    Participant
    April 1, 2015 at 14:21

    Hi Robert, nope still trying…

    Any advise.

    Tried the script but cant see custom box on post.

    Avatar: Robert Hall
    Robert Hall
    Support staff
    April 1, 2015 at 14:38

    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.

    Avatar: zf
    zf
    Participant
    April 1, 2015 at 14:49

    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

    Avatar: Robert Hall
    Robert Hall
    Support staff
    April 1, 2015 at 14:53

    We’ve taken your request into our account.
    Have a good day!

    Regards,
    Robert Hall.

  • Viewing 7 results - 1 through 7 (of 7 total)

You must be logged in to reply to this topic.Log in/Sign up

8theme customization service
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.