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

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

Almost all web sites provide links to other sites, but it’s generally good practice to open these “external” links in a new window or tab. This makes it clear that the content is not part of your site, and also leaves your site open in the browser so the user can easily return. To make…

Prior to WordPress 3.6, we had to run a query to retrieve all media attachments to a specific post. We had to do something like this. // show all WordPress post attachments $args = array( ‘post_type’ => ‘attachment’, ‘posts_per_page’ => -1, ‘post_status’ => ‘any’, ‘post_parent’ => $post->ID ); $attachments = get_posts( $args ); if (…

I do not use that many images in my posts, but when I do, I do it right. By that I mean, I make sure the image is cropped and optimized for the web (I use Kraken.io) and I rename the image to mean something rather than it saying IMG_0507.img. While naming stuff, I like…

By OutsourcedContent — on April 13, 2018 Here is an example. The following snippet removes the action hooked from the SumoMe plugin – https://wordpress.org/plugins/sumome/ /** * Dequeue SumoMe inline script * * @author Arun Basil Lal */ function rocket_helper_dequeue_sumo_me_js() { global $wp_plugin_sumome; remove_action(‘admin_footer’, array( $wp_plugin_sumome, ‘append_admin_script_code’ ) ); } add_action( ‘admin_head’, ‘rocket_helper_dequeue_sumo_me_js’ ); $wp_plugin_sumome…

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…

Many developers were concerned about the data WordPress should send back to WordPress.org when checking update for plugins and themes. Some have expressed concern that private plugins developed for a specific client or website may contain some sensitive information in their headers, like contact information for the developer, etc and it should not be send…
