• 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

Grid_Loop strips 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 › Archived Forums › General Discussion › Grid_Loop strips HTML

This topic is: not resolved

Tagged: genesis_grid_loop, losing formatting, Minimum theme, stripping html tags

  • This topic has 2 replies, 2 voices, and was last updated 12 years, 6 months ago by michaelmiller.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • July 14, 2013 at 1:45 pm #50664
    michaelmiller
    Member

    Hi All,

    I have a site I'm working on here: http://georgianstone.millerholden.com/

    It uses the minimum theme and on the homepage there are two blog posts. The one that says "New Marble and Granite Arrivals" is actually a bulleted list, but you can't tell because it's been stripped of HTML by the genesis_grid_loop.

    I contacted support and Jennifer said this:

    Hi Michael.

    Thanks for your question. The grid loop uses a content limit function which strips tags from the content.

    This snippet may help you add some additional allowed tags: http://daan.kortenba.ch/add-tags-to-genesis-content-limit-in-content-archives/

    Your customization question would be a great question for the community forums. I'm sure many users would benefit from the collective feedback the community can give you.
    If you need further assistance with this customization, please open a thread here: http://studiopress.community/. If you don't have an account, simply register and a password will be emailed to you.

    Jennifer Baumann

    I went to http://daan.kortenba.ch/add-tags-to-genesis-content-limit-in-content-archives/ and there is code there - a function - that supposedly stops the grid loop from stripping certain HTML tags.

    > So Here Is The Question <

    Where do I put this code? I tried home.php. I tried functions.php. Inside the grid_loop, outside the grid_loop ... nothing. I don't see how that code integrates with the genesis_grid_loop so it knows to leave those html tags alone, but I would just like it to work.

    If anyone knows how to make the genesis_grid_loop stop stripping HTML tags, please tell me - I'd be eternally grateful!

    Michael Miller

    http://georgianstone.millerholden.com/
    July 14, 2013 at 2:37 pm #50680
    Brad Dalton
    Participant

    Please copy the code from the view raw link and paste it at the end of your child themes functions.php file using a text6 editor like Notepad++.

    I have added the HTML tags for ordered and unordered lists so it shouldn't strip these out now. Tested and works beautifully!

    Thanks Jen!


    Tutorials for StudioPress Themes.

    July 14, 2013 at 7:38 pm #50725
    michaelmiller
    Member

    Thanks Brad! Works perfectly ... much appreciated!

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 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

© 2026 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