Solved, it was a problem with the custom-post-types.php I was calling the type with the name 'post_type'
changed that solved the issue.
Related Posts:
- `post_type` => `any` not giving me my custom post
- Custom Post type with ACF in REST API, how do I get those values?
- WordPress Ignoring My Custom Post Type Templates?
- Get posts in same category not working
- Roots: Custom Post Type 404 Not Found [duplicate]
- How to force one column layout on custom post type edit page?
- Removing custom post type from link search results
- Search multiple custom fields by using meta_query
- Automatically generate custom post title based on meta
- Filtering Posts by Multiple Taxonomy Terms such as in an Admin Post Listing?
- Hide custom post type from nav menu manager
- Including a custom post type in the Archives widget
- Add custom taxonomy to custom post type
- How do I add a custom post type to the Featured Content in twenty fourteen theme?
- Menu with Automatic Pages Included from Custom Post Type
- Ajax filter with custom taxonomies
- How can I add single catogory for custom post type?
- Custom post type loops with different page templates
- Display posts in random post types
- Is there An Input Checkbox Option That Works like `wp_dropdown_categories()` To Use In A WP Search Form?
- Create a relationship between two custom post types?
- Adding Custom Taxonomy Archive Link to Nav Menu Shows Up As (Invalid)
- How to dynamically build a multiple taxonomy query loop within a post type’s single loop?
- CPT Search Form with Taxonomy filter & Or
- Multiple templates for a custom post type
- Custom WP_Query not returning results when querying custom post type
- Make a function to run only for CPTs
- Weird problem happening with custom taxonmy when creating/updating posts
- WordPress custom meta field for custom post not storing data
- Custom post type not using it’s own single-postname.php
- $wpdb: Counting posts corresponding to 3 terms in 3 different taxonomies
- List all images from a single post meta value
- Validate custom fields before save using WordPress Rest API
- Adding wp_editor to custom metabox
- Allow post/page hierarchy across different post types?
- Multiple level category drop-down from the WordPress dashboard
- How to checked selected category checkbox when my custom post inserted from frontend
- Using custom field content as expression in IF statement [closed]
- Get the category from custom post type
- Is it possible to store Custom Post Type data in separate set of tables and still have wp_post class functionality?
- Custom Post Type Permalink
- Modifying custom post type created by WooCommerce
- List Taxonomy Terms based on another Taxonomy
- Make a custom_post translatable
- Adding a metabox on a CPT’s submenu page
- Post2Post refusing to show linked posts
- Which custom post type does the current post belong to?
- Using preg_replace to filter custom textarea
- WordPress Custom Post Type – show only certain posts that have specific taxonomy set
- How to get specific post meta by title or id
- Why are some of my custom posts not showing up on my page?
- How to add editable/dynamic values to dropdown of a Custom Post Type Meta Box
- Populate a custom field dropdown with post titles by author
- Use core block functionality in a custom block gutenberg
- Add form after woocommerce admin order edit
- WP_Query of custom post type sorted by meta_key has unexpected results
- Get assigned post categories
- Is there SEO or related limitations to using Custom Post Types instead of WPMU?
- Custom Post Type and Taxonomy Loop Output Is Wrong
- Nested Custom Taxonomies | Incorrect posts when querying
- Post Query not working
- How do I get the index for a custom post?
- Commas not displaying in implode
- Create custom WP_List_Table in post_type
- custom taxonomy listing returns no posts
- Custom Post Type and Breadcrumbs Conflict
- Add a custom post when inserting a new user in WordPress?
- How to display a specific post type name in a breadcrumb
- Reveal Foundation modal displaying repeat content on all modal rather dynamic content
- How can I put content before my custom post type default pages?
- How to add page the same slug like custom post type?
- Custom Endpoint For Specific Custom Post Type
- How to only display all posts to a custom User Role?
- Show custom post type event if current day using ACF
- Forcing two or more custom post type to be private
- Numeric pagination custom post type
- Enable Authors in Multiple Custom Post Types
- Dropwdown: Get taxonomy terms from posts that share preselected terms from 3 other taxonomies
- Custom post type loop without children
- Display posts of a hierarchical custom post type excluding parent posts
- Wrap an X amount of taxonomy posts in a separate Row in WordPress
- custom search results – order results differently by post type
- Looping through custom taxonomy in one template
- get_post_meta for Custom Post Type ( CPT )
- Help understanding custom post type and children
- How to get $post object available inside functions.php to localize script?
- How can I base a query off of the current page post type AND a meta value from another custom post type
- Redirect permalinks after creating custom post types
- How to divide posts (custom post type) content on multiple pages?
- Plugins for putting Custom Post Types into the Menu
- Fallback if statement based on the number filtered from it
- Cannot get query var ‘post_type’ to work
- Custom term link return 404 error
- Custom Post Types, Taxonomies and Terms… I’m getting confused now!
- How to apply order on custom taxonomy and custom meta key on custom post type
- Updating a custom field in a custom post type
- Remove slug from Custom Category Permalink + dual-category permalinks
- WordPress Set A Static Page/Template For All Sub-Pages
- Custom post type is_singular condtional not working when managing sidebar display
- Is it possible to specify a time interval (from, to) in ACF with date picker, or other custom field?