Quickly add an image slider in WordPress

An image slider makes websites and blogs interesting. If you are using WordPress, you can add an image slider using any good plug-in. For those looking to add a simple slider easily, you must install the WP Cycle plug-in on your WordPress site.

Once WP Cycle is installed on your blog, you will find the WP Cycle menu under the ‘Media’ menu. You set your preferences for your slider, set the image dimensions and then add images. You can also link the images to your webpages or sites. The slider can be then added to any post or page using a shortcode – [wp_cycle].

You can also add the WP Cycle slider using PHP code in the template.

<?php if (function_exists(wp_cycle)):
wp_cycle();
endif; ?>

Wrapping the WP Cycle output tag in the function_exists condition ensures that your theme continues to work properly even when the WP Cycle plug-in is disabled.

Premium WordPress Themes

Reliable Web Hosting

Smart Web Worker strongly recommends HostGator for your website/blog hosting. Sign up for web hosting at just $3.96/month. Use the coupon code "SMARTBLOGGER25" to get 25% discount on any hosting packages. Get an account with HostGator now!

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>