• Resolved chauhanheena

    (@chauhanheena)


    Hi,
    I love your plugin. It came in the right time when i was so looknig for a guest author plugin. Thanks

    I jus wanted to know,is there a way to display the gues author name jus besides the post title ,as i do not want to display the entire guest author box. My reuirement is to display the gues author with his personal link just besides the title of the post. possible?

    https://www.ads-software.com/plugins/molongui-authorship/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Molongui

    (@molongui)

    Hi chauhanheena,

    I’m not sure to fully understand what you mean…

    If the template you are using on your site displays the author name, the plugin will make it show the name of the author you set, regardless it is a guest author or a registered one. So I think what you are asking for is already implemented.

    Not sure to having answered what you needed. If not, please, include a link to your site or to some screenshot where I can have a look at what you mean.

    Glad you like our plugin.

    Thank you very much.

    Thread Starter chauhanheena

    (@chauhanheena)

    My website link is
    horizonforum.in

    When i click on any post,
    below the post title
    the category is displayed. I want to append the guest/registered author name also there. instead of showing the author box that the plugin provides. I simply want to show the author name besides the category name below the post title . Is it possible.

    Plugin Author Molongui

    (@molongui)

    Hi chauhanheena,

    Now I see what you mean. It is a template related issue, nothing to do with our plugin. Anyway, I will try to help because what you are asking can be done.

    First of all, you need to install and activate our Molongui Authorship plugin. It will modify the author name to be shown as per your backend configuration. If you don’t want the author box to be displayed, just go to the plugin settings and set “Show box by default” to “No”.

    Then, you need to configure/edit your theme to make it display the name of the author. If you are using a commercial theme, please, ask the theme author how you should proceed. If it is a custom theme you have developed, edit your single template (the template you use to display the contents of a single post) and comment the line of code that displays the category (if you don’t want it to be shown) and add the code to display the author name (something like: <?php the_author(); ?>).

    Hope this helps!

    Thread Starter chauhanheena

    (@chauhanheena)

    Thanks. Ill try adding the code.Hopefully it should work. It’s kind of urgent to get this done. Hope you reply quick if I face any problem as the author of my wordpress theme does not support me at all.

    Thread Starter chauhanheena

    (@chauhanheena)

    Hi ,

    The code worked,you can see the author name gets displayed in the post page

    https://vnc-horizon.com/wordpress/post-by-heena

    How can i link the author name to the link ofthe author.

    Thanks

    Thread Starter chauhanheena

    (@chauhanheena)

    I figured out how to link the authorname to the url. Thanks

    Plugin Author Molongui

    (@molongui)

    Hi chauhanheena,

    About how to link the author name to the URL provided in the registered/guest author edit page, please, make sure guest author link is correct. If not, use this code:

    if ( $author_id = get_post_meta( get_the_ID(), 'molongui_guest_author_id', true ) )
    {
       $author_link = get_post_meta( $author_id, 'molongui_guest_author_link', true );
    }
    else
    {
       $author_link = ( get_the_author_meta( 'molongui_author_link' ) ? get_the_author_meta( 'molongui_author_link' ) : get_the_author_link() );
    }

    Use “$author_link” as the value of your “href” parameter.

    Happy to know the plugin is useful for you.

    Please, consider rating our plugin: https://www.ads-software.com/support/view/plugin-reviews/molongui-authorship

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘displaying only the name of the guest author’ is closed to new replies.