Creating a redirect option for current page url

How should I check if the current page url has an equivalent on other sites? WordPress itself has no knowledge of any equivalency between mysite.com/uk/pricing and mysite.com/dk/priser. If you’re using a multilingual site plugin to build the different language sites, that would be the plugin’s job. But such a multilingual site plugin may very well … Read more

Custom Posttype URL

I tried your code and everything seems to work fine except ‘rewrite’ => $rewrite,, so I just commented this out, flushed permalinks and it works as expected. So I have this function jobs_post_type() { $labels = array( ‘name’ => _x( ‘Jobs’, ‘Post Type General Name’, ‘OceanWP’ ), ‘singular_name’ => _x( ‘Job’, ‘Post Type Singular Name’, … Read more

Separate blog and reviews categories

Sounds like you’re sharing the default category taxonomy for both of your post types. When you want separate categories per post type, you would need to create a custom taxonomy for your review posts. Please check out the register_taxonomy function in the WordPress developers documentation. https://developer.wordpress.org/reference/functions/register_taxonomy/ See below an example of a custom taxonomy. add_action( … Read more