Posted by: Vincent on: March 29, 2011
This function is vaguely inspired by the function bp_core_set_uri_globals from BuddyPress. I use it often for more advanced plugins and themes. With it I can check which URL is being viewed and perform actions depending on the url. This functions gives me an array with the pieces of the URL in an array. If I’m [...]
Posted by: Vincent on: March 24, 2011
If you want to list your posts and order them by title, that is as simple as: But if you are using international characters and/or another alphabet the default database settings may mess things up for you. In Sweden for example, the last the letters in the alphabet are Å, Ä, Ö. So accordingly, posts [...]
Posted by: Vincent on: March 23, 2011
One of the bigger projects I am working on currently has 30k+ users. Having that many users means that many also will reset their password, and you will receive an e-mail every time. So how do you disable it? The function sending this e-mail is called wp_password_change_notification and is declared in pluggable.php. The great thing [...]