• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

How to Add Custom Elements to Tag

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › General Discussion › How to Add Custom Elements to Tag

This topic is: not resolved

Tagged: body, genesis, html

  • This topic has 5 replies, 3 voices, and was last updated 2 years, 8 months ago by Anita.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • October 28, 2019 at 10:27 pm #494294
    Kunal Desai
    Member

    I am using Genesis Sample theme.

    How can I add "abc" to HTML Body tag?

    Result will look like <body abc class="">


    Humanly Yours,

    Kunal Desai

    https://kunaldesai.blog/

    November 23, 2019 at 6:12 am #494995
    skzai
    Member

    Hi Kunal, your question is not clear properly. Can you explain a little bit more where you are trying to add HTML tag? We will try our best to help you.

    Regards,
    SK Zai

    November 23, 2019 at 2:18 pm #495002
    Anita
    Keymaster

    You can add a custom body class by following the StudioPress tutorial - https://my.studiopress.com/documentation/snippets/miscellaneous/add-custom-body-class/.


    Love coffee, chocolate and my Bella!

    May 29, 2020 at 7:34 am #499040
    Anita
    Keymaster
    This reply has been marked as private.
    May 30, 2020 at 4:34 am #499046
    Kunal Desai
    Member

    Well,

    Want to add "data-instant-intensity="150"" to body html tag to change default behavior of
    Instant.page as I have added their WordPress plugin.

    "abc" used in my above post was just for example.

    Anita - how come my link is spam?


    Humanly Yours,

    Kunal Desai

    https://kunaldesai.blog/

    May 30, 2020 at 4:43 am #499047
    Anita
    Keymaster

    Someone else posted on here and the post was spam not yours.


    Love coffee, chocolate and my Bella!

  • Author
    Posts
Viewing 6 posts - 1 through 6 (of 6 total)
  • The forum ‘General Discussion’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2023 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble