Updated on September 06, 2018
Scenario: You have registered a 'Types' taxonomy, added two terms named 'For Sale' and 'For Rent', then categorized your listings accordingly in AgentPress Pro. Now you want all listings for sale to be shown at http://example.com/for-sale/ and all listings for rent at http://example.com/for-rent/.
Before you proceed with implementing the following tutorial note that WordPress automatically lists entries that belong to a taxonomy term at its archive page. i.e., http://example.com/types/for-sale/ and http://example.com/types/for-rent/ work without a single customization.
If you still want the listings at /for-sale and /for-rent keep in mind that static Pages created to be at these URLs can be redirected to /types/for-sale and /types/for-rent using a plugin or redirects set via cPanel or .htaccess.
If you must absolutely have the listings appear at /for-sale and /for-rent and the redirection is not acceptable, follow along.
The Page Templates have been set to display the Page content (if present) above the listings, thanks to the code by Bill Erickson.
Create two Pages named For Sale and For Rent.
To view the full content, please sign up for the membership.
Already a member? Log in below or here.