The only thing date related in that code is $postedon_data
. If these are the files being used as you say then there are a few possibilities.
- Those
unspoken_postedon_*
values are set in one case and not set in another. - The
unspoken_posted_on
function is defined in one case and not another. - There is something about the
unspoken_posted_on
function that filters what content it displays based on template or other value.
Those are the only options that come to mind. I suspect the last one.
If you can’t work out which it is, var_dump($postedon_data)
for both cases and edit the output into the question, and post the content of the unspoken_posted_on` function.
Related Posts:
- Pagination not working with custom loop
- Display all posts starting with given letter?
- wp_pagenavi() with custom wp_query()?
- how do I group content in magazine-style ‘issues’?
- Custom post type loops with different page templates
- Should unaltered default loop/query return a list of custom posts belonging to a custom taxonomy?
- 404 error PageNavi custom type taxonomy | wordpress
- Query for posts in 2 taxonomies
- Pagination with custom post types results in 404 issues
- IF statement in a do_shortcode
- How do I Use Nested Loops of Custom Post Types for MultiSite Blogs using WP_Query()
- List posts AND custom post type by category
- How to dynamically build a multiple taxonomy query loop within a post type’s single loop?
- Help Structuring Query for Archive Pages
- How to check if “is single” page
- wp_query to find posts by year and month
- Using pre_get_posts to filter one loop in a multiloop archive
- Custom Post Type Loop within Shortcode
- Query custom post type in the loop
- Display CPT posts based on specific taxonomy
- Meta Key Value in current-user-only loop
- CPT + CMB2: data not displaying for only first post in loop
- Loop custom taxonomy to get lists of cutom post types?
- Custom post type not displaying content from single-{custom post type} page
- Show a Category X’s custom post type on Category X archive page?
- Sort by alphabetical order archive.php page
- Display all taxonomy terms, add class if term applies to current post
- Post ID randomly printing on page
- Displaying Custom Posts on a Page
- How do I know the ‘meta_key’ for ordering my custom post type
- Custom Post Type Category Link
- Custom Post type category pages template and loop
- Three Most Recent Posts, One Per Term
- Custom Post Loop pulling all custom posts, not just one
- Wrapping x posts in html without leaving empty html
- How to include custom post type posts on a page?
- 4 column-loop ordered alphabetically with entries grouped (and labeled) by their first letter
- Loop increase number
- Custom post type showing same Post on all Pages
- Move Genesis Single Page/Single Post Title
- get parent content inside child posts
- Post loop count is not in order
- hide specific div on single.php [closed]
- Looping Through Categories of a CPT
- How do you output an unknown number of images in a custom post type with desired markup?
- display posts of custom post type with custom taxonomy
- Assign a template to a custom post type when displayed by the main loop on the home page
- How do I show a link or ‘Read More’ button on a custom field excerpt when it is less than the word limit
- Custom Post Type and Taxonomy Loop Output Is Wrong
- Why the_excerpt() function returns excerpt on the Home page and trimmed content in sidebar?
- The loop does not show users
- Displaying information from custom field on custom post type
- Display only a single CPT
- Control Loop Within Loop
- How to fetch posts that are stored in the different table than (default) wp_posts?
- Cant’ Display Custom Post Type Title Base on Tax Terms
- How can I add in post’s the text “No content”
- CPT archive page – show one post from each taxonomy term
- How do i display post from a taxonomy term?
- Custom loop request based on custom field
- If/Else child list for Custom Post Type single template within loop?
- Insert a Custom Post type into my Loop
- Custom Post Types Not Showing Up In query_posts Result
- Do I need a loop to display an object that attached to posts?
- “Order” doesn’t work in custom loop?
- CPT loop doesn’t seem to account for post date?
- How to display list of custom post taxonomy terms and their posts (if any)?
- Shortcode with loop stacks output
- Show custom post type event if current day using ACF
- How to create an IF statement in the Main Loop for Custom Post Types
- Custom meta fields not showing up in WP_Response Object via custom endpoint
- How to output and alert message when updating a post
- Wrapping an unknown amount of posts inside separate HTML Containers during WP_Query loop
- sorting in wp query based on custom field value
- Custom post Query and WordPress Post Query Clash
- Add active class to foundation 6 tabs while looping categories
- Custom post type loop without children
- How to display user-defined / custom post in wordpress?
- WordPress loop add heading before first of type
- Only show current category post
- How to make a shortcode for my WP_Query Loop? [duplicate]
- Looping through custom taxonomy in one template
- get_post_meta for Custom Post Type ( CPT )
- All custom posts are not showing up
- How to keep a CPT stick to specific position?
- Is it possible to add query parameters on the archive page?
- Custom post type archive pagination with HTML5Blank theme?
- How to create content automatically when a post is published?
- WordPress loop for multiple custom post types
- Pagination not working with custom loop
- Fallback if statement based on the number filtered from it
- Create custom post order (with custom post type meta)
- Pagination not working with custom loop
- Listing custom post type items from a couple of custom taxonomies
- Pagination not working with custom loop
- Noob Loop Question
- Custom Post Types and 404 Pages
- Catergory args causing loop not to show
- show custom post’s post in two different divs [duplicate]
- Limit wordpress posts loop to continue onto another page