[Resolved] How to add Social Media Icon/Link Just below Author Box Bio?

Home Forums Support [Resolved] How to add Social Media Icon/Link Just below Author Box Bio?

Home Forums Support How to add Social Media Icon/Link Just below Author Box Bio?

Viewing 15 posts - 1 through 15 (of 16 total)
  • Author
    Posts
  • #1219131
    Suraj Katwal

    Is there any way to add Social Media Icon (SVG Icons) just below the author box bio?

    I have used the Author Box in Single blog post. Links in the private field.

    I am using Hook Method.

    Thank you

    #1219693
    David
    Staff
    Customer Support

    Hi there,

    will those icons links be relevant to the author ?

    #1219749
    Suraj Katwal

    I am thinking to link to social media pages of respective websites.
    Thank you

    #1220162
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    Are there multiple authors on the site? If so, I assume those social media links with differ depending on the author?

    #1220236
    Suraj Katwal

    I am going to implement it on my website, where I am only the Author.

    Thank you.

    #1220561
    David
    Staff
    Customer Support

    In the Author box HTML add this after author-summary closing </div>

    <div class="author-icons">
        <a href="url"><img src="url-to-svg-image"></a>
        <a href="url"><img src="url-to-svg-image"></a>
        <a href="url"><img src="url-to-svg-image"></a>
    </div>

    Then just add your links and urls to the images you want to use for your icons.

    Might need a little CSS to tweak the icons eg.

    .author-icons a {
        margin-right: 0.25em;
    }
    .author-icons a img {
        width: 30px;
        height: 30px;
    }
    #1221612
    Suraj Katwal

    Thank you for the code.
    One More question
    How can I add Schema Markup for Author?
    I am using this code from the forum.

    #1223640
    Suraj Katwal

    Any update?

    #1224228
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    Sorry we didn’t get back to you sooner!

    I would suggest using a JSON-LD option. There are lots of plugins that handle it, including major search engine plugins like Yoast SEO.

    #1224392
    Suraj Katwal

    I have been using Yoast. So how to integrate Author Bio code with Schema.
    Thank you

    #1224699
    David
    Staff
    Customer Support

    But the Author Box on your site already includes Schema markup ?

    #1225313
    Tom
    Lead Developer
    Lead Developer

    If you’re using Yoast, they will add the necessary author JSON-LD on the page.

    If you want to add microdata to the box itself, this might help: https://kinsta.com/blog/schema-markup-wordpress/

    #1225830
    Suraj Katwal

    Got it.
    Thank You

    #1226479
    Tom
    Lead Developer
    Lead Developer

    No problem 🙂

    #1894320
    Dominik

    what I have to do? if the links are different (each for a different author).

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