jQuery cycle thumbnails?

I use the jQuery cycle on the home page of http://getwellgabby.org/. You can inspect the elements to see what’s going on with CSS here. For the PHP, I wrote a custom home page template as part of a child theme based on TwentyTen. There are two loops in the page: One that gets the static … Read more

Carousel Hover Image

I figured it out!! I added this piece of jQuery: <script type=”text/javascript”> <!– $(function() { jQuery(“.photos a”).hover(function() { var offset = $(this).offset(); var id_post = $(this).attr(“id”); jQuery(“.hover”).find(“span[id=”+id_post+”]”).css(“left”, (offset.left-312)+”px”); jQuery(“.hover”).find(“span[id=”+id_post+”]”).show(); }, function() { jQuery(“.hover”).find(“span”).hide(); }) }); //–> </script> and added an additional loop: <div class=”hover”> <?php query_posts( ‘category_name=photos&posts_per_page=-1’ ); ?> <?php if ( have_posts() ) : … Read more

how to display post in jquery slider and carousel

You want get_posts not query_posts. Only use the latter if you need to modify the main query. Something like this (in whatever template file you want): <ul class=”slider”> <?php global $post; $args = array( ‘numberposts’ => 5, ‘order’=> ‘ASC’, ‘orderby’ => ‘title’ ); $myposts = get_posts( $args ); foreach( $myposts as $post ) : setup_postdata($post); … Read more

WP Supersized & Easy Fancybox Conflict

I spotted out the answer for this. Here is the culprit the culprit: the jquery.animate-enhanced.js file that had been added since version 3.1.2 is creating the issue. Comment out this line : wp_register_script(‘jquery_animate_enhanced’, content_url().’/plugins/wp-supersized/js/jquery.animate-enhanced.min.js’,array(‘jquery’),self::supersized_jquery_animate_enhanced_version) probably on line 55 in this file: wp-content/plugins/wp-supersized/includes/WPSupersized.php This is working for me now.

Javascript Loading Effect to URLs

I added the Javascript file with the following code. So if anyone is looking for this solution should use the below code in functions. I don’t know who was so jobless to vote this question down but I am trying to fix my mistake of posting question here on stackexchange by answering my own question. … Read more