How to get the current scroll top position?
How to get the current scroll top position? Copy and past the following codes below to your JS file.
var current_scroll = window.scrollY; console.log( current_scroll );
How to fix the “Google Maps API error: MissingKeyMapError” using WPBakery Visual Composer WordPress plugin? Are having trouble fixing this error on your end? This error is visible in your console developer tools. Google Maps API error: MissingKeyMapError https://developers.google.com/maps/documentation/javascript/error-messages#missing-key-map-error To fix the issue, first you have to look the script handler that is registered for…
How to get the current post parent category ID? Just copy the codes below and paste this your template. global $post; $category = get_the_category( get_the_ID() ); $parent = $category[0]->term_id
See http://multidatespickr.sourceforge.net/ for the references. Copy and paste the code below. var today = new Date(); var availableDates = ["9-9-2011","14-9-2016","15-9-2016"]; $(‘#simple-select-min-max’).multiDatesPicker({ beforeShowDay: available }); function available(date) { dmy = date.getDate() + "-" + (date.getMonth()+1) + "-" + date.getFullYear(); if ($.inArray(dmy, availableDates) != -1) { return [true, "","Available"]; } else { return [false,"","unAvailable"]; } }
Demo slidetoggle Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor.Aenean massa. Lconsectetuer ipsum dolor sit amet, adipiscing elitorem. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec quam felis, ultricies nec, pellentesquem. HTML mark up <div id="faq"> <h6>Lorem…
Gravity form user registration update confirmation redirect URL. How to set up your Gravity form user registration or user update profile to redirect to the Buddypress profile page? Using {user:user_nicename} will solve your problem. See image below on how to set up. Problem 1: I want my update profile form to redirect in my Buddypress…
Copy the codes below and follow the instructions. FOR SPECIFIC CATEGORY 1. Install Category Featured Images plugin. 2. Add an image to your category post. 3. Create a file that named category-7.php ( NOTE : The “7” in category-7.php is the category ID of your specific category ). 4. Copy and paste the codes in…