Find the code where you register your portfolio post type and add/change this arguments:
'has_archive' => 'work', //under work you will see a list of portfolio items
'rewrite' => array(
'slug' =>'work_item',
'with_front' => false,
),
then manually go to Settings > Permalinks and refresh your permalink structure
after that your items will be listed under /work
as an archive
and work_item/name_of_post
as singles.
Related Posts:
- Submit post and upload image from front-end
- How to disable generation of default image sizes for some custom post types?
- Development of a WordPress Search Plugin – Best Practices
- Mini-Site Strategy
- How To Remove These Stuffs From Custom Post Type List Screen?
- Exclude a category from WP_Query
- Using Custom Fields in Custom Post Type URL
- How do I Filter Custom Post Type by Custom Taxonomy in the newest WordPress RESTful API?
- Setting up custom post type archives in WP3.1? Any luck?
- How to list all categories and tags in a page?
- show tags of custom post type ONLY
- Hierachical Custom post types permalinks not working
- TV Show database – Best way for structuring it?
- Why is the »_builtin« parameter not advised in »register_post_type()« for custom post types?
- Many to Many Taxonomies or rewrite rules?
- Query posts by custom post type and custom taxonomy
- How to display the rest of categories on Portfolio filterable
- Get post info inside modal window?
- Custom Post Type single and archive pages are not working
- Custom Post Type Name Causing Problem
- is_singular just won’t work [closed]
- attach one post from one post type to another post from another post type
- How to get current post id of a custom post type in a loop using template singel-{custom type}.php?
- get_template_part for custom post type content not working
- Multiple custom post type loops in category.php
- WordPress post count not showing for custom post type author
- Can I make WordPress use a custom template for a child page
- Display Posts in Custom Post Types Timber
- Find the user who initially created the post
- remove permalink “front part” for custom post type
- Is there a way to have the view link on manage posts page to open in a new window or tab?
- Display custom fields on post excerpt or teaser
- Sorting Custom Post Type by Meta Value but wont display when set to 0
- How to Mass Delete Images from Media Library
- Getting a PHP Notice when using Pods with WPML [closed]
- Can I list a custom post type within another custom post type in the admin area?
- Extending AZIndex plugin to use custom post types and custom taxonomies
- wordpress wp_list_pages help
- How to display custom taxonomies with links in filter menu?
- Rows with custom columns not well formatted after Quick Edit save
- What’s the WP way to load remaining custom posts?
- Manage custom post type in woocommerce /my-account/ page
- Permit users with author role to edit a custom post type
- Custom post Type, child of a Page?
- How to add a contribute page
- Hide or disallow default custom post type url?
- Different results between permalink and query var search
- Best structure / rewrite rules to achieve the following url
- WordPress Custom Search by post_type
- Query of custom post types only shows first post
- I don’t understand why use array inside the add action hook to create custom post type using object oriented way
- Enable taxonomies by post type in an array of CPTs
- Can I restrict category availability?
- New “Custom Types” item in admin menu. Is this a plugin or a new wordpress feature?
- Programatically inserted posts not showing in Posts Table
- Can’t use pagination with custom taxonomy
- Hide specific taxonomies from a taxonomy list using ‘get_object_taxonomies’
- How does the ‘the_post_navigation()’ work for CPT’s?
- Custom post type paging 404 error
- Targeting categories in custom fields
- How to insert data into meta box from another plugin?
- CPT Taxonomy As Archive Page – Error 404
- Methods for development wordpress themes [closed]
- Use post in multiple places on a page with multiple posts
- List all Custom Post Type posts excluding certain Taxnomy term
- unapprove comments on custom post type
- Can’t pull posts of a Custom Post Type based on the custom taxonomy of the CPT
- Conditional Statements
- Making a form for user to add new custom post with custom taxonomies and custom fields
- I need help in designing a custom post type
- Custom post type pagination error
- Taxonomy terms with the same name are updated between separate custom post types
- CPT: Enable Gutenberg, but disable editor field
- Publish box in CPT remove ‘edit’ link
- Custom taxonomy permalink without term, redirection to CPT slug
- How do I troubleshoot pre_get_posts with Debug Bar?
- WP_query has incorrect wp_posts.post_name = ‘asc’ when I have custom post type called ‘order’
- How to only get the content of post page while looping?
- How to add badge “new” to the post title which are showed in recent post widgets in wordpress
- edit.php all post not working
- Delete Custom Posts & Attachments
- Parent child relation between Post and Page
- How to save post title before publish?
- WooThemes – Vendors / Bookings – Allow Vendors to manage resources
- Metaboxes in Loop
- URL with Hierarchical Taxonomies and same slug for all terms and sub-terms
- order taxonomy alphabetical
- Custom post type archive page not showing on archive-posttype.php
- Implement post status update as frontend news announcement
- WP Query with multiple post types ordered by custom meta date then published date
- Custom Post Type Organisation – Taxonomies, Categories and Pages
- Expandable WordPress content (text) inside a post
- Custom Post Types and rewrite rules – One CPT works and a cloned one doesn’t
- Sort a custom post type loop by a custom taxomomy instead of chronologically
- Add custom taxonomies as class names to an archive page of custom post types
- WordPress URL Problems and Layout
- Querying meta values within an array
- Show posts of parent in edit.php
- How to add custom column to Custom post page list?
- Rewriting hierarchical post type