Website Design Tips & Tricks
WordPress code snippets for designers and developers
Sorting of Portfolio Filter Bar is standard set to alphabetical. There’s no option for alternatives. With a simple change you can alter the ordering.
In WordPress, you can easily get custom taxonomy terms that belong to the current post. However, it’s not so obvious how to get your current post’s terms in hierarchical order, including links to the term. But it is possible and we explain you how.
In the free version of this plugin, on your overview page you can only get the “full content” of a blog or news post or the first X number of words of the post, not the manual excerpt you can set in a post edit. Well, that’s very easy to customize.
Did you know you can target (parts of) your website to a specific country? You don’t need to do that when you have a top-level country domain, like .au, .uk, .fr, or .nl. Google then already automatically assumes your website is targeted at that specific country. This tip only applies to generic top level domains (gTLDs), like .com, .edu, or .org.
If you have a multi-lingual website, it’s not so clear how to get separate sitemaps for each language, when your different languages are in subfolders (e.g. mywebsite.com/en/ and mywebsite.com/fr/). Here we explain how you can achieve this by adding a simple code to your functions.php file.
Have you ever felt the need to disable certain dates/times within the date-picker of Gravity Forms? You cannot do that in the back-end. There are some plugins promising that, but usually only allow you to restrict the range to fixed dates. That’s not very useful when you want to restrict e.g. to today and 1 year ahead. Here are two easy solutions that work.