A user in StudioPress forums asked
I am wondering how can I have a category page like the page link below show only post title preferably in an alphabetical list.
We can modify the main query by using pre_get_posts hook. As Bill Erickson writes,
WordPress has a very handy hook called pre_get_posts. It fires once all the query settings are ready but right before the actual query takes place. This is where we’ll jump in and modify the query settings if needed.
Below is the code to display linked post titles ordered by titles in ascending order for category pages in Genesis.
For child themes that are not yet updated to use the HTML5 markup like the Lifestyle 2.0.1
To view the full content, please sign up for the membership.
Already a member? Log in below or here.