Intergrating agile carousel to wordpress: how to write the ajax_callback function

So I see you’re referring and attempting to recreate this example: <link rel=”stylesheet” href=”https://wordpress.stackexchange.com/questions/63304/agile_carousel.css”> <script src=”http://ajax.googleapis.com/ajax/libs/jquery/1.6.0/jquery.js”></script> <script src=”agile_carousel/agile_carousel.a1.1.js”></script> <script> // Code used for “Flavor 2” example (above) $.getJSON(“agile_carousel/agile_carousel_data.php”, function(data) { $(document).ready(function(){ $(“#flavor_2”).agile_carousel({ // required settings carousel_data: data, carousel_outer_height: 330, carousel_height: 230, slide_height: 230, carousel_outer_width: 480, slide_width: 480, // end required settings transition_type: “fade”, transition_time: 600, … 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

Getting post meta in the flex slider

It’s a bit tricky to provide the solution that would work for you without full HTML. I’ve checked the linked page, but there’s no pagination there (I’ve searched for flex-control-nav that you mentioned and didn’t find it). So my solution comes from the code that you provided and from the HTML that I’ve seen on … Read more

Slider loading issue

This is standard behavior with javascript that is deferred or loaded in the footer. All the slides load in, and don’t get told to “be sliders” until the whole page has loaded. You can hide them with CSS first: #section-slider .single-slide-wrap { display: none; } And you can have the first slide be shown if … 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.

slideshow is not showing in a post call with ajax

When you load a page that contains a normal static post, there is some JavaScript that is called on page load to instantiate your slider. Something like: jQuery(document).ready(function($){ $(‘.sliders’).someSliderScript(); }); This finds all of the elements that should have a slider applied and runs all the necessary code to set it up and make it … Read more

Populate a slideshow list of images from images in a wordpress page?

Most of this is part of the Codex: <?php $attachments = get_posts(array( ‘post_type’ => ‘attachment’, ‘numberposts’ => -1, ‘post_status’ =>’any’, // This is where you specify the ID of your private image page ‘post_parent’ => $private_page_id, )); if (count($attachments)) { // We have attachments ?> <ul id=”flexiselDemo3″> <?php // Now we loop through them foreach … Read more