skip to Main Content

WordPress – Permalinks and redirects

I would like to change the permalink from /%category%/%postname%/ to /%category%/%postname%-%post_id%/ How to set up a redirect correctly? Tried setting it up through the Redirection plugin, but I don't know how to properly configure the rule. Or maybe the function…

VIEW QUESTION

WordPress custom post type preview not working

The custom post type function prowpsite_create_custom_post_types() { $types = array( // Where the magic happens array( 'the_type' => 'news', 'single' => 'car', 'plural' => 'cars', 'rewrite' => 'cars', 'icon' => 'dashicons-admin-site-alt', ), ); foreach ($types as $type) { $the_type =…

VIEW QUESTION
Back To Top
Search