Grid_Loop strips HTML

Community Forums Forums General Discussion Grid_Loop strips HTML

This topic is: not resolved

This topic contains 2 replies, has 2 voices, and was last updated by  michaelmiller 2 years, 4 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #50664


    Hi All,

    I have a site I’m working on here:

    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:

    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: If you don’t have an account, simply register and a password will be emailed to you.

    Jennifer Baumann

    I went to 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


    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!



    Thanks Brad! Works perfectly … much appreciated!

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.