Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • in reply to: Piklist Post Type permalink overwritten #11310
    robin
    Participant

    Done some digging, and the only difference I am seeing between piklist and regular CPTs is that the post_arr in wp_insert_post() comes with an empty post_name, so it creates a new one by sanitizing the title. If I had more time I’d investigate further but unfortunately I don’t.

    in reply to: Piklist Post Type permalink overwritten #11309
    robin
    Participant

    Hi Steve,

    No, it does not create a new page or anything, it just replaces the permalink of the post you are working on. Let’s say you have a custom post type ‘services’ and a page with the title: ‘Rent a vehicle’, and your permalink is ‘example.com/services/rentals’, after saving the page, it will replace the permalink with ‘example.com/services/rent-a-vehicle’, and you will need to edit the permalink back to ‘example.com/services/rentals’.

    Hope this helps!

    Robin

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