• Resolved samuelk1986

    (@samuelk1986)


    I am using All In One Event calendar plugin, I want to show Upcoming events in one page with custom query instead of shortcodes. As I am having my custom structure for display events.

    I am trying with below code but not not working for me. Please help me our here.

    $args = array(
    ‘posts_per_page’ => 4,
    ‘paged’ => get_query_var(‘paged’),
    ‘post_type’=> ‘ai1ec_event’,
    ‘orderby’ => ‘post__in’
    );
    $eventquery = new WP_Query($args);

Viewing 1 replies (of 1 total)
  • @samuelk1986:

    I can’t help you with custom programming requests nor can I guarantee that what you are doing will work. Your have 3 options to display your calendar:

    1. Using the shortcode under Events > Settings > Advanced > Shortcodes
    2. Using the setting “Calendar Page” under Events > Settings >
    3. You can use the Superwidget addon from this page:
    https://time.ly/wordpress-calendar-plugin/addons/

    It will appear as Widget Creator in your calendar, it allows for selecting filters, number of events, etc..

Viewing 1 replies (of 1 total)
  • The topic ‘Upcoming events without show-code with custom query’ is closed to new replies.