• 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

Add Categories & Tags to AgentPress Listings Plugin CPT

This PHP code enables you to add support for both categories and tags to the listing custom post type generated by the AgentPress Listings plugin.

Note: Code for adding categories and tags to custom post types registered via theme functions file will not work if the CPT is created from a plugin, hence the reason for the solution in this post.

This will add the normal meta boxes for categories and tags to all Edit Listing screens for single listings.

This code was tested on the AgentPress Pro child theme by StudioPress which requires the use of the AgentPress Listings plugin.

Here’s the code:

Register for full access

Related Tutorials

  • Use Categories and Tags With Your Custom Post Type

AgentPress Pro Theme Custom Post Type

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