I am not sure what you mean by category searches?
In is_category()
branch of template hierarchy category.php
precedes archive.php
, it is intended and wanted behavior. If you want to change template behavior for specific category you will need to override that logic, likely in template_redirect
hook or around that.
Related Posts:
- How to Debug the ‘save_post’ Action?
- set_post_thumbnail_size in percent, not pixels?
- Breadcrumbs with Custom Post Types?
- Adding custom post types to archive.php
- How to query for posts (in hierarchical custom post type) that have children?
- 404 error PageNavi custom type taxonomy | wordpress
- Running a function on post content and CPT meta
- Get the post_type of current taxonomy or category page
- Custom Post Type and taxonomies’s labels localization not working
- get_the_post_thumbnail() returning empty string on custom post type
- Query for posts in 2 taxonomies
- How to add notification in the sidebar of the administration panel when a Custom post type is created? [duplicate]
- Custom Post Type get_post_type_archive_link( $post_type ) returns false
- How do I create an archive page for standard posts?
- WordPress custom post type archive with description
- custom taxonomy archive by year
- Add management screens to post type
- How to add the post ID (or any other post data) to a Contact Form 7 mail?
- Metabox Populated with a Custom Post Type – How to Output CPT based on Select?
- Can custom taxonomies items have attached properties?
- WordPress if in term*
- Associate custom post types with normal posts
- Combining sorted and random CPT
- how to delete all users and posts based on ‘user_meta’?
- hide a certain custom field
- custom-taxonomy/post_name instead of the default post_type/post_name
- Regex with a possible hyphen
- Expose a custom field of a custom post type to the REST API
- Rewrite Rule for showing Parent/Child Relationship between Two Hierarchical Custom Post Types
- Default text in a specific post type, but not visible?
- Woocommerce custom field search in custom post type [closed]
- Registering custom post type menu editor problem
- Save custom post type to external database
- Querying & displaying custom post type into an existent page [closed]
- Custom rewrite to fetch feed data
- Create custom post with meta field with AJAX and the WordPress REST API
- Change “empty trash” button text?
- Front end access to a SQL data repository – recommended way?
- Adding guestbook to my wordpress site
- Custom Post Type – Support “author” only for admins
- find custom post type post by searching its custom field with my string
- wordpress lists similar type of posts in a custom post type
- FacetWP paging custom wp_query
- Custom Post Type Template Hierarchy – Single post template
- How do I find a way to create a global single.php for a custom post type?
- Display Date & Author Info on Custom Post Type Archive Page
- Rewrite permalink for multiple post types (CPT) with taxonomy term
- custom post type make featured image box full width
- How to Display the tag content of Custom Post?
- Display only a single CPT
- Custom post not appearing under custom taxonomy category
- Control Loop Within Loop
- Sets post_parent in custom post type posts automatically based on cpt->page name
- How to filter Multiple taxonomies with radio buttons
- ACF – Retrieve custom taxonomy from a relationship field
- Restrict access to custom post type based on its taxonomy terms
- How to Print Title and Permalink of CPT Post behalf of Posts Meta Value with WP_Query
- Create loop from selected terms in ACF taxonomy field
- Custom rewrite rule based on other custom post type title
- How is possible to know ID of taxonomy-{taxonomy}.php page for ACF fields
- Sending current featured image to email
- Group custom post type posts by month
- CPT and rewrite rules
- Querying posts that don’t have a certain key value or don’t have the key
- How can I add a meta[] to my custom post type and search by term with the Rest API?
- Custom post type single with custom URL structure
- WordPress custom post type taxonomy paging
- Custom post types not showing on the standard WordPress Category page
- List posts that have the current url taxonomy
- Display Custom Post Type in divs
- Output all terms slugs for a loop filter
- How to Disable option of meta field if that option is selected for any other post in custom post type?
- wordpress does not see the correct custom taxonomy hierarchy
- Counting the number of post without custom post type
- Place a button besides “add new”
- Custom Archive – hide posts until a search is made?
- register taxonomy url rewrite 404
- Multiple WordPress Sites, Same Database but Filtered Content
- Display result as “prefix+ID” and show in the search result as bookcode
- How to get all posts assigned to a taxonomy term only?
- How to implement custom post type’s users
- Generating excerpts from a custom post type to display in a Widget
- Custom Post Search
- Use Custom Post Type as Storage Container Without Registering It
- WP_Query function for custom post type
- How can I get taxonomy terms and custom field values of a newly created post
- Custom post type won’t take my custom fields
- Custom content for Custom Post Type parent page?
- Custom post types with date based archive
- Custom post type URL returns 404 error page
- Programmatically Split A Post Into Multiple Pages
- shortcode for recent custom type post
- Copy custom post types and admin
- Issue On Listing Woocommerce Parent Tag List
- Can WordPress show posts based on a button that the user clicked 2 pages back?
- Creating post custom field text area
- Change post structure
- How to display posts from IMPress for IDX Broker on home page? [closed]
- Permalinks for Custom Post Types and Taxonomies
- Group search results by post type, but having a unique heading for each section?