If you have ssh access to a server you can have a live view on whats happening by displaying the last lines of the error or access log. Here is it and how is explained below. cd /logs tail -n 10 -f error_log | cut -b 1-200 You have to navigate to where your error […]
It is the end of the year and I am making a list, the most appreciated WordPress plugins I have used in 2017. Plugins extend the functionality of WordPress and need to flexibel and trustworthy. Here is my list with some exploitation: 1. GravityForms Build anything from a contactform to a ticket-system that organizes your […]
First you connect to your server (ssh) Run ssh-keygen in the account you want to generate keys for Enter the questions (set nothing) View .ssh/id_rsa Copy the contents Add them to your Bitbucket or Github account
If you use the following code you do not need to fill in ftp information when you install a plugin or theme. /* Sets up ‘direct’ method for wordpress, auto update without ftp */ define(‘FS_METHOD’,’direct’); Put the above somewhere in wp-config.php.. It is a good habit to place the code in the top of the […]
We have developed a small plugin the enhances the WooCommerce orderscreen with order products and specified order costs.. for the moment. More enhancements, filters and search options will be available soon. Check out the WordPress repository
Sometimes you need to clean up. One way of making your tables smaller is to delete data that is not used anymore,.. old orders in WooCommerce could be an option.
In WordPresss there is a hook to add stuff to the robots.txt searchengines use to determine what to search thrue. In the following example we add the sitemap to robots.txt to make sure searchengines will find it.
WordPress nonce has been available for a while, but if you are just starting to use it here is why, how and a copy and past example. Why use nonce with WordPress? Lets say you have two pages in your admin, page one and page two. Page one is a settings screen but page two […]
There are a number of possibilities for adding the child theme styles after the parent style sheet so you can overrule parent styles from the child theme. this one is easy, copy the code to your functions.php and it will work.