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
- Counting number of posts in a category and its sub categories and displaying result using shortcode
- How to get the term before the last from a custom taxonomy?
- How to create filterable portfolio in WordPress?
- Add attribute / custom attribute to product in woocommerce
- Show Custom Taxonomy Title
- How do I attach a php file to an arbitrary slug and still have access to the wp-core functions?
- Taxonomy with_front causes all
- How to query for pages/post depending on slug?
- WordPress custom slug (endpoint) and compare all links
- Global variable $post returning incorrect object
- get_term_link() returns incorrect url
- 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?
- get_the_tags() not iterating through for/while loop, but will with foreach
- Changing taxonomy term by slug (wp_update_term)
- Add meta noindex to post if it has a specific taxonomy
- Rewrite Rule Working for all but one of the taxonomies created
- How can I make the slug of the taxonomy also the slug of the custom post
- custom rewrite rule help! Custom rewrite rules not applying to custom post type
- How to Rewrite Taxonomy URL to Include the Post Type as the Second Segment of the URL?
- 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?
- woocommerce custom product category template
- Display parent and child taxonomies in separate drop down select fields
- Redirect to another page using contact form 7? [closed]
- Hide image if taxonomy term is empty
- 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
- Ajax filter button display all posts
- page-slug.php not working but only for specific slug
- Add class to website based on post taxonomy
- Change header on pages displaying taxonomy items
- Listing titles and custom fields of entries within subcategories
- WordPress site with embedded menu – gives You don’t have permission to access /wp-content/themes/xxx/taxonomy-redirect.php on this server
- Create a a form for custom taxonomy terms
- Storing content into a custom taxonomy
- Taxonomy term count
- Using page title as a link to term archive
- Taxonomy term description with style, only if the description exists?
- PHP displaying wrong custom taxonomy images
- WP_Query – How to query all of post types categories
- How do I edit the terms output args or array data?
- WP custom posts: filter results to custom taxonomy tag that corresponds to user meta field
- Slug duplicates once clicking on link
- How do I get the correct URL?
- Multiple Tag Filtering
- custom taxonomies not working
- Exclude a category slug on pagination
- How does WordPress rewrite URLS using its PHP scripts
- Get custom term link archive with prefix
- Getting a 404 on single custom post type page when using rewrite on a custom taxonomy
- enumerating custom taxonomies?
- how to display child terms with parent terms in custom taxonomy?
- taxonomy term in URL slug won’t forward to the correct term for custom post like it does for default categories/normal posts
- Page 2+ of taxonomy archives does not recognise sort-order from dropdown
- Display taxonomy term slugs
- Change taxonomy for categories
- How to show all of aspecific post type that has taxonomy and a specific term
- Why isn’t my custom function kicking in from my functions.php file?
- Pass custom value to custom taxonomy
- Difference in Get Variable Location
- Looping taxonomy in taxonomy?
- ISOTOPE – Missing/Invalid Arguement Get Terms
- Dynamically append custom post type to end of url
- Later change of taxonomy slug base not changing permalink
- How do I change the Go To Categories link in the term_updated_messages
- Custom Post Type with multiple Custom Taxonomies / Hide Taxonomy Slug from URL
- Query posts by custom taxonomy slug in WP REST API?
- How to disable page create for custom post type, but allow a page with the post types slug to be created?
- How to make multiple custom taxonomies sit under custom post type slug?
- Create a custom plugin with dynamic child pages listing database records
- Taxonomy Archive URL + Template