• 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

Control Which AgentPress Listings Display in Widget & Archive

This code enables you to control which listings display both on your listings archive pages and the listings widget area.

The code is tested using the AgentPress Pro child theme by StudioPress which includes the listings archive.php page and also uses the listings plugin.

This tutorial is written in response to this question by a member of this site:

I want to control which listings appear in the Home – Top Widget Area here. As it is now, the last listings that were created are displayed.

This example excludes listing 2 with a post i.d of 729 from the listings widget and listings archive:

exclude-listing

Here’s the code:

Register for full access

Related Tutorials

  • Custom Listings Template For AgentPress Pro

AgentPress Pro Theme

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.