Forum Replies Created
-
AuthorPosts
-
Pamela
ParticipantProblem calendar is here – http://ilaacp.org/dup/events-calendar/. Problem persists in twenty-eleven theme and with all other plugins deactivated.
Pamela
ParticipantIf you have to come back with “so sorry…” I will understand. But if you can point me anywhere in regards to this error – “uncaught exception: TemplateError: TypeError: imageTooltipSrc is null (on tribe_tmpl_tooltip line 11)” – it will be appreciated.
On my month view pop-ups, some of the events pop up, but most do not. when they don’t show up, they throw the error above.
I have removed any jquery conflict that I can see and I have removed the theme’s custom post-type for events. The events in the calendar were imported from another working Events Calendar calendar, if that matters.
Thanks for any quick insight.
PamelaFebruary 12, 2015 at 10:51 am in reply to: Need help identifying jQuery conflict in my theme #942056Pamela
ParticipantBarry, thanks so much. That is exactly the little hinting that I needed. I won’t hold you responsible! Backing up now….:)
Thanks,
PamelaPamela
ParticipantWell, what the heck….http://ilaacp.org/dup/events-calendar/
Pamela
ParticipantPamela
ParticipantSo, the UDesign theme comes packaged with WPBakery Visual Composer plugin, but I am not using it on this site.
But if I activate it, the featured image option becomes available in Add New Events admin for The Events Calendar.
Weird.
Resolved, but weird.
Thanks,
PamelaPamela
ParticipantOK, I don’t know where all that garbage came from in my earlier code, but I did successfully place your snippet after line 9.
add_theme_support( 'post-thumbnails', array( 'post', 'tribe_events' ) );
Unfortunately, it didn’t fix the conflict.
If you can think of anything else, that will be great. I will also keep trying to figure it out.
Thanks.Pamela
ParticipantPamela
ParticipantThanks for the response.
If I wasn’t under such a deadline, I would go read a book on php.
That snippet is erroring out in a validator. screenshot attached.
Pamela
ParticipantOK, on further diagnosis, the conflict is with the combination of uDesign & woocommerce. I have tried to use this fix in child theme functions.php:
// Add support for post featured image. To add this feature to other post types, add those new types to the array, e.g. array( 'post', 'page', 'movies' ) if ( function_exists( 'add_theme_support' ) ) { add_theme_support( 'post-thumbnails', array( 'post', 'page', 'movie', 'product', 'tribe_events' ) ); add_theme_support('post-thumbnail', array('post', 'tribe_events')); ?>But every time I try to add it, I’m breaking the functions.php (real hacker in php). I’m showing the entire functions.php here in hopes that you will recognize
-
where to put that code if it is right, and
-
if the necessary post types for events calendar are included in the array
-
or any other issues or fixes.
Thanks much,
Pamela<?php /** * @package WordPress * @subpackage U-Design */ if ( !defined( 'ABSPATH' ) ) exit; // Exit if accessed directly /**** BEGIN ADDING YOUR CODE BELOW: ****/ // Add support for post featured image. To add this feature to other post types, add those new types to the array, e.g. array( 'post', 'page', 'movies' ) /**** redirect logo image ****/ function run_after_parent_theme_setup() { function modify_top_elements_logo( $is_front_page ) { ob_start(); ?> <div id="logo" class="grid_14"> <?php if( $is_front_page ) : ?> <h1><a title="<?php bloginfo('name'); ?>" class="pngfix" href="http://ilaacp.org"><?php bloginfo('name'); ?></a></h1> <?php else : ?> <div class="site-name"><a title="<?php bloginfo('name'); ?>" class="pngfix" href="http://ilaacp.org"><?php bloginfo('name'); ?></a></div> <?php endif; ?> </div> <?php $logo_html = ob_get_clean(); echo apply_filters( 'udesign_get_logo', $logo_html ); } // remove the original declaration of 'udesign_top_elements_inside' from the parent theme: remove_action('udesign_top_elements_inside', 'udesign_top_elements_logo', 9); // call our new function 'udesign_top_elements_inside' we declared above: add_action('udesign_top_elements_inside', 'modify_top_elements_logo', 9); } add_action('after_setup_theme', 'run_after_parent_theme_setup'); -
AuthorPosts
