WordPress.org

Support

Support » How-To and Troubleshooting » Sort/Filter Posts based on Custom Field (Key Only)

Sort/Filter Posts based on Custom Field (Key Only)

  • I’m looking for a solution that will help me sort posts.

    How I would like it to work is as follows:
    There will be a list of links in the sidebar which will be used to filter the posts. Posts only with a certain custom field (Key Only) will be displayed when the link is clicked. It should work just like the Archives, but using a different template file.

    I already created the custom template file which can do the filtering, but I don’t know how to have the links use this file for displaying the results.

    Any suggestions?

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Sort/Filter Posts based on Custom Field (Key Only)’ is closed to new replies.
Skip to toolbar