WereWP


Lately on the Blog

A gold mine for your functions.php file

If you have played with WordPress themes in the past, you know that there are many tutorials sites all around the web gathering and proposing small functions to insert into your theme to make it better/harder/faster/stronger…

Here is the new kid on the block: WPfunction.me

Careful though: it is sometimes better to create a small plugin than to paste yet another function in your theme!

WordPress Functions.php snippets
WPFunction.Me lets you quickly build all the functionality you need for your next WordPress project!

A Multisite local environment with subdomains

If you use WordPress multisite locally, you know how painful it can be to add a new entry to your Hosts file every time you start working on a new project. That’s why I chose to work with subdirectories instead of subdomains when I work locally.

Luckily, Konstantin came up with a simple code snippet to add as a plugin o your local instance, that will print a list of all subdomains for that instance. You only have to copy that list and paste it in your Hosts file.

Simple, quick, and a real time saver: you should bookmark this post!

WordPress Multisite with Wildcard Subdomains – Konstantin Kovshenin.