Remove Custom Taxonomy Base
I am using custom taxonomies with WordPress 3.0.4
I am using custom taxonomies with WordPress 3.0.4
I have a custom post type called “visningshus”, and also a Page with that slug. This is as it should (must) be.
I have an image whose permalink is domain.com/books
I would now like a page located at this permalink.
In the past I’ve used the Day and Name or Month and Name settings.
I have a custom post type products and a custom taxonomy ‘Product Categories’ with the slug products.
This is the code I am using: <?php echo str_replace( home_url(), '', get_permalink($post->ID) ); ?> What it does is output the permalink as a relative URL i.e. only the slug. For instance, if the permalink is http://example.com/2012/01/post-title/, the relative URL output by the code would look like /2012/01/post-title/. Problem: All Posts and Pages show the … Read more
I’ve registered post type with following —
I have a custom post type for slideshows that creates a paginated post and each slide is a separate page. The data for each slide is saved in the custom fields and each slide has a title set saved in the custom field with key slide{$i}-title ($i being the slide number, for example slide1-title).
If you have a category called “term” and a subcategory called “subterm”, your can access subterm posts at /cat/subcat. But this doesn’t work out of the box with custom taxonomies. They are accessible at /taxonomy/subterm, but not /taxonomy/term/subterm.
When you create a page in WordPress, it’s just an entry in a database table; there’s no actual file at that location. However I can create a file at that location myself and it will steal the page away from WordPress. I delete the file and it seamlessly goes back to the WordPress page.