• hommealone

    (@hommealone)


    Hi. Question about this… I’d like the wrapper element to be an <article> tag. When I followed your tutorial and simply substituted article for section, the outer wrapper was indeed changed to an <article> tag.

    Unfortunately, its immediate child was still a <li> element:

    
    <article class="display-posts-listing"><li class="listing-item"><div class="content">
    

    Obviously not right. Anything I can do to fix that and remove or change the <li> element?

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Thread Starter hommealone

    (@hommealone)

    Well here’s an in-elegant workaround:
    First, use the filter as described in the tutorial.
    Second, also use the “wrapper” markup parameter with “div” as the value: [display-posts wrapper="div"

    The result will be:

    
    <article class="display-posts-listing"><div class="listing-item"><div class="content">
    
Viewing 1 replies (of 1 total)
  • The topic ‘Re filter: Use section element for wrapper’ is closed to new replies.