How to bring back the old OpenSans font in WordPress 4.6 dashboard

How to bring back the old OpenSans font in WordPress 4.6 dashboard

17 August, 2016 by

“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 device you use.” Great… but NO. I really don’t like to see Segoe UI (native font from Windows) in my WordPress dashboards so this small plugin brings back the […]

Remove the URL field from comments form

Remove the URL field from comments form

11 May, 2015 by

Sometimes the URL field from comments form is absolutely useless if your audience does not have websites, that’s why could be a really good idea to remove it.

Check if a user has bought an item using WooCommerce built-in function

Check if a user has bought an item using WooCommerce built-in function

29 January, 2014 by

You can check if a user has bought an item by using “woocommerce_customer_bought_product” built-in function. The function has 3 parameters: It can be used in a shortcode, for example you can show private content just for those who already bought the product. Call the shortcode in post content: Advice: don’t use it too often because […]

How to extend authentification cookie expiration time

How to extend authentification cookie expiration time

by

These days I needed to extend the lifespan of the authentication cookie and after a few minutes of research I’ve found out that we can apply a filter to change it. You can also extend the lifespan only if the user has checked the “Remember Me” on login page (next snippet). Keep in mind that […]

How to disable automatic updates in WordPress 3.7

How to disable automatic updates in WordPress 3.7

04 November, 2013 by

As you may know… WordPress has introduced automatic updates since 3.7 version. But I have to admit that I’m a freak control and I’ve searched some ways to disable automatic updates. 1. Disable using wp-config.php 2. Disable using functions.php of your theme I recommend the first method because it’s not theme-dependent as the second one.

How to disable update notification for certain plugins

How to disable update notification for certain plugins

15 October, 2013 by

Sometimes it’s a must to disable update notification for certain plugins because you don’t want to overwrite the modifications you did before. Maybe it’s not a best practice, but this could be the best solution in some cases.

Maintenance mode without a plugin

Maintenance mode without a plugin

10 October, 2013 by

Just a simple way to put your blog into maintenance mode without a plugin. Nothing more to say! 🙂

404 Not Found Tracking (plugin)

404 Not Found Tracking (plugin)

30 September, 2013 by

The idea of tracking 404 errors started from here (first posted by WP Mix). The only problem is that you will receive an email for each 404 error and I think it’s quite annoying. My little plugin saves the errors into a mySQL table and sends daily (hourly, twicedaily) email alerts (using WordPress cron system). […]

Add custom columns to Users listing table

Add custom columns to Users listing table

by

After you add custom fields to users… you definitely need to show this new info in Users listing table.

Disable default image sizes

Disable default image sizes

25 September, 2013 by

Every time you upload a new image, WordPress saves that image in many sizes by default. There are times when we don’t really need those thumbnails (eg: our theme uses custom sizes) and I think it’s much better delete them because they occupy space on the server for nothing. Here’s a way to disable default […]