Skip to main content
7 events
when toggle format what by license comment
Feb 14, 2021 at 8:56 comment added Antonio D. with both, Wordpress Post configuration and also with Custom Post Type Permalinks plugin configuration, is possible to have %post_id%/%postname%/ option where if i just write the post_id the page is found. I´m wondering if is possible just with a snippet, like yours. As I do not would like to use a plugin for that.
Feb 14, 2021 at 8:26 comment added fuxia @books4languages.com A random order be possible, but it would require a lot of work. Post ID alone does work.
Feb 14, 2021 at 7:03 comment added Antonio D. I love it. Now i can have: /%post_id%/%postname%/ Is it possible to be able to work also with the /%post_id%/ alone too? Just in case the author changes the title name, so the people can still find the post by the id. ----- As clarification, I would like to be able to have the duality where no matter the way the URL is written, it works ( news/events/%post_id%/%postname%/ ) and/or ( news/events/%post_id% )
Apr 15, 2015 at 14:02 history edited fuxia CC BY-SA 3.0
deleted 37 characters in body
Mar 6, 2012 at 14:06 vote accept Scott
Mar 6, 2012 at 14:06 comment added Scott I knew you could figure it out ;) Thank you very much
Mar 6, 2012 at 13:34 history answered fuxia CC BY-SA 3.0