Pamela

Forum Replies Created

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • in reply to: Need help identifying jQuery conflict in my theme #942560
    Pamela
    Participant

    Problem calendar is here – http://ilaacp.org/dup/events-calendar/. Problem persists in twenty-eleven theme and with all other plugins deactivated.

    in reply to: Need help identifying jQuery conflict in my theme #942559
    Pamela
    Participant

    If 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.
    Pamela

    in reply to: Need help identifying jQuery conflict in my theme #942056
    Pamela
    Participant

    Barry, thanks so much. That is exactly the little hinting that I needed. I won’t hold you responsible! Backing up now….:)
    Thanks,
    Pamela

    in reply to: Need help identifying jQuery conflict in my theme #941914
    Pamela
    Participant
    in reply to: Need help identifying jQuery conflict in my theme #941912
    Pamela
    Participant

    That link to the problem calendar didn’t work. It is here .

    in reply to: featured image conflict with woo commerce #939317
    Pamela
    Participant

    So, 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,
    Pamela

    in reply to: featured image conflict with woo commerce #939315
    Pamela
    Participant

    OK, 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.

    in reply to: featured image conflict with woo commerce #939120
    Pamela
    Participant
    in reply to: featured image conflict with woo commerce #939119
    Pamela
    Participant

    Thanks 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.screenshot

    in reply to: featured image conflict with woo commerce #938930
    Pamela
    Participant

    OK, 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');
    
Viewing 10 posts - 1 through 10 (of 10 total)