jstuartj

Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • in reply to: SuperFish broken with JQuery 1.9+ #12759

    jstuartj
    Participant
    Post count: 15

    Looks like something is changing single quotes to curly quote when I copy and pasted to the form… to my editor, you might check that, it happened in WeBuilder 2014 but note Notepad++. Let me try again in code tags maybe that will help.

    Is there a way to edit posts? I would like to fix the above but I’m not finding away.

    [php]add_action(‘wp_enqueue_scripts’, ‘bugfix_add_jquery_migrate’);
    function bugfix_add_jquery_migrate() {
    if (!is_admin()) {
    wp_register_script( ‘jquery-migrate’, get_stylesheet_directory_uri() . ‘/js/jquery-migrate-1.0.0.min.js’,array(‘jquery’));
    wp_enqueue_script( ‘jquery-migrate’);
    }
    }
    [/php]

    in reply to: CSS Fancy Dropdowns stopped working #12589

    jstuartj
    Participant
    Post count: 15

    It appears something in your theme or a plug-in  is en-queuing  jQuery 1.9 – which no-longer supports  $. browser, so the superfish.js fails and breaks fancy menus.  An explanation and how I fixed my problem is here.

    http://www.studiopress.com/forums/topic/superfish-broken-with-jquery-1-9

    If you check with Chrome dev-tools you’ll see an error triggers on superfish.js , then check the  resources tab and see what version of  jQuery is used if it’s  1.9+ you will likly need to add the new jQuery Migrate plugin to your theme or stop using whatever plug-in is triggering the latest version of jQuery to enqueue.

    in reply to: Genensis 1.9 Upgrade Problems #10251

    jstuartj
    Participant
    Post count: 15

    I appear to be  have a similar issue, only it’s a page with a custom page template – where I have the grid  loop pulling posts from a category using “category_name”. It worked in 1.8, but now  I get just the standard loop.  the if (( genesis_grid_loop is))  as resolving as true, and my echo executes.

    I am also seeing problem with the_content(), I’m calling it at the top of the page template. I had to use   $myHome = get_page($post_id);    and $myHome->post_content; instead.

    Here is what I’m using for my  grid loop, which no longer works under 1.0
    remove_action( ‘genesis_loop’, ‘genesis_do_loop’);
    add_action( ‘genesis_loop’, ‘child_grid_loop_helper’);
    if ( function_exists( ‘genesis_grid_loop’ ) ) {
    echo ‘<h2′>Test Content</h2>’;
    genesis_grid_loop( array(
    ‘features’ => 1,
    ‘feature_image_size’ => 0,
    ‘feature_image_class’ => ‘aligncenter post-image’,
    ‘feature_content_limit’ => 0,
    ‘grid_image_size’ => ‘grid’,
    ‘grid_image_class’ => ‘alignleft post-image’,
    ‘grid_content_limit’ => 100,
    ‘more’ => __( ‘Continue reading…’, ‘genesis’ ),
    ‘posts_per_page’ => 3,
    ‘category_name’ => ‘parent-category-iii’,
    ) );
    } else {
    genesis_standard_loop();
    }

Viewing 3 posts - 1 through 3 (of 3 total)