[Support request] How to set “Author” class for Generateblocks

Home Forums Support [Support request] How to set “Author” class for Generateblocks

Home Forums Support How to set “Author” class for Generateblocks

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #2282503
    sandeep kumar

    Hi

    I want to display <div class="author-box"> for my author box instead of <div class="gb-inside-container"> in generatepress

    please let me know how to do it

    #2282570
    David
    Staff
    Customer Support

    Hi there,

    This <div class="gb-inside-container"> is part of the GenerateBlocks container block, and that class is required.
    What is the purpose of adding the author-box class ?

    #2283447
    sandeep kumar

    Hi

    Just to inform google bot that it’s an author box.

    SEO purpose

    #2283465
    David
    Staff
    Customer Support

    Adding the class won’t mean anything to google bot or other search engines.
    If you want Google to know who the author of a post is, then you should add it with JSON-LD which is Googles preferred schema.
    Most SEO plugins do this for you, and can add the author property within their article schema.

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