[Support request] Wanting to Include an Author Box at the Bottom of Articles [Simplest Way Possibl

Home Forums Support [Support request] Wanting to Include an Author Box at the Bottom of Articles [Simplest Way Possibl

Home Forums Support Wanting to Include an Author Box at the Bottom of Articles [Simplest Way Possibl

  • This topic has 13 replies, 4 voices, and was last updated 2 years ago by Ying.
Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #2077054
    Lucas

    Hello,

    Here’s my website: https://www.greensplatter.com/

    At the bottom of all articles, I’d like to include an author box.

    I’ve read through a few of the threads that discus the “author box,” but full disclosure …

    I found them a bit confusing.

    I’m not a tech-savvy person, and all of this is VERY new to me.

    So, what’s the simplest, lightest way to add an author box at the end of all articles?

    Thank you for your patience – it’s much appreciated!

    Warmly,

    L.

    #2077068
    Leo
    Staff
    Customer Support

    Hi Lucas,

    This should help:

    Let me know 🙂

    #2077146
    Lucas

    Thanks, Leo!

    I’ll give these a watch and will hit you back if I have any questions …

    Appreciate you, man 🙂

    #2077148
    Leo
    Staff
    Customer Support

    Another very easy option would be to use a plugin like this:
    https://en-ca.wordpress.org/plugins/simple-author-box/

    It’s up to you 🙂

    #2084010
    Lucas

    Leo,

    Thanks for this!

    I tried following the first video link you sent over for creating an author box.

    Unfortunately, at the very end, after selecting the “post” option from the drop-down menu, there was no “all posts” option.

    Just “posts” and that’s it …

    I went ahead and hit “publish,” as it was the last step, but nothing actually appeared on the blog.

    I’m sure I made a mistake somewhere, but yeah – where did that “all posts” option run off to?

    Warmly,

    L.

    #2084014
    Elvin
    Staff
    Customer Support

    Hi Lucas,

    To clarify: Were you pertaining to setting up the display rule location?

    Can you share a screenshot of what you see on your end?

    For single post pages, it should be set like this – https://share.getcloudapp.com/xQuzYNJn

    #2088171
    Lucas

    Elvin,

    Hey, man! Hope you’re well!

    Okay, so I got the thing fixed that I’d mentioned to you in my previous message …

    New issue, though. Haha.

    This is the video I followed: https://www.youtube.com/watch?v=HMhUo91RjsE

    Here’s a blog post of mine – scroll down to the bottom, and you’ll see my author box …

    * Link – https://www.greensplatter.com/why-model-your-disc-golf-game-after-philo-brathwaite/

    All I have down there is a Twitter icon (that’s all I want), but – in the final product – it’s nowhere to be seen.

    I’ve played with this for about 30-ish minutes, but can’t seem to get the right-aligned Twitter icon to appear …

    Any suggestions?

    LMK – thanks!

    Warmly,

    L.

    #2088174
    Elvin
    Staff
    Customer Support

    Okay, so I got the thing fixed that I’d mentioned to you in my previous message …

    Nice one. thanks for letting us know. 😀

    I’ve played with this for about 30-ish minutes, but can’t seem to get the right-aligned Twitter icon to appear …

    Any suggestions?

    Can you share the exact settings you have for the Block element you intend to use as the author box?

    You can provide us temporary backend access if you need help in checking things out. You can use the private information text field to provide the details – https://docs.generatepress.com/article/using-the-premium-support-forum/#private-information

    #2167408
    Lucas

    Hello,

    I’ve run into a bit of an issue with this …

    Here’s a blog post with my author box at the bottom: https://bit.ly/3JyRfHM

    This morning, I published my site’s first “guest post.”

    You can see that blog post here: https://bit.ly/36mClWZ

    I ONLY want an author box to appear under my name, as I’m a daily writer for the site.

    Once I hire part- and full-time writers, they’ll have an author box, too.

    But for guest writers, I don’t want any kind of author box …

    As such, how can I de-automate the “author box” inclusion for all “Green Splatter Guest” writers?

    * Note – I’ve created a separate “contributor” profile under WordPress for all “Green Splatter Guest” writers.

    Let me know – thank you!

    Warmly,

    L.

    #2167439
    Lucas

    Hello,

    Also, one more thing …

    As this is a “Green Splatter Guest” author profile, how can I eliminate the Gravatar image associated with the email?

    I didn’t want to have to associate an email with this profile, but WordPress forced me to do it …

    Not sure if that makes sense, but a bit frustrated with all of it – please advise!

    Thanks 🙂

    Warmly,

    L.

    #2167494
    Ying
    Staff
    Customer Support

    Hi Lucas,

    In order to make the element only display on posts that you published, you can try the solution I posted here:
    https://generatepress.com/forums/topic/excluir-autores-de-elements/#post-2166404

    For a single element, the PHP code would be:

    add_filter( 'generate_element_display', function( $display, $element_id ) {
        $author_id = get_post_field( 'post_author', get_the_ID() );
    
        if ( 1234 === $element_id && '123' == $author_id ) {
            $display = true; // If Element ID is 1234 and author ID is 123, display the Element.
        }
    
        return $display;
    } );
    #2167497
    Ying
    Staff
    Customer Support

    I didn’t want to have to associate an email with this profile, but WordPress forced me to do it …

    Unfortuanly we can’t change this as it’s controlled by WP.

    #2167524
    Lucas

    Got it – will try this!

    Thanks, Ying.

    #2167563
    Ying
    Staff
    Customer Support

    Yes, let me know how it works 🙂

Viewing 14 posts - 1 through 14 (of 14 total)
  • You must be logged in to reply to this topic.