Indian States and Districts Dropdown Hello friends, I am Shyam. In this post, we will discuss how to create a dropdown list of all Indian states and districts (cities). If you want to integrate this functionality into your website, you can do it easily. You only need the JS code provided below. Just copy and paste it, change the input selection IDs if necessary, and your dropdown will be ready to use. Thanks for visiting! Please leave a nice comment below. Live Demo: India States & Cities Select State: Select State Select City: Select City Submit Live Demo: Worldwide Countries, States & Cities Select Country: Select Country Select State: Select State Select City: Select City See the Pen dropdown with all country and state and city by SK NetKing (Shyam) ( @sknetking ) on CodePen . ...
Automatically Log in as Administrator with a Single Click Automatically Log in as Administrator with a Single Click If you're a WordPress developer or site administrator, you might often need to log in to your site quickly for testing or debugging. Manually entering your username and password can be time-consuming, especially during development. To simplify this process, I’m sharing a handy code snippet that allows you to log in as the first administrator user with just a single click. How Does This Code Work? This code snippet is designed to automatically log you in as the first administrator user on your WordPress site when you add ?dev=1 to your site’s URL. Here’s how it works: Check for the Query Parameter : The code listens for the ?dev=1 parameter in the URL. If it detects this parameter, it triggers the login process. Find the First Administrator : It queries the WordPress database to find the first ...
This function is useful for WordPress developer just copy and paste this code in your functions.php file and save file. And just put this short code in your widget [show_posts posts="1" show_cat="true" order="ASC"] function short_code($atts){ ob_start(); //$featured_img_url = get_the_post_thumbnail_url(get_the_ID(),'full'); extract(shortcode_atts(array( 'posts' => 1, 'cat'=>'', 'show_cat'=>false, 'order'=>'DESC', 'post_id'=>'' ), $atts)); $args = array( 'post_type' => 'post', 'post_status' => 'publish', 'category_name' => '', 'posts_per_page' => $posts, 'orderby'=>$order ); if( empty($post_id)) { $post = get_post($post_id); //assuming $id has been initialized setup_postdata($...
Indian States and Districts Dropdown Hello friends, I am Shyam. In this post, we will discuss how to create a dropdown list of all Indian states and districts (cities). If you want to integrate this functionality into your website, you can do it easily. You only need the JS code provided below. Just copy and paste it, change the input selection IDs if necessary, and your dropdown will be ready to use. Thanks for visiting! Please leave a nice comment below. Live Demo: India States & Cities Select State: Select State Select City: Select City Submit Live Demo: Worldwide Countries, States & Cities Select Country: Select Country Select State: Select State Select City: Select City See the Pen dropdown with all country and state and city by SK NetKing (Shyam) ( @sknetking ) on CodePen . ...
Automatically Log in as Administrator with a Single Click Automatically Log in as Administrator with a Single Click If you're a WordPress developer or site administrator, you might often need to log in to your site quickly for testing or debugging. Manually entering your username and password can be time-consuming, especially during development. To simplify this process, I’m sharing a handy code snippet that allows you to log in as the first administrator user with just a single click. How Does This Code Work? This code snippet is designed to automatically log you in as the first administrator user on your WordPress site when you add ?dev=1 to your site’s URL. Here’s how it works: Check for the Query Parameter : The code listens for the ?dev=1 parameter in the URL. If it detects this parameter, it triggers the login process. Find the First Administrator : It queries the WordPress database to find the first ...
This function is useful for WordPress developer just copy and paste this code in your functions.php file and save file. And just put this short code in your widget [show_posts posts="1" show_cat="true" order="ASC"] function short_code($atts){ ob_start(); //$featured_img_url = get_the_post_thumbnail_url(get_the_ID(),'full'); extract(shortcode_atts(array( 'posts' => 1, 'cat'=>'', 'show_cat'=>false, 'order'=>'DESC', 'post_id'=>'' ), $atts)); $args = array( 'post_type' => 'post', 'post_status' => 'publish', 'category_name' => '', 'posts_per_page' => $posts, 'orderby'=>$order ); if( empty($post_id)) { $post = get_post($post_id); //assuming $id has been initialized setup_postdata($...
Youtube key word Generater Search Keyword Generate Trending KeyWords- Copy Source Code Search tag - How to Find Best VIRAL TAGS for YouTube Video🔥| Search Viral Tags without Google Ads Keyword Planner, How To Do Keyword Research For YouTube Videos (2023 UPDATED) | YouTube Keyword Research (HINDI), How to Find Best Tags for YouTube Videos #shorts, Youtube Keyword Research Tool 2022 (Best & Free )🔥| YouTube Tag generator (Hindi/Urdu), YouTube Keyword Generator Tool | Tube Atlas Software, Best Free YouTube Keyword Generator #ytshorts, YouTube Tags to GET MORE VIEWS! - MY SECRET REVEALED! 🤫 | Tags/Keyword Generator!, Youtube video ke liye tag kaise search kare | Youtube tag generator tool| youtube keywords generator, Youtube Keyword Generator Tool Free | Free Keyword Research for Youtube Video | Youtube Tag Search, Google Keyword Planner: How to use Google ...
2 Comments
Nice tool .
ReplyDeleteAdd full screen note pad feature -
ReplyDelete// Full screen functionality
const fullscreenButton = document.getElementById('fullscreen-btn');
fullscreenButton.addEventListener('click', () => {
const elem = document.getElementById('fullgame');
if (!document.fullscreenElement) {
if (elem.requestFullscreen) {
elem.requestFullscreen();
} else if (elem.mozRequestFullScreen) { // Firefox
elem.mozRequestFullScreen();
} else if (elem.webkitRequestFullscreen) { // Chrome, Safari and Opera
elem.webkitRequestFullscreen();
} else if (elem.msRequestFullscreen) { // IE/Edge
elem.msRequestFullscreen();
}
} else {
if (document.exitFullscreen) {
document.exitFullscreen();
} else if (document.mozCancelFullScreen) { // Firefox
document.mozCancelFullScreen();
} else if (document.webkitExitFullscreen) { // Chrome, Safari and Opera
document.webkitExitFullscreen();
} else if (document.msExitFullscreen) { // IE/Edge
document.msExitFullscreen();
}
}
});