• 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

Custom blocks to HTML

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 › Genesis Custom Blocks › Custom blocks to HTML

This topic is: not resolved

Tagged: Custom block, html

  • This topic has 5 replies, 6 voices, and was last updated 1 month, 3 weeks ago by ar78ilnik.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • May 19, 2022 at 5:48 am #505272
    ar78ilnik
    Participant

    Hello everyone,

    I've created blocks with Template Editor. How I can to insert it to HTML-code?

    May 20, 2022 at 8:40 pm #505280
    mikeritter
    Participant

    Please clarify your situation.

    Does your question relate to Genesis Custom Blocks plugin?

    This seems like a question about the WordPress Template Editor.

    Creating blocks is not a function of the Template Editor.

    July 15, 2022 at 12:39 pm #505569
    helenquinn
    Participant

    Oh I have generate press theme. So you mean in template I can not use html codes for designing any item on this page.

    December 9, 2022 at 4:32 am #506312
    Michaelmati
    Participant

    To insert a block created with the Template Editor into HTML code, you will need to use the HTML code generated by the Template Editor. This code can be found in the "Code" tab of the Template Editor. Copy the generated HTML code, then open the HTML document where you want to insert the block and paste in the code. Save the HTML document and you should now be able to see the block appear on the webpage. Check i have add the same code in buildy.pk my client website.

    February 6, 2023 at 4:42 am #506706
    Sage
    Participant

    Hey, You can insert the blocks created with Template Editor into your HTML code by using the following steps:

    Access the HTML code where you want to insert the block.

    Copy the block code from the Template Editor.

    Paste the copied code into the HTML code at the desired location.

    Save the changes to the HTML file.

    That's it! The block created with Template Editor should now be displayed in your HTML page.

    Note: Make sure to properly format the HTML code and close all HTML tags before inserting the block.

    Thnaks

  • Author
    Posts
Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.
Log In

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