How can I make a thumbnail slider
How can I make a thumbnail slider
How can I make a thumbnail slider
Need help for some PHP code
You need to set the “title” attribute of the images to be the post title. You can do it like this: title=” . get_post_title() . ” You will have to modify the HTML output of the plugin, but it should not be very difficult at all.
does it have a control panel with sizing options? Is there any mention of 270px at all in the files. If not then either your image is 270px or WordPress is resizing it. If WordPress is doing it check out this page settings>media EDIT: // Correct image aspect ratio to fit within skin’s image constraints … Read more
Not a plugin but easy to integrate into your wp theme: jQuery Image Gallery with jCarousel. You’ll just have to insert special queries to get the images commimg from posts or even special categories or even custom post type ‘featured’.
there is a plugin (discontinued): http://wordpress.org/extend/plugins/wp-imageflow/) and a Nextgen addon: http://wordpress.org/extend/plugins/nextgen-imageflow/. More samples and the original code (to the best of my knowledge) can be found here: http://finnrudolph.de/ImageFlow/
Without seeing how you’ve customized the plugin, I can only go off the code of the stock plugin. By default, it will either use the permalink or whatever you have set in the post meta for simple_nivo_link. Here’s the actual code: # process the results while (have_posts()) { the_post(); if(!has_post_thumbnail()) break; # determine link $link … Read more
This is David Caplan, the web developer at Dolbeau. I don’t know how much web design experience you have but we basically just use the plain old carousel slider from Twitter Bootstrap (http://twitter.github.com/bootstrap/) with some extra javascript thrown in. The key is the CSS that allows the images to be full screen and centered, even … Read more
I’d use the this code to print the image instead of using the_post_thumbnail();. So that the $slider_query->current_post can be used to print the current iteration of post in WP_Query loop. Eg. <img src=”https://wordpress.stackexchange.com/questions/61017/<?php wp_get_attachment_url( get_post_thumbnail_id() ); ?>” alt=”the-alt-tag” data-caption=”#htmlCaption-<?php $slider_query->current_post; ?>” /> Update – Untested but it should work. Make sure you turn on WordPress … Read more
There’s a reason, why one should use the proper hook, which – in this case – is wp_enqueue_scripts. Then always keep in mind, that some plugins might require a dependency/are dependent on another Javascript library like jQuery. Now this example shows you how to enqueue your script With the right path/URI API function With jQuery … Read more