Help Desk

Something strange when i click my events base url ….

  • Posts: 24 Topics: 5 Answers: 3
    | Permalink

    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?

    Posts: 24 Topics: 5 Answers: 3
    | Permalink

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

    Posts: 24 Topics: 5 Answers: 3
    | Permalink

    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? 🙂

    Posts: 24 Topics: 5 Answers: 3
    | Permalink

    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….

    Posts: 4278 Topics: 105 Answers: 467
    | Permalink

    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.