Forum Replies Created
-
AuthorPosts
-
February 3, 2014 at 1:04 pm in reply to: Events Calendar not showing Month View for February #100099
Greg
ParticipantIt has been fixed. Thank you!
Greg
ParticipantThank you. I’ll keep this in mind. The client is now thinking they want to revert to using regular pdfs they create on their own, and dropping the plugin completely, so it may be a mute point.
Greg
ParticipantOk so I found some code in my functions.php file that was causing the issue. I don’t remember adding this but I’m sure I did. I know at some point I was given custom code by your support team to add. I can’t remember why we added it. Is there any way for me to view all of my past support threads? I can’t seem to find that option anywhere. Here is the code…maybe you can enlighten me?
add_filter(‘tribe_get_events_title’, ‘my_get_events_title’);
function my_get_events_title($title) {
if( tribe_is_month() && !is_tax() ) { // The Main Calendar Page
return ‘Events Calendar’;
} elseif( tribe_is_month() && is_tax() ) { // Calendar Category Pages
return ‘Events Calendar’ . ‘ » ‘ . single_term_title(”, false);
} elseif( tribe_is_event() && !tribe_is_day() && !is_single() ) { // The Main Events List
return ‘Events List’;
} elseif( tribe_is_event() && is_single() ) { // Single Events
return get_the_title();
//} elseif( tribe_is_day() ) { // Single Event Days
//return ‘Events on: ‘ . date(‘F j, Y’, strtotime($wp_query->query_vars[‘eventDate’]));
} elseif( tribe_is_venue() ) { // Single Venues
return $title;
} else {
return $title;
}
}
add_action( ‘pre_get_posts’, ‘tribe_fix_title’ );
function tribe_fix_title( $query ) {
if ( $query->is_main_query() ) {
if ( ! $query->tribe_is_event_query ) {
$tec = TribeEvents::instance();
remove_filter( ‘wp_title’, array( $tec, ‘maybeAddEventTitle’ ), 10, 2 );
}
}
}Greg
ParticipantHi there,
I apologize, I am taking over for someone else who was managing our support account. The client is still seeing the issue with “Events on: January 1, 1970” on all single day views. For example, take a look at:
http://www.mvmansionhouse.com/health-club-schedule/2016-10-02/. When I switch the theme to twentythirteen the problem goes away and the correct date displays. I’m using the default page template for the events template. I’ve tried switching to the default events template and the problem is still there. I’ve tried deactivating all plugins and the problem is there. Only when I have my normal theme activated, I get this error within the plugin admin and on the editing screen for individual events:Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback,
‘tdav_css’ was given in /usr/home/web/mvmansionhouse.com/wp-includes/plugin.php on line 173
Any way you can give me some insight here on what to check in my theme? The theme was built a few years ago as a copy (not a child – I know that’s bad) of twentyten. I stripped down page.php to the bare bones and that still didn’t help. I can’t figure out what the heck could be affecting it, so frustrating!
Greg
Participanthttp://www.mvmansionhouse.com/health-club-schedule/
We got the Jan 1st to stop appearing because we decided that all of the events per day should be displayed on the month view, and the button that was displaying that date is null now. To do that we just allowed more slots than events to be displayed. I could try and deactivate plugins and switch themes, but I would rather do that as more of a last resort since we decided that showing all the events was not only a work around for our main problem but displays our events properly.June 13, 2013 at 3:07 pm in reply to: Calendar Title shows the title of an event. FAQ and other threads not helping #51288Greg
ParticipantWell, I switched plugins…and the same thing happened WordPress SEO installed. However, your snippet seemed to do the trick. I’m not sure I understand how it’s not “hacking my header”, but if it works, that’s what matters! Thank you!
June 12, 2013 at 3:17 pm in reply to: Calendar Title shows the title of an event. FAQ and other threads not helping #51216Greg
ParticipantYup, seems to be All in One SEO Pack. Do you have any tips for getting around that? If not, I guess I will try WordPress SEO by Yoast and see what happens.
June 12, 2013 at 11:36 am in reply to: Calendar Title shows the title of an event. FAQ and other threads not helping #51191Greg
ParticipantI am talking about the title tag in the head section of the html – http://snippi.com/s/hn18uts
June 12, 2013 at 11:35 am in reply to: Calendar Title shows the title of an event. FAQ and other threads not helping #51190Greg
ParticipantHi Jonah. Thanks, but no, we didn’t. Your screenshot doesn’t show the browser tab – that’s what I need changed. I am talking about the – not the page title/h1 tag.
June 11, 2013 at 12:00 pm in reply to: Calendar Title shows the title of an event. FAQ and other threads not helping #51066Greg
ParticipantSure, here is the link to the calendar: http://www.mvmansionhouse.com/health-club-schedule/. Header.php: http://snippi.com/s/8ur5vaz. Page: http://snippi.com/s/wcry5ia.
Greg
ParticipantSorry, found the answer to my second question. But would still like to know the anticipated release date for 3.0…thanks!
Greg
ParticipantThanks so much Jonah. When do you think 3.0 will be released?
One more question – is there a way to set the calendar to display SMTWThFS instead of MTWThFSS (Sunday first instead of Monday)?
January 21, 2013 at 9:38 am in reply to: Still having trouble with adding content above calendar #31265Greg
ParticipantSo I did that, and now my calendar moved over to the left and some random text appeared below the calendar. The text I added via the options add-on is still not appearing above the calendar.
January 21, 2013 at 9:27 am in reply to: Still having trouble with adding content above calendar #31260Greg
ParticipantThanks for being patient with me 🙂
Here’s my code. http://snippi.com/s/2rcpta0
As I mentioned above, the text displays, but the option I added does not. This is what happened when I tried to add a shortcode, as well as the template code from the Improved Include Plugin. This leads me to believe it’s not a problem with the ACF plugin, but I’m not sure I have the template code right for ACF either. Can you please help?January 17, 2013 at 4:10 pm in reply to: Still having trouble with adding content above calendar #31078Greg
Participantthe_field($calendar_text, ‘option’);
-
AuthorPosts
