• I have had a good gander through the support but cannot find anything to match this yet.

    I have the Time.ly calendar installed, which uses custom post types for events. I also post up non-event news as standard posts.

    On the “News & Events” page, I understandably want to display News Posts, and events posts. In all other areas of my site, I can display them separately, but I really need them together.

    I want to display (in ‘most recent’ order) the events (post type ai1ec_event) and standard posts tagged as “event”.

    I managed to get the ai1ec_event posts displaying correctly, but have lost everything when I tried to add in the standard posts. Could someone help me correct the shortcode below?

    [display-posts post_type="post" tag="news,blog,event" tax_relation="and" post_type="ai1ec_event" posts_per_page="5" image_size="thumbnail" include_excerpt="true" wrapper="div"]

    I am sure I must just be missing some small thing, but I cannot work it out. Have tried variations such as using “or” in tax_relation, but to no avail. I either get ai1ec_event posts only, or nothing!
    Please note, I cannot update wordpress yet, as the theme is still udner construction and we need to make sur ethe update doesn’t smoosh our progress. Any responses we can get soon would be great as site launches officially soon!

    • This topic was modified 9 years, 8 months ago by kvetkaro.
Viewing 1 replies (of 1 total)
  • Thread Starter kvetkaro

    (@kvetkaro)

    I don’t know now if this is in the right place as have received no responses. If anyone could advise me that’d be great and I’ll move the post.

Viewing 1 replies (of 1 total)

The topic ‘Shortcodes – Displaying Custom AND Standard Posts’ is closed to new replies.