WordPress.org

Ready to get started?Download WordPress

Forums

Events Manager
Highlighting some events on the front page (3 posts)

  1. NearlyNubile
    Member
    Posted 2 years ago #

    Hi. I quite like the look of the plugin.

    Question: We need to show our stuff in a slightly different form on the front page. Because this is a "custom post type", I don't know the code I need to use to show the fields. Could you please help?

    I want to show the 3 latest upcoming events on the home page. In pseudocode this can be represented like this:

    WHERE date > today
    order by date
    limit 3

    How should I do a wp_query() SQL like this?

    Thanks!

    http://wordpress.org/extend/plugins/events-manager/

  2. agelonwl
    Member
    Posted 2 years ago #

    you can use a shortcode [events_list] as stated here http://wp-events-plugin.com/documentation/shortcodes/ and use a search attribute e.g. order as stated here http://wp-events-plugin.com/documentation/event-search-attributes/ OR you can also use events widget

  3. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 2 years ago #

    You can use WP_Query, but there are shortcodes etc. that you can use too as stated by angelonwl.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic