How to disable the new WordPress block style CSS in 3 lines

If you don’t use the new WordPress blocks, you should avoid to load the block style CSS on your page to optimize the page load speed. Here the three lines you need:

Adding the action with priority 100, it will be executed after the style has been enqueued by Read more…

How to change the WordPress authentication cookie expiration in 3 lines

Never needed to change the standard (2 week) login cookie expiration time of WordPress? Here the 3 line of code you need.

You can add those line in the functions.php file of your theme. DAY_IN_SECONDS is a constant defined by WordPress and represents the number of seconds in a Read more…

How to change the WordPress mail sender in 3 lines

Shortly: I needed to change the “sender” of all emails from a blog so every delivery error would have been sent to a specific mailbox. Without installing plugins, the three lines of code needed are:

They can be added in the theme functions.php  file for example, even if I Read more…

SEO and bbPress

This article contains a set of points we should evaluate to properly optimize bbPress for search engines. It does not contain best practices or magic solutions, it tries only to cover every aspect of contents generated by bbPress and offers a series of questions that should be answered by a Read more…