Today I’ll explain how to create one of my favourite WordPress features, a widget. Widgets allow WordPress users to add functionality to their website without requiring any coding experience. Before we create our first widget it’s important we understand the way they work.
Continue Reading…
Tag Archives: WordPress
Let WordPress automatically clean up your trash
Allot of WordPress users never empty their trash, what could result in a large amount of trashed posts. Since you’ll probably never use these posts again, we can let WordPress delete them automatically after a certain amount of days. We can enable this feature by adding the following line of code to our wp-config.php file.
Continue Reading…
What file is this page using? – What The File
When I started off with WordPress I had trouble finding out what file I needed to edit to change the page I was viewing in my browser. I’ve checked the Template Hierarchy dozens of times, trying to figure out what file was loaded by WordPress to display my page.
Continue Reading…
Disable revisions
In WordPress a revision (copy) of a post is saved each time you save it. This way WordPress enables you to go back to a previous version of a post (remember, a page is also a post). Although this might sound like a feature that may come in handy, most people never use this.
Continue Reading…
Enable role to access the Gravity Forms admin screen
Gravity Forms is in my opinion the best choice if you’re looking for a form plugin. Unfortunately by default only users with the Administrator role can access the Gravity Forms admin screen. If you want other roles being able to create forms, view entries, etc. simply use the following code.
Continue Reading…