Empty trash with wp-config

WordPress leave everything we erase in the trash so¬†if we need to use it again we can do that. Sometime this can be bad for our database and the speed of the website. It’s a good way optimize everything¬†to upgrade the quality of our project. One thing you can do is automatically empty the trash […]

Read more »

WordPress Events

The WordPress community is one of the busiest in the world. There are dozens of meetings every month and official events called WordCamp in the major European and worldwide cities. To publicize WordPress events is born a new online tool that collects them all. This site has an map that shows the date, place and […]

Read more »

Add table buttons in wordpress TinyMCE

In the wordpress toolbar you can easy manage the content of your post. To add the HTML table tags with this usefull shorcut you can install a good plugin: MCE Table Buttons This plugin can be very important for a client that manage the website. For example you can add, delete and change table properties. […]

Read more »

Remove WooCommerce payment method

There is a php condition to add when you want to remove a payment gateway from your checkout page based on the selected shipping country. The code below show you how to remove the Cash on Delivery method for countries different from Italy. This is an example very common for these kind of orders. The […]

Read more »