Buy All 48 Premium WordPress Themes for $54.99

tInteriorDesign Theme: Auto rotate Slider Images

tInteriorDesign Responsive Design

By default slider images in tInteriorDesign Theme will not rotate until user clicks on prev/next arrows or play button.

In some cases you may want to make them auto rotate by default. It will require a small code change, here are all of the necessary steps:

  1. Login to your WordPress Admin Panel
  2. Navigate to Left Menu -> Appearance -> Theme Editor
  3. Open file tinteriordesign/js/utilities.js
  4. At the end of the file insert the following code:
jQuery( document ).ready(function() {
	
	window.setInterval(function(){
			jQuery('#rm_play').trigger( "click" );
		}, 5000);
});

and then save changes.

About the Author

Tihomir Ivanov is a WordPress and Salesforce Commerce Cloud (SFCC) developer, founder of tishonator.com, a fan of Linux and Open Source, Minimalism (in Design and Life), Sci-fi, Fantasy, Classic and History books :)

Leave a Reply