How to Change Bootstrap Carousel Slide Speed

The speed cannot be controlled by the API. Though you can modify CSS that is in charge of that. find in the bootstrap.css file: .carousel-inner > .item { position: relative; display: none; -webkit-transition: 0.6s ease-in-out left; -moz-transition: 0.6s ease-in-out left; -o-transition: 0.6s ease-in-out left; transition: 0.6s ease-in-out left; } and change 0.6s to the time […]

jQuery Baisc Standard Form Validation Script

<div id=”status” class=”alert alert-danger” style=”display:none”></div> <div class=”alert alert-success” style=”display:none”></div> <script> function validation() { var firstName = $(‘#firstName’).val(); var lastName = $(‘#lastName’).val(); var phone = $(‘#phone’).val(); var email = $(‘#email’).val(); var message = $(‘#message’).val(); $(“.alert-danger”).slideUp(); if((firstName == ”) || (lastName == ”) || (phone == ”) || (email == ”) || (message == ”) ) { […]

How to setup Google reCaptcha Version 2.0?

To setup Google reCaptcha oepn url https://www.google.com/recaptcha/admin and fill form as shown in the screenshot below: After registration open newly created reCaptcha site and read the guide provided by google as shown below: Now paste <script src=’https://www.google.com/recaptcha/api.js’></script>  in <head> or anywhere before use of captcha. And then paste <div class=”g-recaptcha” data-sitekey=”6LcPQggTAAAAAAw-SQm8KTEW-N1CBuzBz_gW71UT”></div> to the place where you want to show captcha […]

WordPress: How to submit custom form data using Ajax?

In wordpress we send data using same ajax method as we do in regular non-wordpress website.  The difference is few additional data variables and filter on serverside. To Implement this I created a template page named “Request a Quote” in request-a-quote.php, created new wordpress and assigned that template to this page.

How to create Custom 5 Stars Rating System in WordPress?

In this article I’ll show that how to create custom 5 stars Rating system in wordpress. I’ll create WordPress Short Code to place rating anywhere in any post. Steps: 1- Create Directory “az_rating” in the root folder of your active theme. 2- Create rating.php in az_rating/ folder. In this file we will write all code for […]