Something strange when i click my events base url ….

Home Forums Calendar Products Events Calendar PRO Something strange when i click my events base url ….

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #10909
    Roberto
    Participant

    Hi, check this screenshot: http://dl.dropbox.com/u/5037972/screenshots/screen111110-192511.png.
    When i click the events URL it is not open in grid view but in list mode…
    This is different with event categories… i have added two of them in my menu and they opened correctly in gridview mode (http://dl.dropbox.com/u/5037972/screenshots/screen111110-192648.png).

    What’s wrong? I forgot some steps to do?

    #10910
    Roberto
    Participant

    I forgot to say that i am using the events advanced widget from PRO.

    #10915
    Roberto
    Participant

    I found the problem….oh man!!!!!!!!

    I have added this in my functions.php in order to list events with posts:


    function rcwd_include_events_on_home($query){
    if (is_home() && false == @$query->query_vars['suppress_filters']){
    $query->set('post_type', array( 'post', 'tribe_events'));
    }
    return $query;
    }
    add_filter('pre_get_posts', 'rcwd_include_events_on_home');

    This cause my problem…. but i need each of those 2 things!!!

    Solutions from the deep? 🙂

    #10916
    Roberto
    Participant

    Hey!!! Removing that function has resolved for me also this question: https://theeventscalendar.com/support/forums/topic/link-in-a-day-calendar-view/

    Now the numbers of the days open correctly pages whare are displayed specific events of the requested day…

    This resolved for me another problem i have not posted yet… the “show all events” link of the widget.

    Cavolo….

    #10945
    Rob
    Keymaster

    Oh, nice — glad to hear the issue with the single view wasn’t a bug in the code (figured it wasn’t since I was unable to recreate). You seem to be rocking it here. Thanks again for all your help.

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Something strange when i click my events base url ….’ is closed to new replies.