Change gd_placecategory on database

This topic contains 7 replies, has 3 voices, and was last updated by  Paolo 8 years, 10 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #64187

    f.daliessi
    Expired Member
    Post count: 85

    Hi,
    how can I change the way WPGeoDirectory saves place category on the database?
    At the moment it saves like this:
    http://i.imgur.com/JizvGX4.png

    For example if I create a new Place category (/wp-admin/edit-tags.php?taxonomy=gd_placecategory&post_type=gd_place) called “HelloWorld” it gives a new ID cat (3 for example). Then this ID cat is used on the database to recognize the place category.

    How can I make the database use the category name istead of the ID?
    like:

    Thanks in advance and have a good day 🙂

    #64205

    Guust
    Moderator
    Post count: 29970

    That is not possible. Any special reason you want to do that?

    #64207

    f.daliessi
    Expired Member
    Post count: 85
    This reply has been marked as private.
    #64215

    Guust
    Moderator
    Post count: 29970

    Wordpress does not work that way, it uses IDs for the categories. It needs to do that because it does not just use one table to output to your website.
    If you want to see the categories of the listings, go to GD > Places in your admin area.

    #64243

    f.daliessi
    Expired Member
    Post count: 85
    This reply has been marked as private.
    #64256

    Paolo
    Site Admin
    Post count: 31206

    Hi,

    no there isn’t. What you want to do isn’t possible. You should use the admin dashboard, not the database for administrative tasks, the DB isn’t there for that.

    Thanks

    #64266

    f.daliessi
    Expired Member
    Post count: 85
    This reply has been marked as private.
    #64268

    Paolo
    Site Admin
    Post count: 31206

    You are welcome 🙂

Viewing 8 posts - 1 through 8 (of 8 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