Use section element for wrapper

Display Posts outputs an unordered list (<ul>) by default, but you can change this to an ordered list or div using

[display-posts wrapper="ol"]

If you would prefer a different wrapping element, like a <section>, you can use the following:

This code snippet goes in a core functionality plugin or Code Snippets.

Filters used:

Published by Bill Erickson

Bill Erickson is a freelance WordPress developer and a contributor to the Genesis framework. For the past 14 years he has worked with attorneys, publishers, corporations, and non-profits, building custom websites tailored to their needs and goals.