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
- How do I programmatically add items of content to a custom post type?
- Pagination with custom loop
- Change plugin’s has_archive = true to false?
- How to make an archive page displaying posts in a date range
- Categories and Tags not working!
- Slug for standard post post_type
- Get post type from taxonomy or category page
- Display Next/Prev when looping Custom post-types archive?
- WordPress post_where & posts_join not working only for custom post type
- ACF field key/value to show on taxonomy list
- Excluding a Custom Post Type with a specific tag using pre_get_posts
- Merge page with custom post type
- How to prevent a custom post type from using the archive.php template?
- How to display “Trash” in my custom post type?
- Query custom post type that has a serialized relational advanced custom field value
- Plugin Development using classes – Public & Private Callbacks
- Finding the CPT archive template source
- How to make “single post” permalink maintain it’s sub-page structure
- PHP Notice: Unidentified index
- WordPress Contents Migration
- Have two (permalinks) urls for a same custom post type
- How to hide home title on pages and posts?