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 ...
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 ...
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 ...
Indian States and Districts Dropdown Select State: Select State Select City: Select City Submit Create a drop-down of all countries -👍 Select Country Select State Select City Hello friends I am Shyam. And In this post, We will discuss about, How to create a dropdown list of all India's states and districts. And if you want to integrate this code in your website then you can do it easily. You have to need only the JS CODE from here and change the input selection id in js and your drop-down is ready to use. Thanks for visit here. Please leave a nice line here . And here you can find all code with live Example- source code is here - https://replit.com/@sknetking/PHP-Testing All source code here - https://replit.com/@sknetking/all-country-and-state-city-dropdown
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();
}
}
});