Display the current search results

If you would like to use Display Posts on a search results page, you can add the following code to add support for this shortcode:

[display-posts s="current"]

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

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.