How to put link on a slideshow gallery?
How to put link on a slideshow gallery?
How to put link on a slideshow gallery?
This is the wrong approach. Mobile devices are being served the small image because the default sizes attribute is incorrect for your uses case, not because of the srcset. If you provide a correct sizes attribute then browsers will choose a more appropriate source. If you remove the 300w version without changing the sizes attribute … Read more
Divi Carousel/ Slider – How to slide two sliders with a single button
No, WordPress does not have a slider feature built in. It will be either a plugin or your theme that has added the slider. For modifying or adjusting your slider, please go to the support area for the plugin/theme you used. If you wish to develop your own, there are many, many tutorials out there … Read more
You can go and check this tutorial by Josh Pollock. I’ve extracted (qouted) parts of that tutorial. Adding these options will allow you to set the mobile layout and the number of posts for each layout in the Admin interface, removing the need for code changes if you want to change the settings. function awesome_2014_customize_register() … Read more
It really depends what you want? If you need it to be controlled from the WordPress CP then you may have to write your own or try reading through the descriptions on these plugins listed here. – http://wordpress.org/extend/plugins/search.php?q=slider If you dont need so much control you can look into jQuery Slider plugins such as Orbit … Read more
Your image URLs are wrong: they link to a directory above the root directory. This cannot work. Place the images in the theme instead and use get_template_directory_uri(): src=”https://wordpress.stackexchange.com/questions/101801/<?php echo get_template_directory_uri() .”/images/slider/xfs_968x350_s80_mainTop2.jpg’; ?>”
As far as i understand your question is that you want to get posts from specific category. <div class=”callbacks_container”> <ul class=”rslides” id=”slider3″> <?php $the_query = new WP_Query(array(‘order’ =>’descending’,’orderby’ =>’ID’,’posts_per_page’ =>’5′, ‘category_name’ => ‘news’)); while ($the_query->have_posts()) : $the_query->the_post(); ?> <li> <?php if ( has_post_thumbnail() ) { the_post_thumbnail(‘large’); } else { echo ‘<img alt=”No Image” src=”‘ . … Read more
In anybody needs this in the future I found a quick and easy workaround: you could just adjust the slider interval in the shortcode. First you have to switch to the “classic mode” (turn the Visual Composer off) and then find the shortcode that defines the interval: [vc_gallery interval=”10″ images=”22390,23006″ img_size=”full”] You can then set … Read more
You could create a custom meta box that has a checkbox for whether or not to show in the slideshow. Post Thumbnails/Featured Images sound like what you’re looking for. Note that images uploaded/attached to a post in WordPress do not necessarily have to appear in the content.