https://millionclues.com/wordpress-tips/git-github-basics/
https://millionclues.com/wordpress-tips/git-github-basics/

https://millionclues.com/wordpress-tips/git-github-basics/

By default WordPress adds many useful classes to body and posts, to help theme developers to style their sites effectively with only CSS and without needing to edit theme files unnecessarily. For example, WordPress adds the category name when you’re viewing an archive page so you can style archive pages differently for each category. But…

Think of yourself as a Blogger on the move. You are traveling around the world, sometimes you are at Berlin, and then you move to Paris, yet again to New York. How cool it would be to add a note to each post that says where you wrote that from? Or maybe you might want…

Have you ever wanted a specific directory in your website to be accessible only by a selected number of people. Protecting files on your website from unauthorized users is very important and actually fairly easy. Although, there are numerous methods to password protect directory on a website but we will accomplish this with the help…

By OutsourcedContent — on August 27, 2017 /** * Load CSS and JS the right way * * @since 1.0 * @refer https://developer.wordpress.org/reference/functions/wp_enqueue_style/#comment-340 */ function firerooster_load_css_and_js() { // Load Boostrap CSS wp_enqueue_style( ‘bootstrap-css’, get_template_directory_uri() . ‘/includes/bootstrap4/css/bootstrap.min.css’ ); // Load style.css wp_enqueue_style( ‘style’, get_stylesheet_uri() ); // Load Boostrap JS wp_enqueue_script( ‘bootstrap-js’, get_stylesheet_directory_uri() . ‘/includes/bootstrap4/js/bootstrap.min.js’, array(‘jquery’), ‘1.0’,…

Post revisions are a way for users to keep a working collection of each different version of a post and then revert back to it in the future if necessary. It is a useful feature for some but some find it to be totally useless because cluttering of WordPress database, gobbles up disk space, and…

By OutsourcedContent — on August 27, 2017 <?php $args = array( ‘posts_per_page’ => ‘3’, ‘post_status’ => ‘publish’, ); $recent_posts = wp_get_recent_posts( $args ); // Loop each post foreach( $recent_posts as $recent ) { echo get_the_title($recent[“ID”]); echo $recent[“post_content”]; } wp_reset_query(); ?> Refer the WP_Query class reference for a complete list of arguments. Another Approach <?php …