Change Cat ID on Custom Post Types

This topic contains 1 reply, has 2 voices, and was last updated by  Alex Rollin 6 years, 5 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #436898

    vegeta720
    Full Member
    Post count: 128

    Hello all,

    Is there any way to change the Cat ID for the Categories that are created under a Custom Post type? I am looking to alter the Cat ID’s the the taxonomy of the Categories can default in the order I would like it.

    I am going to the Map (Supreme Theme) and the map pin defaults to the lowest Cat ID – or that’s how I understand it anyway. The problem is, that I recently restructured how I would like the listings to appear and I didn’t create those categories until recently. I can respond with more information and screen shots if needed.

    Also, when searching the listings, is there a way to have the default map pin of each Category be displayed on the map (search results) when the Category is chosen. Let’s say, if you pick Korean Food, the listings where you could find Korean food would all show up and have the category pin for “Korean Food” appear on the map?

    I appreciate your help.

    #436908

    Alex Rollin
    Moderator
    Post count: 27815

    Is there any way to change the Cat ID for the Categories that are created under a Custom Post type? I am looking to alter the Cat ID’s the the taxonomy of the Categories can default in the order I would like it.

    No, these are set sequentially by WP.

    I am going to the Map (Supreme Theme) and the map pin defaults to the lowest Cat ID – or that’s how I understand it anyway. The problem is, that I recently restructured how I would like the listings to appear and I didn’t create those categories until recently. I can respond with more information and screen shots if needed.

    The categories can be recreated in a specific order. Some members have done this for the same reasons you state. It is an involved process, though, as the categories must be deleted and then recreated, and they must match the posts (to which they were previously assigned) so some spreadsheet skills may be needed.

    Be sure to read this whole page: https://wpgeodirectory.com/docs/core-export/

    Also, when searching the listings, is there a way to have the default map pin of each Category be displayed on the map (search results) when the Category is chosen. Let’s say, if you pick Korean Food, the listings where you could find Korean food would all show up and have the category pin for “Korean Food” appear on the map?

    You can add a GD Listing map widget to the GD Search page widget area. Have you tried that? Make sure you are not using the GD Home map there.

Viewing 2 posts - 1 through 2 (of 2 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount