All thanks to @PieterGoosen’s comment, I figured out that this issue was due to a setting within the WPML (multilingual) plugin. Under the ‘translation management’->’multilingual content setup’ tab of the plugin settings, there is a section for ‘custom posts’. In this section, my ‘publications’ post type was not set for translation, and this somehow prevented its posts from displaying within my custom query. Once this setting was changed, everything works as expected!
Hopefully this makes sense and will help someone else in the future. Cheers!
Related Posts:
- WP_Query with custom post type ID
- Display all posts in a custom post type, grouped by a custom taxonomy
- How do you get the count of posts in an archive page?
- How to use a custom post type as front page?
- Display several random posts, but make sure a condition is met
- WP_Query to loop a Custom Field, Custom Post Types do not show
- Retrieving 3 latest post from each of 5 different custom post types
- Using new WP_Query in shortcode in a custom field causes the main post content to not display
- How to show posts from multiple post types in a single loop? And display them separately on the same template
- Query Custom Post by Category
- WP_Query and using a variable for ‘cat’=> in the args array = WP Bug?
- Separate Posts and Custom Post Type in Custom Taxonomy archive template
- Integrating Orbit slider into wordpress through custom post type
- Why does using WP_Query inside a shortcode in an elementor page cause the arguments for WP_Query to get malformed?
- Lists Posts from CPT that match the Title of the Page
- Loop on front-page.php
- Remove duplicated values from a loop
- WP_Query | ‘post_type’ doesn’t work
- How to connect two custom post types with nested loops
- Filter by custom taxonomy slug on a custom post type
- Loop through Custom Post Type, and then show children within each iteration
- Can I create a loop with multiple post types and specify different $args for each post type?
- Unable to retrieve any posts of CPT in wp-admin
- WP_Query orderby modified to include custom meta changes
- How to make sure content doesn’t display if selection is empty
- Two near-identical custom field types – one works, the other doesn’t . What can cause this?
- Custom loop with multiple taxonomy queries
- What is the recommended / best way to do this: Event calendar post/type in a block-based theme?
- Return the latest post from a custom Taxonomy and Post Type
- What’s the WP way to load remaining custom posts?
- How to have this permalink structure: post_type/postname/custom_inner_page
- Problem: wp_query outputs all images on site
- pagination not working for category.php (custom post types in categories)
- WP Query post__in not returning correct results
- How can I group posts by months and years?
- Multiple Custom Post Type queries, how to DRY it up
- Custon Content within WordPress Loop
- Using wp_query to modify the loop in index.php for a CPT
- Query & the_content() is showing in the header
- Two column layout with alphabetical ordering
- Having Issue on Ordering CPT by Custom Field In Custom WP Query
- Pagination not working on custom query on a page
- Custom Post type content within a slider
- Trying to add a class to post links
- Display the current post in browser as the first post in a loop (for a slideshow)
- Display post from custom post type
- List all Custom Post Type posts excluding certain Taxnomy term
- Searching post types
- How to retrive Custom Post Type Meta Fields in Custom WP_Query
- Loop for custom-post-type comparing taxonomy terms for “related” posts?
- Custom Post Type Query W/Category Dropdown
- Multiple custom post type queries causing wrong post types to be grabbed in taxonomy + single templates?
- Custom post type pagination error
- Query for specific taxonomy that executes a particular loop depending on volume of posts?
- How to display magic field’s custom write panel in wordpress theme?
- How to Enable Ascending or Descending In WordPress Default Built-in Loop
- Page that lists publications by classifying them by taxonomy
- posts_per_page in custom WP_Query does not override “Reading” settings?
- How to display posts from a certain category in a bootstrap 5 carousel loop with multiple items?
- Get next and prev item from custom WP_Query and Custom Post Type
- Loop all post on single.php
- After inserting new post with wp_insert_post() the post is not visble to WP_Query, but the same WP_Query works for post inserted from wp-admin panel
- Exclude a specific post in a Custom Post Type
- Pin posts to top of custom loop
- WP Admin Dropdown List Filter for custom (ACF) field on custom post type(s)
- Filtering posts based on three taxonomies
- Pagination Not Working When Used With WP_Query() `offset` Property
- Order posts alphabetically with numbers but some of the posts has numbers in the title
- Add extra elements to the_post in a custom post_type
- SEARCH QUERIES – REVERSE OUTPUT
- Custom Post Type has wrong label and is not found when called by a loop
- Error in the page of a CPT file in WordPress
- post_type incorrect for custom post type
- Staggering featured post using ‘sticky’
- subtracting the current post form then whole loop, which is generating all CPT titles
- Mix Facebook and Twitter feed into custom posts
- 2 custom posts types, in their own columns, one pagination for both
- Strange behavior on WP_query
- Loop carousel slider in wordpress
- How To Loop Through list with Custom Post Types
- Custom post type with custom taxonomy permalinks
- Custom taxonomy page template
- Custom Post Type + Category archive
- Loop with Custom Post Type and Taxonomies
- display news with pictures 3 small and one large (loop)
- Post data in separate divs with incrementing class using WP_Query
- Custom loop won’t work, can’t find problem
- Custom post-type’s pagination not working in category.php
- Query Custom Post Type by Tag
- How do I correctly query posts from a post ID?
- display custom post type from register taxonomy
- How to exclude certain portfolios from a loop
- Custom post type and have_posts() return empty result
- How to manage wordpress knowledge base/wiki/posts collections
- How to create custom page templates with default page layout framework?
- WordPress search results grouped by post type
- How can I show posts with the same tag?
- Default WordPress Query for a Specific Custom Post Type URL
- How to insert a post from a different post type after every nth post
- Complex Custom Loop with Includes