WordPress.org

Support

Support » How-To and Troubleshooting » How to add an attribute to the tag

How to add an attribute to the tag

  • Dear all,

    I would like to add an attribute to the body tag of the main page, and another attribute to the body tag of the post pages.

    It would look like:
    <body itemscope itemtype=”http://schema.org/WebPage”> for the main page, and <body itemscope itemtype=”http://schema.org/ItemPage”> for the post pages. Is there any way I can accomplish that?

    Thanks in advance for your help,

    Best Regards,

    Daniel

  • The topic ‘How to add an attribute to the tag’ is closed to new replies.
Skip to toolbar