CPT

This topic contains 5 replies, has 2 voices, and was last updated by  don quixote 8 years, 6 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #209032

    don quixote
    Expired Member
    Post count: 667

    I created a CPT Labeled Places To Stay but misspelled the Post Type as Palce.
    I went back to edit the Post Type but can’t do it.
    Q1> Why can’t I?
    I would like to titled the Post Type Places To Stay.
    Q2> Is this possible? I previously tried but the system was telling there was something wrong on the post. ??/
    Q3> What exactly should I enter in Post Type and Listing slug?

    http://www.supremecityguides.com/wp-admin/admin.php?page=geodirectory&tab=geodir_manage_custom_posts&action=cp_addedit&posttype=gd_palce

    #209035

    Paolo
    Site Admin
    Post count: 31206

    Hi,

    isn’t it obvious?

    It says below the field: The new post type system name ( max. 17 characters ). Lower-case characters and underscores only. Min 2 letters. Once added the post type system name cannot be changed.

    That is because it creates a database table with that name and database tables cannot be renamed so easily.

    You need to delete it and create it correctly.

    Thanks

    #209036

    Paolo
    Site Admin
    Post count: 31206

    p.s. you should use a different name that Place as Place is the default CPT.

    Thanks

    #209042

    don quixote
    Expired Member
    Post count: 667

    I did try to titled it “places to stay” (without the ” “) but system kept telling I could not

    I will try again!

    #209046

    Paolo
    Site Admin
    Post count: 31206

    it cannot have spaces:

    Lower-case characters and underscores only. Min 2 letters

    should be places_to_stay

    Thanks

    #209047

    don quixote
    Expired Member
    Post count: 667

    Thank you Paolo!!!!!!!

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