how do i add posts-page slug before posts slug in permalinks
how do i add posts-page slug before posts slug in permalinks
how do i add posts-page slug before posts slug in permalinks
Custom field as Slug
Pre-populate Slug / Permalink with URL
How to change the Author Slug from Username to Nickname and deal with Special Characters
put custom taxonomy slug in front of their respective term slugs
Remove Custom Post Type Slug and add Custom Taxonomy to Permalink Structure?
No, that is correct, news has nothing to do with your structure… it’s just a word… But you can get a way around it… you could copy archive.php and name it something like template-news.php then edit the template-archive.php… put this at the top… just below ‘ <?php /* * Template Name: News */ Then add … Read more
It depends on what you’re developing the theme for. Premium Themes – Themes for the masses. If you’re going to sell or distribute the theme to many people use the template drop down which provides the most flexibility to the user. If they delete the page or rename the slug they can always reassign the … Read more
I run into a similar issue. I had to remove remove_meta_box(‘slugdiv’, [‘post’, ‘page’], ‘normal’); from my code. When you remove the slugdiv meta box the slug edit box for WP does stops working.
This’ll probably have a few quirks, but in practice it’ll do what you’re after. Note that it’s set to only work for posts (not pages or custom post types). All we’re doing is using the wp_unique_post_slug filter, which runs after WordPress has generated it’s own unique slug, and additionally checking it against all _wp_old_slug meta … Read more