• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

WP SITES

2784

Original Genesis Tutorials & 6000+ Guaranteed Code

Snippets

  • Consultation
  • Full Access
  • Log in

AgentPress Listings By Taxonomy & Term

This code enables you to display listings by taxonomy and term in any sidebar widget area. The code includes a shortcode you simply copy & paste into your editor or any text widget in any widget area.

Here’s an example showing the last 4 listings in the price taxonomy for the 100k-250k term

Usage With Other Taxonomies & Terms

Simply change the value for the taxonomy and term parameters in the code to any other taxonomy or term.

Example which displays listings from the status taxonomy with the sold term.

Usage With Other Custom Post Types

Simply change the value for the post type parameter from listing to the name of your CPT.

Code Installation

  1. Copy and paste all the PHP code to the end of your child themes functions file.
  2. Paste the shortcode [tax_terms] into a text widget in any type of sidebar or widget area.

Here’s the code for logged in members:

Register for full access

Related Tutorials

  • Custom Listings Template For AgentPress Pro

AgentPress Pro Theme Taxonomy Terms

Reader Interactions

Leave a Reply Cancel reply

You must be logged in to post a comment.

Primary Sidebar

Code written by Brad Dalton specialist for Genesis, WooCommerce & WordPress theme customization. Read More…

Advertise · WPEngine · Genesis · Log in

  • Access Problems
  • Account Details
  • Consulting
  • Tags
 

Loading Comments...
 

You must be logged in to post a comment.