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

WP SITES

2754

Original WordPress Tutorials & 6000+ Guaranteed Code

Snippets

  • Premium 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

Advertise · WPEngine · Genesis · Log in

  • Access Problems
  • Account Details
  • Consulting