Lightbox gallery in a link [closed]

You can most likely use Easy FancyBox plugin (and maybe plus NextGen gallery) to achieve the effect. The FAQ on the Easy FancyBox documents different things you can do: http://wordpress.org/plugins/easy-fancybox/faq/ For example, you can call lightbox of an hidden image with text link: <a href=”#hidden_image_id” class=”fancybox”>Castle abc</a> <div style=”display:none”><img id=”hidden_image_id” src=”hidden_image_url.jpg”></div> So you’d apply this … Read more

wordpress carousel slide not working

Use this below code. I have done this below code with some modification with Questioner’s code. Now it is working. <div id=”carousel” class=”carousel slide” data-ride=”carousel” data-interval=”3000″> <!– Carousel items –> <div class=”carousel-inner”> <?php $slider = new WP_Query(array( ‘post_type’ => ‘slide’, ‘posts_per_page’ => -1, )); ?> <?php if ( have_posts() ) { $x=0; while ( $slider->have_posts() … Read more

remove slider mobile not via css

This is one of those problems that seems like it should have a simple solution, but really doesn’t. There are options, they’re just not easy. At least, from what I can see. CSS is the best approach to detecting browser width IMO. In fact, you really can’t detect browser width from PHP. You can with … Read more

I want to loop thro owl carousel in wordpress i used this code but nothing works

Here you have used dummy images but you can see result. slider is working perfectly. https://www.risingwebstars.com/video.webm Your above code have two mistakes so use below code. <div class=”container”> <div class=”row”> <div class=”col-md-12″> <div class=”owl-carousel” id=”product-slider”> <?php $loop = new wp_Query(array( ‘post_type’ => ‘home_producten’, ‘orderby’ => ‘ID’, ‘order’ => ‘ASC’, )); ?> <?php while ($loop->have_posts()): $loop->the_post(); … Read more

How to change transitions on WordPress slider? [closed]

UPDATE: Well, i found it. You go to wp-content/themes/plixus/js/ and open the file init.js. There you should find the following code: $(window).load(function() { $(‘#slider’).nivoSlider({ effect:’fold,fade,boxRandom,sliceUpDown’, controlNav:false}); }); Now you can change the argument “effect” to whatever you like, like $(window).load(function() { $(‘#slider’).nivoSlider({ effect:’fade’, controlNav:false}); }); That should do the trick. Well, as it’s a Nivo … Read more

Header Slideshow [duplicate]

You can use the do_shortcode() function to execute shortcodes within PHP. <?php echo do_shortcode( ‘[sample_slide id=”1″]’ ) ?> Although I’m sure a lot of the slider plugins out there have template tags which you can use to insert the slider into your header.php file.