WordPress wp_nav_menu() function has lots of useful arguments for customizing your menu, but it’s missing an essential one: a menu item separator. For example, if you want to add a | (vertical slash) or a ยท (middot), or any other separator of your choice, the ideal solution would be to add it as a function argument like 'item_sep' => '·'
As you well know, WordPress decided to ditch Open Sans font, and use operating system defaults for the dashboard. This is an excerpt from the 4.6 version official release: “The WordPress 4.6 dashboard now takes advantage of the fonts you already have, making it load faster and letting you feel more at home on whatever […]
There are situations when the URL (website) field from the comments form is just an unnecessary clutter, for example when your “audience” does not have a personal website. In cases like this, the best approach would be to remove the field altogether.
The built-in function woocommerce_customer_bought_product can be used to check if a user has bought an item.
These days I needed to extend the lifespan of the authentication cookie, and I thought I share with you how to do that. To make this change you need to apply a filter, so add the following snippet in functions.php: