https://millionclues.com/wordpress-tips/functions-hooked-to-wordpress-action-filter/
https://millionclues.com/wordpress-tips/functions-hooked-to-wordpress-action-filter/

https://millionclues.com/wordpress-tips/functions-hooked-to-wordpress-action-filter/

In WordPress, there is a special HTML comment tag called more. <!–more–> This tag allows you to put a stopping point in the content of the post, this is then searched by WordPress when you display a list of posts. If WordPress finds this more comment in your content then it will only display the…

By OutsourcedContent — on October 20, 2017 Add these to your CSS stylesheet as necessary. CSS to be used only on Mobile devices This CSS will be used when the screen width is less than 576px. @media screen and (max-width: 576px) { .selector { property: value; } } CSS to be used on anything BUT…

By OutsourcedContent — on June 1, 2020 Add the following code to the functions.php of your active theme. add_filter( ‘woocommerce_marketing_menu_items’, ‘__return_empty_array’ ); This will remove the following Marketing menu added in WooCommerce 4.0

By OutsourcedContent — on September 29, 2017 This tutorial will help you use a WordPress menu with the Navbar component of Bootstrap 3 and Bootstrap 4. Please refer this guide for how to do it directly with Bootstrap. Here is the code to use WordPress navigational menu as the Navbar component. <nav class=”navbar navbar-expand-lg navbar-light…

By OutsourcedContent — on November 16, 2017 Add this to your jQuery file. // Smooth scroll When Clicking Anchor // @refer https://stackoverflow.com/a/7717572/8255629 var jQueryroot = $(‘html, body’); $(‘a[href^=”#”]’).click(function () { jQueryroot.animate({ scrollTop: $( $.attr(this, ‘href’) ).offset().top }, 1000); return false; });
With the release of new WordPress 4.2 version, WordPress team introduced the use of Emojicons in your posts and comments. In order to make this new Emojicons feature to work, WordPress automatically adds JavaScript libraries in your page. Although it’s a nice feature to have for some bloggers who use Emojicons very frequently, but for…
