Forum Replies Created
-
AuthorPosts
-
September 17, 2013 at 2:54 am in reply to: Calendar Page fine, but Event category pages always display as List #66281
Roberto
ParticipantI searched deep in core, it seems that is a rewrite url problem.
Check the file lib\the-events-calendar.class.php, public function filterRewriteRules, line 2334:
– – – –
$newRules[$baseTax . ‘([^/]+)$’] = ‘index.php?post_type=’ . self::POSTTYPE . ‘&eventDisplay=upcoming&tribe_events_cat=’ . $wp_rewrite->preg_index(2);
– – – –Comment that line, go to /wp-admin/options-permalink.php in order to reset the permalink structure (you don’t need to save in that page, just go there).
Now the events category will open in grid.
Roberto
Participant@Julien, can you post your functions.php content?
And a list of your active plugins, please.I thing that something is wrong with one of them.
Roberto
Participant@Sara, i had the same problem, check this post, maybe it will be useful: https://theeventscalendar.com/support/forums/topic/something-strange-when-i-click-my-events-base-url
Roberto
ParticipantYes Krysia, same events folder. You have just to check that some class names are changed 😉
Roberto
ParticipantHey guys (and i hope girls too 😀 ) check this post: https://theeventscalendar.com/support/forums/topic/something-strange-when-i-click-my-events-base-url/, @julien maybe are you using a function to list posts toghether with events?
If so, maybe is that function the problem…November 10, 2011 at 11:45 am in reply to: Something strange when i click my events base url …. #10916Roberto
ParticipantHey!!! 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….
November 10, 2011 at 11:38 am in reply to: Something strange when i click my events base url …. #10915Roberto
ParticipantI 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? 🙂
November 10, 2011 at 10:41 am in reply to: Something strange when i click my events base url …. #10910Roberto
ParticipantI forgot to say that i am using the events advanced widget from PRO.
Roberto
ParticipantHello to all.
Check the table.php file, in the middle you will find this line:$return .= tribe_get_linked_day($date, $day); // premium
it only “works” with PRO version. Well… not correctly work…(404).
Roberto
ParticipantSorry for the local link, but it was’nt my intention to link it 🙂 I have pasted it just to show what is the url i get when i click on calendar numbers.
TEC version 2.0.1, permalink page refreshed ( http:/…/2011/11/10/sample-post/ ||| /%year%/%monthnum%/%day%/%postname%/), but… i get always 404…
Roberto
ParticipantI sent the email to [email protected].
Shane answered me.Roberto
ParticipantSent 🙂
Roberto
ParticipantGreat, Rob!
I will send the ita po file in a few days (for now it will be 50% completed. I have translated the most useful strings).Roberto
Participanthi Steve, i thing that you should create a custom menu link inside the nav menu page, using the link with the month you need (example http://www.lorem/events/2011-12).
Roberto
ParticipantHi john, are you using some SEO plugin?
-
AuthorPosts
