Support » Plugin: The Events Calendar » Regionalize Events

  • Hello, I am traying to make the calendar only display events for a particular region, which is set in the session variable.

    I created a template page which uses the calendar plug in.

    I put this code at the top of the template page:

    $region = $_SESSION['region'];
    			global $wpdb;
    			global $query_string;

    The above works, but when I add the query_posts function (last line of code above), it affects the output and shows the_content as plain text list of events instead of the calendar. In other words, the output is overwritten by the query_posts plug in.

    Any idea what I am doing wrong?

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Regionalize Events’ is closed to new replies.