Setup Google Login in your Cordova App
We will discuss here, how to implement Google Login using the native Google+ App on your android or or your iOS device in a Cordova/Phonegap
We will discuss here, how to implement Google Login using the native Google+ App on your android or or your iOS device in a Cordova/Phonegap
Use this code snippet to base64 encode your font directly in the browser (OS independent, no need to install anything) Then copy the output and
Disable WordPress Admin Bar for All Users Except Administrators
Accessing form data in JS
access values from FormData
Get key and value from FormData
Get WordPress post content by post id $my_postid = 12;//This is page id or post id $content_post = get_post($my_postid); $content = $content_post->post_content; $content = apply_filters(‘the_content’,
Insert comma separated values on multiple buttons in input type text <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script> $(‘.baths’).on(‘change’, function() { var vals = []; $(‘.baths:checked’).each(function(){ //could also use .map
Custom Taxonomy in WordPress for custom post type // Custom Taxonomay “Location” for custom post type “Books” add_action( ‘init’, ‘create_locations_nonhierarchical_taxonomy’, 0 ); function create_locations_nonhierarchical_taxonomy() {
Display custom notice in woocommerce Quick Solution: /* custom notices */ add_action(‘template_redirect’, ‘my_custom_message’); function my_custom_message() { //you can change role or page slug below if
Got a Question? Check out our FAQ Section.