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/
Many of you may have noticed a new trend of circular shape avatars (profile images) in author bio as well as in comments section. You may also be wondering how it’s done or do I need to edit them in Photoshop to make it circular. Editing your avatar in image editing software will only make…

While posting a comment, WordPress automatically stores commenter’s IP address along with other information in MySQL database. Storing IP address is useful when you want to identify comment author for any unlawful/illegal content or a comment spammers to prevent them for posting anymore spam comments. Although this is a useful feature but in some countries,…

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…

Sometimes you have a category in your WordPress blog which you want to exclude category posts from appearing in blog’s homepage and also want to hide posts belong to this category from your main RSS feed. WordPress has a very simple solution for our little problem. WordPress provides a hook pre_get_posts that called just after…

Permalinks are the permanent URLs to your individual blog posts, pages as well as categories, tags and other lists of blog postings. By default, WordPress uses post ID query string as permalink structure rule but it’s not very user-friendly, and it is also not Search Engine Friendly. It is better to refer a visitor to…

By OutsourcedContent — on January 12, 2018 Add this to the functions.php /** * Add Response code to video embeds in WordPress * * @refer http://alxmedia.se/code/2013/10/make-wordpress-default-video-embeds-responsive/ */ function abl1035_alx_embed_html( $html ) { return ‘<div class=”video-container”>’ . $html . ‘</div>’; } add_filter( ’embed_oembed_html’, ‘abl1035_alx_embed_html’, 10, 3 ); add_filter( ‘video_embed_html’, ‘abl1035_alx_embed_html’ ); // Jetpack Add this to…
