Your can use post_parent
parameter for your query.
Ref: https://codex.wordpress.org/Class_Reference/WP_Query
This will change your query to:
$args = array(
'post_type' => 'b_books',
'order' => 'ASC',
'orderby' => 'date',
'posts_per_page' => 10,
'post_parent' => 0
);
genesis_custom_loop( $args );
Related Posts:
- Changing number of posts per page on CPT-archive.php, have tried 20-30 code chunks so far
- get the custom post type title/name
- WordPress sitemap with Custom Post Types
- Tell wordpress to show a single page instead of an archive page
- Custom Post Type Archives by Year & Month?
- Get custom post type slug for an archive page
- Meta_Query as a way how to setup CPT permalinks – is it a good thing?
- Proper way of making custom post type landing page or archive page
- Custom Post Type Archives by Date with Custom Permalink
- Change title in head on Archive page
- Custom Post Type Archives with 0 Posts Redirects as 404
- Page is defaulting to archive page and not designated template
- Date archives for custom post type
- Better to use a post type archive, page template, or shortcode for generating a highly configurable CPT archive?
- How to Add Pages Under Custom Post Type URL Structure?
- is_singular won’t call my functions?
- Include images from pages in wp search.php results in default wp search
- paginate function in archive for custom-post-type
- Custom post type archive sorted and grouped by date in post meta field
- How to create archive page for taxonomy terms within custom post type
- WordPress custom post type archive with description
- Custom-post-type-archive: posts sorted/filtered by year?
- How to list custom post types?
- Custom post type archive page pagination
- Editable content on a Custom Archive page
- Second Custom Post Type Archive
- is_main_query() not working for WP REST API
- CPT Archive with core Category
- Page vs Custom Post Types Differences/Issues
- URL of a custom post type’s post format archive?
- Create template for taxonomy results limited by Custom Post Type
- Custom post type – get_day_link()
- Custom post type archive page blank
- How to display custom post in archive section of the wordpress page?
- Set featured image to archive.php
- What’s the name of the custom post type yearly archive template?
- How can I use archive-{post_type}.php theme template?
- Return the name of the post type
- How do I add custom HTML to the content of an archive page’s posts?
- Use the custom post type archive for taxonomies?
- How to set the mainpage of a custom post type?
- Archive page for custom post type and custom taxonomy
- Menu’s breaking, now showing all page links on site
- How to have multiple archive pages?
- Create a Custom Path to Archive
- Sets post_parent in custom post type posts automatically based on cpt->page name
- Custom Post Type Date Based Archive URL rewrite [duplicate]
- How can I increase the post count for custom post types only?
- Is possible register two archive pages for single custom post type?
- How to set a ‘page’ as parent of a custom post type?
- Display All Courses in Course Archive Page
- Archive page for WordPress Custom Post Type doesn’t show pagination from paginate_links()
- How to add specific terms in a custom post type?
- pagination problem listing custom post types of taxonomy in wordpress
- Custom Post type page content (archive page)
- How to use posts as tabs in a custom page?
- Group custom post type posts by month
- Creating an archive page or simple template to list all values of a custom field of specific post type listing
- Disable Sidebar on certain pages
- Custom Post Type archive page listing a 404 or single post
- How to manage a custom post type archive as a page?
- How to manage a custom post type archive as a page?
- Include images from pages in wp search.php results in default wp search
- Want to display my custom date archive to date.php but dont know how
- Rewriting archive page slug to be different than custom post type slug
- Site loads very slow for archive custom post type page
- Stop Custom post type from being searched via URL
- archive.php can’t find categorized posts
- Custom post type category page not working
- paging is not working properly on news archives page [duplicate]
- 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
- Stop header code from showing in category page?
- is_singular won’t call my functions?
- Pagination not working for archive
- How to have a dynamic slug and rendering the archive-{post_type}.php?
- Remove plugin’s custom post type archive page and single pages [closed]
- WordPress CPT archive page display sticky post first and then display the rest of the posts in same Query
- Remove date rewrite rule for custom post type archive page
- Why using archive pages at all?
- Using wp_query to modify the loop in index.php for a CPT
- Set thumbnail and title for a post type archive (not post itself!)
- WP_Query Custom Post Type if Category ID Equals
- How to set up Custom Post Type archive page as Front page
- Url to archive page for custom post type
- Can I change my post type to anything and my site still work?
- How to display CPT archives?
- Assign category a default post type
- Custom meta Title for custom post type archive from page
- Page listing Custom Posts
- Excluding a Custom Post Type with a specific tag using pre_get_posts
- Taxonomy archive 404ing (not term archive)
- Display an authors post on a single page only when they are logged in
- Not sure why this template for custom post type posts isn’t displaying anything. What’s missing?
- Is This Code Efficient – Or is there a better way?
- Why are some of my custom posts not showing up on my page?
- Control content before and after custom post type loop
- Custom Post not working as expected
- How to use a variable as a function name?
- Assign CPT archive page attributes