I just find out what I was missing at the top, after get_header();.
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
and at the bottom, just before get_footer();
<?php endwhile; ?> <?php endif; ?>
So I just figured out that I was not loading archive properly, so I don’t get all his information.
Related Posts:
- What does this PHP function code mean? [closed]
- Restrict custom post type to only site administrator role
- Linking Two Post Types
- How to force one column layout on custom post type edit page?
- modify all posts of a category to “no comments allowed”
- Why is the »_builtin« parameter not advised in »register_post_type()« for custom post types?
- Showing current taxonomy terms
- automatically create taxonomy with same name as post title
- Assigning a role to a specific custom post type (and ignoring other post types)
- Display posts in random post types
- Custom Post Type by user
- saving custom post type data to different table in wordpress
- Query post types with multiple keys
- [Plugin: Posts 2 Posts] Changing display order of connections
- same archive template for different custom post
- Get all posts WHERE custom_field is LIKE value
- Get the post children count of a post
- How to delete all posts from a custom post type?
- Check Title Unique Or Not and If not error message and dont save
- Remove All, Published and Trashed Post Views in Custom Post Type
- How to post twitter like updates on wordpress
- Show Two custom Post type and their posts on category page
- apply filters only to specific post listing without check the url parameters
- Custom post type and body_class: Remove “blog” class
- Deleting Custom Post type data using mySQL command
- Is there a way to have the view link on manage posts page to open in a new window or tab?
- Display only one post each WEEK
- List custom taxonomy specific to one custom post type
- Meta query for custom post type ignored in main query
- Show titles, date of all posts on single category page
- Update postmeta Parent when post_status child change
- Allow users to create posts without logging in?
- How to sort posts in a custom post type by title in ascending order by default?
- Get_the_terms restrict output
- Custom post type menu
- Separate Content from gallery (custom post type)
- WordPress Count posts within a custom post type
- Custom post type tags not showing in search
- How set template for “custom post type” individual post
- Setting Parent Page to Post
- Why is my custom post content only viewable when signed into WordPress?
- Adding specific custom fields (images) to post excerpt
- Limit posts per page depending on the size of a div?
- Delete Post by User
- creating a custom post template
- Problem to get the link of the default ‘post’ post type like the orther custom types
- One Post with different content, depending on a Page
- Custom Post Type
- Display all post types together
- Turn post into simple slideshow
- Query multiple post of which one by taxonomy
- How to make a template for a specific post of a custom post type?
- How to delete unnecessary custom post types in the UI
- How to create a job post by email parsing? [closed]
- show posts under custom post type with same autj
- How to automate the creation of advanced layout article/post
- display posts, pages and custom post types from another wordpress site
- is therer any wordpress function to retrieve a specific html element from post content
- How to develop Knowledge center in WordPress Website
- ACF – Tags not showing up in Custom Post Types
- Redirect to another page using contact form 7? [closed]
- Categorise Custom Post Types
- Help With Warning on creating new Post types?
- Custom URL redirect in WP
- Showing custom post type categories in the menu
- attach CPT data to a taxonomy
- I can no longer post or even save a draft, getting the error “A post type mismatch has been detected.”
- Get post format
- Template code to split a post and print a custom field?
- Different videos for different posts
- Send post changes to set email addresses (not users or subscribers)
- Add Class according to the order of appearance
- Custom post type title of each author in his own post
- Enable comments for post when comments meta box removed
- Post visibility option to theme front-end for author to select?
- Is there a (preferable built-in) way to check what custom queries are used in a theme?
- Can I get an auto-populated dropdown list of other custom posts in a custom post edit page?
- Custom Posttype URL
- open custom post type in popup window instead of page
- WordPress next post by ajax call on button click
- Permalink for specific post type
- How can I fetch all the dates from custom fields from various different custom post types and show / list them at one place in ascending order?
- How to manage a dynamic multi-level page hierearchy system?
- Custom Post By Category
- custum post inner page not taking single-gallery.php? it redirecting to archive page
- Change Custom Post Type to Post + Category
- Child Theme problems
- Cannot use pages created on WP
- Calling specific page with wp query
- How to get Last post Id of custom post type in wordpress
- Sort by Custom Post Type (Multiple Loop)
- Display a post count from a custom metabox selection
- Selecting which pages to display custom post type on using checkbox
- 2 language CPT content
- Custom Post Type post not appearing
- Is There A Way To Add Another Field To Custom Post Type (Not Custom Field/Meta)?
- Exposing custom fields to the user in custom type post
- How to make a non-public post on wordpress approval?
- How to get permalink of post based on post name?
- I am having a problem with fetching product data in the Gutenberg block editor