One Custom Post Type two different Templates

Yes it is possible. You’ll have to write a custom rewrite rule for making the domain.com/cpt/metaboxes url to be accessible. Lets say your cpt is ‘movie’, its single will be accessible as domain.com/movie/slug. Create a new page named ‘Metaboxes’ (slug should be ‘metaboxes’). Add the following code to functions.php. <?php add_action(‘init’, ‘add_my_rule’); function add_my_rule() { … Read more

Browsing to permalink prefix results in 404

if you’re trying to make the news serve as a homepage you should use the Site address (URL) in the WordPress general setting options. and of course you’ll getting an 404 error page since the news/ in your permalink serve as a directory which is refer to your server directory that not connected with the … Read more

Change permalink for custom post type?

Check out the rewrite parameter for register_custom_post_type. You may specity a slug that will be added before. So if you have two separate post types for recipes and restaurants set for one ‘/food/recipes’ and for the second one ‘/food/restaurants’. You must visit the Settings->Permalinks after this is done so that the rewrite rules will refresh.

WP-e-commerce (getshopped) – Annoying permalink issue [closed]

Apologies, I find this a little bit a non-issue as it states clearly everywhere that WPML works 100% when you use a permalinks structure of day and name (http://domain.com/2012/02/07/sample-post/). If this is something you cannot accept, then you’s better come to terms with the fact that WPML most likely is not going to work 100% … Read more