Home Forums Mu Theme Discussion & Support Using Custom Post Types in Carousel

This topic is: resolved

This topic contains 1 reply, has 2 voices, and was last updated by  themeweaver 4 years, 8 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #2550

    Steven Grant
    Member
    Post count: 2

    I’m trying to use posts from a custom post type I created in the carousel slider. They don’t seem to want to appear in the slider. Could you point me in the right direction to correct this?

    The CPT are for events created with the Event Espresso plugin.

    #2551

    themeweaver
    Keymaster
    Post count: 730

    Custom Post Types don’t get included in normal WP post queries. The code for the carousel in carousel.php uses posts and standard WP queries.

    You would need to customise this to pull an alternative post type or do something clever with custom queries. And then since every Custom Post Type is different, how the content is displayed in the carousel may also need some work.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.