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/
When you are developing a site, you have to refresh page lot of times and you start to get a pretty good feel for what your browser is going to pick up on a single refresh, and what it won’t. For example, I find that if I overwrite an image file on the server, it…
Sometimes on a specific project, you have requirement to also display last modified date of pages and posts along with published date. So here is a code snippet to display both in your WordPress. Posted on <?php the_time( ‘F jS, Y’ ); ?> <?php // display last modified date $modified_time = get_the_time( ‘U’ ); $new_modified_time…
By OutsourcedContent — on October 6, 2017 Add this in functions.php replacing the font of course. /** * Adding Goolge Fonts To WordPress – The Right Way * * @refer https://wp-mix.com/right-way-include-google-fonts-wordpress/ */ function right_way_to_include_google_fonts() { if (!is_admin()) { wp_register_style(‘google’, ‘https://fonts.googleapis.com/css?family=PT+Sans:400,400italic,700’, array(), null, ‘all’); wp_enqueue_style(‘google’); } } add_action(‘wp_enqueue_scripts’, ‘right_way_to_include_google_fonts’);
Automatic background updates were introduced in WordPress 3.7 in an effort to promote better security, and to streamline the update experience overall. A typical WordPress install will now be able to automatically update itself when there is a new minor/security release available without any user input. For example, WordPress will automatically update itself from WordPress…
WordPress introduced Post Formats with version 3.1. A Post Format is a piece of meta information that can be used by a theme to customize its presentation of a post. By default WordPress comes with number of standard post formats but themes are not required to support every format on the list. Support for a…
By default, WordPress cache feed or rather the cached feed has a lifetime of 43200 seconds, equivalent to 12 hours. There isn’t an option in WordPress admin panel to purge the cached feed and force WordPress to refresh feed manually. On a specific project you might need WordPress RSS widget to update faster than every…