Your setup would mean that archive-listing.php would be used at:
However, your URL:
http://martcol.co.uk/listing/organisation/children/
Is not a post archive, it’s a taxonomy archive, specifically an organisation archive, and so archive-listing.php
will never be used for it, since archive-listing is not a taxonomy archive template but a post archive template.
Other than doing an include in taxonomy-organisation.php
there is no way to make it call archive-listing.php
, except for messing around with hooks and filters, which I strongly recommend against as it would be a waste of time and effort ( why not just include ).
I recommend looking up the template hierarchy diagram and bookmarking it
Related Posts:
- Create a custom archive page for a custom post type in a plugin
- Custom Post Type Archive Page not showing
- Meta_Query as a way how to setup CPT permalinks – is it a good thing?
- Page is defaulting to archive page and not designated template
- custom post type archive page url to point to Page permalink
- Better to use a post type archive, page template, or shortcode for generating a highly configurable CPT archive?
- Add Settings to Custom Post Type
- Custom post type permalink structure with the category also acting as an archive
- Custom Post Type Works but Still Shows “Page Not Found”
- Rewrite custom post type url’s adding meta box values
- I can’t set meta_key in my custom post type query
- Hide child term posts on parent term pages
- Compare 3 custom fields and sort by oldest
- Alphabetical sorting of custom post type – one letter per page
- List all posts in Custom Post Type but group dynamically by Custom Taxonomies
- Archive page for taxonomy of custom post type
- Add meta data to the custom post type ARCHIVES page
- Custom post type archive sorted and grouped by date in post meta field
- Create Custom Post Type Archive Page with Sub Categories Navigation Sidebar
- Custom Post Type archive giving 404
- Custom taxonomy template not working with simple loop. Multiple CPT using the same taxonomy
- Custom query variable – get wordpress to redirect to nice permalink url
- Custom-post-type-archive: posts sorted/filtered by year?
- add_rewrite_endpoint() and Custom Post Type Archive
- Custom post type archive page pagination
- Add the current menu item CSS class to a custom page type archive in WordPress menu
- Add custom post type archives to search results?
- Second Custom Post Type Archive
- How do I get the permalink structure to work like this?
- How to use WP_Query in a CPT achive page?
- Have a Custom Post Type index page display taxonomy items instead of posts
- is_main_query() not working for WP REST API
- WP_Query | ‘post_type’ doesn’t work
- Editable Meta Data for Custom Post Type Archive Template
- Query var removed after rewrite
- Archives for Custom Post Types (without Pages)
- Set up Custom-Post-Type Author Archive
- Custom post type templating problem
- Extending AZIndex plugin to use custom post types and custom taxonomies
- Single post with a Custom Post Type returns 404, when archives of the CPT work correctly
- Custom post type archive page blank
- Creating a Custom Post Type
- Custom Post Type slug same as page name
- How to display custom post in archive section of the wordpress page?
- How to set up Custom Post Type archive page as Front page
- Custom Permalinks For CPT and pages with parent. Advanced WordPress
- How to integrate single and archive templates for custom post type in any WordPress theme
- ACF for custom post type archive pages: which hook to use?
- Show categories of custom post type and not all posts
- Removed custom post type archive page shows blog page
- Custom Post Type with Configurable Sidebar via ACF
- Plain links in single-class.php and archive-class.php not working
- Archive page for custom post type and custom taxonomy
- Order Custom Post Type Archive by multiple values in functions.php
- Pagination does not work on Custom Post Type archive while trying to get load more function working
- How to have multiple archive pages?
- Create a Custom Path to Archive
- Specifying a template for custom post type pages
- WordPress sitemap with Custom Post Types
- How to set a ‘page’ as parent of a custom post type?
- Display All Courses in Course Archive Page
- Archive page of CPT’s custom Taxonomy
- Getting Same Description in All the Custom Taxonomy Posts
- Archive page for WordPress Custom Post Type doesn’t show pagination from paginate_links()
- 2 Custom Post Types In 1 Archive Page?
- Custom post type archive URLs with a single taxonomy
- Different number posts per page based on custom post type term id
- How to change URL for custom post type archive?
- Custom post type author issues
- Custom Post Type / Taxonomy not displaying archive
- ACF Pro Accessing fields on a Custom Post Type
- Do not show child pages within a file page
- Permalink for custom post type pages not working
- Set archive of custom post type like ‘posts’ page in reading settings is set
- Custom taxonomy with custom post type archive page
- Custome post type “tags” pick default archive instead of custom post type archive
- Customize url from the_terms
- Want to display my custom date archive to date.php but dont know how
- Help with Multi Level Category Archive Page
- Highlight a Post on archive page if it has a new comment?
- How do I make my archive page look like popular reviewing sites (e.g., Polygon and Gamespot) [closed]
- Display custom post type archive on page.php template
- Pagination fault in custom post type archive page [duplicate]
- Remove the “View” Link in Post edit Admin
- Custom Post Type Archive Links Not Working
- CPT archive as home page
- Archive page of filtered posts
- How to display the FAQ Archive page in my menu
- Why is this custom post type defaulting to archive.php?
- How can I set up the URL for a category archive for a custom post type?
- Taxonomy Query of Custom Post Displays Archive Instead of Posts
- Archive Page Pagination not working
- Custom taxonomy archive page not routing?
- has_archive for default post type
- Pagination not working for archive
- Pagination for Custom Post Type with Multiple Types
- Custom Post Type Archive Title Lowercase
- Pagination not working only on Archive-Name.php using new WP_Query
- Dynamic WordPress rewrite rules for multiple custom post types
- WordPress CPT archive page display sticky post first and then display the rest of the posts in same Query