Home › Forums › Calendar Products › Events Calendar PRO › Problem with Post Slider and Events Calendar Pro
- This topic has 13 replies, 7 voices, and was last updated 8 years, 10 months ago by Support Droid.
-
AuthorPosts
-
November 11, 2013 at 9:58 pm #75734cindylukenParticipant
I’ve installed Events Calendar Pro on my site using a Kriesi Enfold theme.
It has been working fine but after installing latest update, I am now having a problem with the post slider on the site and it looks to be a conflict with the EC Pro plugin.
The pages with problems are:
a) this page is not displaying the recipes http://lukbeautifood.com/food/recipes/by-ingredient/
b) this page is not showing all of the recipes – just 3. Used to show all category recipes using the theme’s slider, set up all looks fine. http://lukbeautifood.com/food/recipes/by-dish/We have tested the plugin with the latest version of the theme without any customisation and the problem still exists.
The post slider is the theme’s default and has not been customised.
Any ideas?
November 12, 2013 at 5:23 pm #75976KellyParticipantHi, cindyluken. Thanks for getting in touch about this.
We have had several reports of this behavior since the launch of 3.2 and are actively working on a solution. We’ll let you know as soon as we have something for you to try.
Thanks for your patience!
November 13, 2013 at 12:09 am #76160ChrisParticipantWe’re still working on this one. Thanks for your patience.
-Chris
November 13, 2013 at 4:04 pm #76345KellyParticipantHi, cindyluken. Thanks for your patience!
This appears to be a bug that shipped with our 3.2 release. As a first step, would you mind trying to resolve this by dropping this snippet into your theme’s functions.php file: https://gist.github.com/jazbek/7442734 (You’ll probably need to remove the opening PHP tag.)
Let us know if that does the trick! 🙂
November 14, 2013 at 8:14 pm #76571wmglennosborneParticipantI’m using the Method Theme from Viva Themes on wmglennosborne.com. I inserted the code snippet into my theme’s function.php file, but the slider still does not function. I either have a slider or an event calendar. 🙁
What else can or should I do?
November 17, 2013 at 4:05 pm #76891cindylukenParticipantHi Kelly,
We added the fix you mentioned and it partly resolved the problem for (a) below but not (b). Now it has broken again and we are not getting any image feeds for either of these pages.
a) this page is not displaying the recipes http://lukbeautifood.com/food/recipes/by-ingredient/
b) this page is not showing all of the recipes – just 3. Used to show all category recipes using the theme’s slider, set up all looks fine. http://lukbeautifood.com/food/recipes/by-dish/Can you please look into this again and advise. Thanks
November 17, 2013 at 10:32 pm #76906cindylukenParticipantHi again,
Looks like my clever developer has been able to fix both of the problems a) & b). Here’s his fix in case it helps others:
Here’s the code:
add_action( ‘parse_query’, ‘tribe_fix_tag_query’ );
function tribe_fix_tag_query( $query ) {
if ( $query->is_tag && (array) $query->get( ‘post_type’ ) != array( TribeEvents::POSTTYPE ) ) {
if ( empty( $query->query_vars[‘post_type’] ) || (‘any’ == $query->query_vars[‘post_type’]) ) {
$query->query_vars[‘post_type’] = array( ‘post’ );
}
}
}
I had added the code to check for post type that is ‘any’ instead of just ’empty’Thanks
November 18, 2013 at 2:37 pm #77043ChrisParticipantHey guys,
Thanks for the updated code.We’ve got a fix for this in the next release.
-Chris
November 19, 2013 at 10:03 am #77451sdepParticipantI had same problem with Slider. Using 3.1 until next release. When will the new release be available?
Thanks!November 19, 2013 at 10:25 am #77453KellyParticipantHi, sdep. Have you had a chance to check out the snippet that we’ve revised: https://gist.github.com/chriscct7/7535056
It’s worth giving it a go with 3.2 as the same thing will be in the next release. If it doesn’t work, please give us feedback ASAP so we can get to the bottom of it before code freeze. Otherwise you’re in for a long wait until it can be addressed in a subsequent release.
Thanks! 🙂
November 19, 2013 at 8:03 pm #77555sdepParticipantJust added the code and all works! Will I have to add this same code next update?
Thanks!November 20, 2013 at 12:46 am #77569AshleyParticipantHi there
Glad to hear that a fix has been found since Monday. Just wondering if you can indicate when the next release is out, we are also experiencing issues with the posts slider that comes with the magazine template in Woo Canvas. The slider breaks if TEC 3.2 is active
Kind regards
IggiNovember 20, 2013 at 6:32 am #77606KellyParticipantThat’s great news, sdep. The fix will be included in the next release, so at that time, you should remove the snippet from your functions.php. Good question!
Hi, Ashley. We’ve had 100% success for people’s sliders using the snippet posted on this thread. If you are saying that your slider is still broken after putting the coding in your theme’s functions.php, please start a new thread so that we can help you troubleshoot.
Thanks! 🙂
July 7, 2015 at 6:29 am #982253Support DroidKeymasterThis topic has not been active for quite some time and will now be closed.
If you still need assistance please simply open a new topic (linking to this one if necessary)
and one of the team will be only too happy to help. -
AuthorPosts
- The topic ‘Problem with Post Slider and Events Calendar Pro’ is closed to new replies.