• Hi,

    I use the?Virtue Theme?and the following shortcode to display Posts?and?current QEM Events on my web page: [kad_blog orderby=date items=4 fullpost=false cat=current].

    Problem: QEM Events are triggered when they are created and not when they occur (even if I have checked the box “the publication date is the same as the event date” in QEM Setting). This means that Posts and QEM Events end up in the wrong order with your shortcode.

    Where does the error occur?

    Thank you,

    //?sa

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hello @snaaran

    The shortcode [kad_blog] has the following options:

    • orderby => menu_order, rand, title and date
    • order => DESC and ASC
    • items => (a number of how many items to show ex: 8)
    • fullpost => true or false
    • offset => (a number of how many items to skip)
    • cat => (category term slug)

    A full example:

    [kad_blog orderby=date items=4 fullpost=false cat=photos]

    The shortcode cannot “orderby” a custom field that is created by the QEM plugin to store the event date. The shortcode can only access the date of the post publication and display the posts in descending or ascending order. Therefore, the publication dates need to be in order of the event dates for the order to be correct.

    Alternatively, if the QEM Event post types let you set a menu order, you can use “menu_order” instead of “date” for the “orderby” option. Please let us know if this information helps you or if you have additional questions.

    michael-levelup

    (@michaeltarongoy)

    Hi there,

    We just want to follow-up if you managed to resolve this already.

    This topic has been inactive for more than a month.

    If you have further questions or need additional assistance, feel free to start a new topic or refer to our Kadence Help Center here: https://www.kadencewp.com/help-center

    Please note that you can also submit a support ticket via these channels.

    Thank you for your understanding!
     
    Kind Regards,
    Michael Taro

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.