Based on the trick by zeo I found a way to disable editing of the following fields on a user’s profile page in the admin: e-mail first_name last_name url (site) There are for sure better ways to do the matching based upon the regular expressions but hey, it works! Place this code in your functions.php [...]
Implementing swipe events with jQuery Mobile is really easy. This example shows how you can control the browsers back and forward buttons by swiping in the left or right direction.
What got me stuck for a while, building my first app with jquery mobile, A unified user interface system across all popular mobile device platforms, built on the rock-solid jQuery and jQuery UI foundation. , was the lack of an option to peek around in the code of the examples presented in the jquery mobile [...]
In order to find out how to check for the presence of a secure connection in PHP, I looked into some https related wordpress plugins and noticed that there are several ways to check for this presence. For example, checking for the server port 443, on which on agreement HTTPS traffic should run, assigned by [...]
Recently I added attachment.php to my childtheme and noticed that the commentform displayed correctly, but the comments never showed. Snippet from attachment.php: thematic_belowpost(); comments_template(); The function call comments_template(); does not work as expected. When thematic’s own functions are used everything works fine:
Disabling firstname, lastname, e-mail and site fields on user profile page in wordpress admin
Based on the trick by zeo I found a way to disable editing of the following fields on a user’s profile page in the admin: e-mail first_name last_name url (site) There are for sure better ways to do the matching based upon the regular expressions but hey, it works! Place this code in your functions.php [...]