Forum Replies Created
-
AuthorPosts
-
Jonah
ParticipantHi bmhcc,
This sounds like a problem with your installation of WordPress and not something related to our plugin. You will need to troubleshoot being able to edit your site URL and gaining access to WordPress yourself. Good luck!
– Jonah
Jonah
ParticipantHi barrelny, the best way would be to use http://codex.wordpress.org/Function_Reference/wp_dequeue_script
Here’s an example:
function remove_styles() {
if( tribe_is_month() && !is_tax() ) { // The Main Calendar Page
wp_dequeue_style( 'tribe_events-admin-ui' );
wp_dequeue_style( 'tribe-events-mini-calendar' );
wp_dequeue_style( 'tribe-events-calendar-style' );
}
}
add_action('wp_print_styles','remove_styles',1);function remove_scripts() {
if( tribe_is_month() && !is_tax() ) { // The Main Calendar Page
wp_dequeue_script( ‘tribe-events-calendar-script’ );
wp_dequeue_script( ‘tribe-events-pjax’ );
wp_dequeue_script( ‘tribe-events-mini-calendar’ );
wp_dequeue_script( ‘jquery-ecp-plugins’ );
wp_dequeue_script( ‘chosen-jquery’ );
wp_dequeue_script( ‘tribe_events-admin’ );
}
}
add_action(‘wp_print_scripts’,’remove_scripts’,1);Does that help?
April 22, 2013 at 8:33 am in reply to: Display Current Month Title Being Viewed in Calendar Grid View #46513Jonah
ParticipantHi likemindsdesigns,
Thanks for posting your solution. Sorry about our code posting troubles, I suggest posting to code to http://snippi.com/ and then sharing the link here.
Regards,
JonahJonah
ParticipantHi Mark,
It looks like you theme might be loading jQuery instead of letting WordPress do it, which can cause some conflicts with plugins like ours. Please contact your theme author and ask them how to disable the loading of jQuery via the theme (or if you can figure it out great!). Typically this will be in the functions.php file.
I hope that helps!
Jonah
ParticipantHi Harold,
Glad you got it figured out. If there’s anything else you need, please let us know.
– Jonah
Jonah
ParticipantHi Max,
Aha! Yes, APM was included in the plugin at one point so as not to have to be downloaded separately. It is still a separate plugin, but obviously causes some conflicts when used together with our plugin.
So are you all set here then?
April 19, 2013 at 1:13 pm in reply to: Problem with Calendar – Pre Sales Question for WooTickets #46381Jonah
Participant@conwin, I’m already helping you out with this over here: https://theeventscalendar.com/support/forums/topic/events-calendar-not-showing-2/
I’m closing this thread out and let’s please continue the conversation in the other thread.
Cheers,
JonahJonah
ParticipantHi Conwin,
Ok, you’re going to need to change a few things and some of this you’ll need to do on your own but this should get you started:
1. Make a copy of /wp-content/plugins/the-events-calendar/views/ecp-single-template.php and place in an ‘events’ folder in your theme.
2. Add the following before line 18: http://snippi.com/s/351a5fa and then two closing div tags after line 28.
3. Remove the get_sidebar() call on line 29.
That should do it unless you want a sidebar on single events. In that case keep the get_sidebar() call and then modify the markup/CSS to use your theme’s sidebar layout code instead.
I hope that helps!
– Jonah
Jonah
ParticipantHi Gordon,
I don’t see the PHP include in your page.php – have you tried adding it?
April 19, 2013 at 12:58 pm in reply to: Display Current Month Title Being Viewed in Calendar Grid View #46374Jonah
ParticipantHi likemindsdesigns,
You should be able to accomplish this by using the following in your /wp-content/plugins/the-events-calendar/views/gridview.php file. Make sure to make a copy and place in an ‘events’ folder before you make changes. I added this to line 22 and it works for me: http://snippi.com/s/9qmtppj
Does that help?
Jonah
ParticipantHi Max,
It looks like it could be a theme, theme code or plugin conflict that’s causing this. Have you tried deactivating all other plugins or switching to default WordPress theme? Please try that and let me now if that helps.
Jonah
ParticipantHi Conwin,
Some themes for whatever reason have a hard time working with some of their templates and we can’t provide specific support for integration with each theme. So, you’ll need to use the Default Events Template and then modify things (CSS/PHP) to get things working for you. If you can switch to that template and then share a link here, I can take a look and see if I can give you some suggestions for cleaning things up.
Cheers,
JonahJonah
ParticipantHi Gordon,
Your code would only work if the page you we’re trying to include the calendar has the slug of ‘calendar’ – that’s how the conditional statement works. If you want to paste code or your page.php file, please post to http://snippi.com/ first and then paste the link to share here.
Jonah
ParticipantHi taylorcouty,
You can fix this by adding the following to your theme’s style.css file:
#tribe-events-event-meta dt {
margin: 0;
}
Let me know whether or not that helps.Jonah
ParticipantHi Christina,
Strange, it’s not working right for me either. I wonder if something with our plugin or WordPress changed that affected this. At any rate, I’ve updated the code and this should work:
add_action( 'pre_get_posts', 'exclude_events_category' );
function exclude_events_category( $query ) {
if ( tribe_is_event() && !tribe_is_day() && !is_single() && !is_tax() && !tribe_is_month() ) {
$query->set( 'tax_query', array(
array(
'taxonomy' => TribeEvents::TAXONOMY,
'field' => 'slug',
'terms' => array('2012'),
'operator' => 'NOT IN'
)
)
);
}
return $query;
}
Does that work for you? -
AuthorPosts
