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 1 year, 2 months ago.

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

    michaelmiller
    Participant
    Post count: 1

    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.com/forums/. 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/
    #50680

    braddalton
    Participant
    Post count: 9701

    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!


    Specializing In StudioPress Child Theme Customization.
    500+ StudioPress Tutorials

    #50725

    michaelmiller
    Participant
    Post count: 1

    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.