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/

Google has been supplying the community with a large collection of web-based fonts for quite a few years. There are several ways Google allow you to use these fonts for free on your website. Google also provides instructions for embedding and using these fonts in your website which works great for static HTML websites, but…

In previous articles we have shown you how to display most commented blog posts and today we will discuss about displaying recent comments in WordPress. WordPress comes with a recent comments widget out of the box. Although it’s very handy, but on the other hand does not give you much freedom in terms of customizing…

By OutsourcedContent — on August 2, 2021 Useful to see what changes are made in the WordPress database by a plugin, theme or other code. /** * Log database queries to the /wp-content/sql.log file. * * @link https://wordpress.stackexchange.com/a/144353/90061 */ add_filter( ‘query’, function( $query ){ // Filter out everything that shouldn’t be logged. if…

By OutsourcedContent — on November 10, 2017 To retrieve the post title of a post as saved in the wp_posts table in the WordPress database use this <?php echo get_post_field( ‘post_title’, $post_id, ‘raw’ ); ?> If you use get_the_title() function, WordPress applies the ‘the_title‘ filter before returning the value.

This is not a function that you would need to use on daily basis, but I came across a reason to use it recently on a project and I thought it might be a good idea to share it here too. All it does is limit the post title by the number of words, just…

WordPress has built in compression for JPG images. Whenever you upload an JPG/JPEG image to WordPress media library, WordPress will automatically compress your images to 90% of the original quality, this is intended to help your pages load faster and keep file sizes smaller. But sometime it’s essential to have high quality images on your…
