k4er

Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • in reply to: Custom Search #3551

    k4er
    Participant

    Adding ‘echo’ finally got it to work.

    <?php echo my_search_form(); ?>

     

    KEF

     

    in reply to: Fancybox filter #3539

    k4er
    Participant

    Resolved!

    Easy-Fancybox has a setting that allows exclusion of images without thumbnails. That worked.

     

    in reply to: superfish parent menu items link to pages #2970

    k4er
    Participant

    Yes, thank you so much, that did it!

    I also needed to dis-enqueue the 1.5.7 version of superfish.js I had downloaded from http://users.tpg.com.au/j_birch/plugins/superfish/ . I’m not sure why but I’m glad it works.

    Is the following function correct or should I save and load it as a javascript file?

    
    function my_in_head(){ ?>
    
    <em id="__mceDel">// initialise Superfish
    <script type="text/javascript">// <![CDATA[
    </em>
    
    jQuery.noConflict();
     jQuery(document).ready(function($) { //tells WP to recognize the $ variable
    
    //paste your jquery code here
     $("ul.sf-navbar")
     .find('li.current_page_item,li.current_page_parent,li.current_page_ancestor')
     .addClass('current') // WP fix : Enables showing of subapage nav when on one
     .end()
    }) //end document ready functions
    
    // ]]></script>
    
    <!--?php }<br ?-->add_action(&#8216;wp_head&#8217;, &#8216;my_in_head&#8217;);
    
    

    Thanks!

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