Assuming the name of your custom post type is “videos”, you can create a new template file in the themes directory called taxonomy-videos.php
. If your custom post type’s permalinks are set up correctly this template will be rendered anytime the main query returns ‘videos’, so at ‘http://www.yoursite.com/videos‘.
In the template file you can start a loop and cycle through each post returned from the DB.
Related Posts:
- Removed slug from CPT, now How/where do I hook the filter to the taxonomy term archive pages link?
- How to have Multiple Archives Widgets, one archive widget per category (in a different page)?
- “Sticky” posts for each category (archive.php)
- WordPress alphabetical A-Z custom post type post result display
- Custom post type archive category page results in 404
- 2 loops in archive.php (one for each category)
- Is There a Difference Between Taxonomies and Categories?
- Only one category per post
- Get rid of WordPress category, tag and author archives?
- Filtering categories in the permalink structure
- get_categories hierarchical order like wp_list_categories – with name, slug & link to edit cat
- wp_nav_menu not appearing for a couple pages
- Why aren’t sub-categories nested after creating post in the WP Admin?
- Preventing index.php?category_name=something from redirecting
- How to get category id of current post?
- Programmatically create product category and add thumbnail in woocommerce
- Trash bin for categories
- Categories’ hierarchy in URL
- Display one category in one page
- How to get next previous category in same taxonomy?
- How to add a background image to category and display image on category page
- Show Subcategory Description
- is_archive() content being shown instead of is_category()
- Check is category parent or not from its ID
- Which php file lists all the post of a category
- How to query posts from specific authors and categories using WP_query?
- Apply custom category template to subcategories
- Retrieve all posts within tag OR category?
- Include template before a loop
- How to customize tag and category post listings to show introductory content?
- List Terms in Category
- Can you have a single set of “canonical” categories shared by all blogs?
- List Posts by Category for a Non-Zero, Non-NULL Custom Field Value?
- Rename Default Category (Uncategorized) Via a Function
- How to customize category template?
- Customized landingpages for categories
- get_the_category_list open in parent window
- Show category images on single product page and product overview page
- Class active for Archive link – looped out
- Get parrent category name
- Display specific categories by ID
- Sorting category products not working
- Show category from “Next post” and “Previous post” [edited]
- Remove sub-menu item from admin menu
- How to add WordPress sub category without select
- wp_list_categories in in nav_menu
- How to customize categories panel?
- ACF add custom fields to categories and display
- Custom taxonomy template for categories
- Show category with link
- Select posts from Category
- Display a list of subcategories a post belongs to
- Display unused categories in dropdown
- Get post related on category
- Give Children Unique ID’s
- Some of the category description not showing up in category page
- WordPress Customizer: Dropdown with Category output
- Need to echo category id in multi-dimensional array
- Use blog as base for tags and categories
- Exclude parent category when getting category posts by slug
- Can’t iterate through 2 levels of categories
- Problem: retrieving parent category’s first post
- Category URL Management
- Update custom category fields front-end
- Include last post date in get_categories loop
- List of post categories only associated to another custom taxonomy
- Add Post Categories in Post Tags Field Programmatically
- How do I remove “Uncategorized” from my theme on my posts page?
- List all categories and count number of posts within based on custom date
- Restrict retrieved terms by category?
- Get category from slug list
- I just want to list ONLY the child categories, but not grandchildren
- Re-coding category-template.php to go to custom URL
- Category removal – Portfolio Category:
- How to Change Sort Order of default WordPress Catgory Widgets?
- Show One Level Category id
- Custom filters inside a specific category?
- $args Orderby The number
- Most efficient way to have 1 template for parent, 1 template for child categories?
- Function to list posts from current post’s category fails in WP 3.8
- Multiple parent categories
- Custom fields setup when category selected filter subcategories
- How to use Greek characters/letters in a query?
- Make three menus with three category levels
- Getting categories to change appropriately when using $cat = ‘ ‘;
- how to call the category of the post
- Category related -> excerpt, title and thumb in sidebar on article page
- How to have a category not show up in query post with page panigation?
- single category widget with conditional terms
- Remove the current item from a menu
- why is the delete option missing from just one category?
- Get all categories
- Show category post order ASC
- How to display all category images for single post in a page?
- How to get specific number of category post on a page or category page?
- Use same wordpress category base and tags as the prefix as the post permalink
- Display different sidebar based on search results from one category
- Adding category to existing post (uploaded file)
- how to create a page that shows all of multiple category posts on a single page
- Quick Edit on taxonomy names results in error