Re-save your Permalinks after changing the name and slug from portfolio
Looks like you need to add this line to your code
'rewrite' => array( 'slug' => 'portfolio', 'with_front' => false ),
And change this to true
'public' => true,
Related Posts:
- Display Post co-authored in Author Page
- conditional statement for custom taxonomy
- Create a hierarchical taxonomy list in WordPress
- How to get post’s current parent term ID?
- List taxonomy term slugs within shortcode (do_shortcode)
- Copy taxonomy terms from one post to another programmatically
- How to filter custom taxonomy term name, slug, and description?
- Hierarchical taxonomy list with modificated term links
- Show the section only if custom taxonomy was chosen
- Exclude product attributes from taxonomy terms loop
- How to insert wp_users ->user login name to wp_terms when a new user registering?
- Hi need update in my terms for other taxonomy
- How to change the author box selection on a post to a custom taxonomy
- WordPress: Export/Import Yoast meta title & description to custom taxonomy
- Show related products by attribute based and certain conditions
- Display acf taxonomy attachment
- How to hide a child category and show his parent category
- Test the existence of a page/article by its URL, taking in consideration the URL rewriting by filters
- ACF Taxonomy field values not select in backend
- ACF – Can’t get custom post type by taxonomy
- WordPress search query, how to modify the sql
- Custom Taxonomy as Link
- WordPress Rewrite Issue
- Query specific posts per user selections from dropdown menus
- Custom taxonomy with page post type – WordPress
- Three different queries on same page
- Taxonomy linked to pages
- Global variable $post returning incorrect object
- Static variable and add_rewrite_rule?
- get_term_link() returns incorrect url
- How do you use WP slugs for PDF files / media?
- Nesting if statements to echo only one string based on what tag was filtered?
- Identical custom taxonomy slugs for same hierarchical children
- Randomly Assign an Image’s Alt Text Based on Data From Post
- How to change home or site url using action hooks or filter?
- Why do WordPress rewriites seem to work differently for posts vs pages?
- Performance impact of rewriting WordPress URLs
- Can I prevent the user from adding more than two levels deep of terms inside of a taxonomy metabox?
- Display Taxonomy Terms in an option tag with value being the slug
- get_the_tags() not iterating through for/while loop, but will with foreach
- Changing taxonomy term by slug (wp_update_term)
- WordPress plugin for nicer looking slugs? Have multiple pages named the same but they get different slugs
- Customising the search function?
- Is sanitize_title_with_dashes formatting function too liberal (in terms of accepted characters)?
- What is an equivalent of single_cat_title for getting the slug of the category?
- Taxonomy custom post type URL
- What query string parameter is available for index.php, that works for both pages and blog articles?
- Add meta noindex to post if it has a specific taxonomy
- Why my filterable portfolio page work not perfectly between slug button and slug output WORDRPESS?
- Loop through categories and display posts title under each dropdown
- php script to change slug in post automatically
- Rewrite Rule Working for all but one of the taxonomies created
- Grab posts by multiple categories
- Why are taxonomy terms not saving when using custom meta boxes with radio button taxonomy selectors?
- How to get original custom taxonomy slug after the slug has been rewritten?
- Changes in permalink structure in WordPress and how to apply to in-site links
- WordPress Persistent connection rule does not work for “posts”
- How can I make the slug of the taxonomy also the slug of the custom post
- Append query string to all URL’s
- custom rewrite rule help! Custom rewrite rules not applying to custom post type
- Displaying custom taxonomy on WooCommerce product page
- How to Rewrite Taxonomy URL to Include the Post Type as the Second Segment of the URL?
- subdirectory index.php is not working
- Use URL Rewrite as well as $_GET parameters in URL?
- Displaying Hierarchical custom taxonomy
- How to modify URL (add GET values) after front end form submission?
- How to split links generated into an xml sitemap to avoid exceeding 30 sec maximum execution time?
- parts of url disappear when using # inside href=”” [closed]
- woocommerce custom product category template
- Get term siblings of current child taxonomy
- Adding Taxonomy Image to taxonomy loop [closed]
- Add Taxonomy Subcategory To Permalink
- Replace taxonomy permalinks
- Including taxonomy term before post type breaks top level pages
- multiple taxonomy select display only one in front end
- Display parent and child taxonomies in separate drop down select fields
- How to get list of taxonomy slugs ordered parents>childs?
- Create custom permalinks to show Custom Post Type’s relationship?
- Add .htm extention to a custom taxonomy
- How to show only subcategories in parent category not parent category?
- Help with .htaccess and Login with Subfolders
- Taxonomy in URL
- need help with existing code showing subpages
- register_taxonomy() take much queries
- Custom field values to taxonomy terms
- Different Category system needed for the Custom Post Type
- Redirect to another page using contact form 7? [closed]
- Way to bulk make all my tags lowercase?
- Pull Tags But Not as Links
- WordPress add_rewrite_rules for custom URLs ending in .html
- Category title output before opening title tag
- Rename a slug label
- Hide image if taxonomy term is empty
- Isotope Drop Down Categories Filter Function
- working with term_relationships table
- Get wordpress taxonomy slug name(s) to use as div class
- Rewrite with pagination /foo/page/2/ to posts of a given category, page 2
- Divi change project category slug
- Ajax filter button display all posts
- page-slug.php not working but only for specific slug