Where is the Post Carousel organizing posts from?

I created several posts using a plugin called Sermon Manager. I am able to display these on the Post Carousel by changing the _post-carousel.php and using wpfc_sermon:

case 'most-commented' :
    $args = array(
      'post_type'      => 'wpfc_sermon',
//      'posts_per_page' => $count,
      'orderby'        => 'date',
      'order'          => 'DESC'
    );
    break;

What is interesting is that these sermons are displaying the Date Preached (image 1 & 3) in the Post Carousel, but they are not ordering by Published by Date (image 2).

I have other sermons in the Post Carousel that are older that other sermons I have created. (image 4).

Is this normal?

Image 1

Image 2

Image 3

Image 4

Hi Jason,

Thank you for writing in, regretfully, we cannot provide support for third party plugins or scripts as our support policy in the sidebar states due to the fact that there is simply no way to account for all of the potential variables at play when using another developer’s plugin or script. Because of this, any questions you have regarding setup, integration, or troubleshooting any piece of functionality that is not native to X will need to be directed to the original developer.

Thank you for your understanding.

I wish you guys wouldn’t give a canned response when you see the word “plugin.” I’m not asking about the plugin, I’m merely using it as a reference. The question is: Where is the Post Carousel organizing posts from?

Hi Jason,

It still best to contact the plugin author, the query arguments used for the post carousel is pretty standard https://codex.wordpress.org/Class_Reference/WP_Query and it works regardless of the post type. And the theme only displays the result of the query.

But what I’m not sure is how your plugin handles the date, or if there is any global query that alters it. Example, the date preached, I’m not sure if its post_date field or something else, and maybe it’s the one causing the conflict. I recommend contacting the plugin author since the query from that template are correct.

Thanks!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.