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.

Want to receive feedback on the quality of your theme/plugin?

If you have ever downloaded plugins from the WordPress repository, you know that their quality varies a lot. That’s why it is a good practice to use plugins that were developed by well-known and respected plugin authors, and/or that have been downloaded a lot already: you know that the code has been reviewed, that the users before you have found bugs if there are any, and you can get a pretty good idea of the overall quality of the plugin by just looking at the open forum topics.

But what if, as a plugin author, you could add a stamp, a “certified” mention that would indicate that your plugin or theme was carefully tested? And as a user, wouldn’t it be reassuring to see that the code you are about to install on your site has been tested?

Continue reading →

Using post formats? You need this new plugin!

If you have played with WordPress post formats, you know that they can be really powerful, but that so far the Edit panel interface does not provide any special tools depending on which post format you selected.

But Alex King and his team have now released a plugin that creates a great Post formats UI. A must-use!

I have always be bothered that if I wanted to have a nice-looking link format for, I had to use custom fields. Luckily, this plugin creates new meta boxes for each custom field that is needed to make your post formats look good.

WordPress Post Formats Admin UI : alexking.org.

The code is hosted on GitHub, so you can fork and contribute if you want to.

Preview all new features of WordPress 3.3

If you wish to have a look at the upcoming features that will be included into the next major WordPress release, Andrew Nacin walked through all new functionnalities in the following video.

I am not sure which feature I prefer so far: there are so many new cool things coming up! The pointers, the new media uploader, the responsive admin interface, better handling of the permalinks… Which one is your favorite?

via WPTavern

Discover Custom user taxonomies with Justin Tadlock

When WordPress 2.8 came out, we all discover the wonders of taxonomies, and how we could add extra information to our posts and custom post types really easily.

However, it turns out taxonomies have existed for a long time and are not just available for posts, but for all object types. I for one had no idea about this!

Luckily, Justin Tadlock is here! In this tutorial, he covers the basics and examples of what you can do with custom user taxonomies in WordPress; a must-read, as with all tutorials from Justin.

Read the tutorial here: Custom user taxonomies in WordPress.