How to redirect users back to the page they were on when they clicked “login”.
Did you know that you can replace text using Javascript? I wrote this script for our company intranet. In our staff phone directory I show the internal 5-digit phone number by default. Clicking the number reveals a 7-digit external phone number. Try the demo.
Delete all the comments marked as spam automatically using cron.
WARNING: All of the recommendations in this post work off of a test database. The following commands could damage your live site if not tested first. Always work off a test site, then perform a database backup before doing any of these things.
I was faced with a challenge at work this week: I wanted [...]
Here is how to do a search and replace for a specific Custom Field value in WordPress. Works for all posts that have that value in a specific Custom Field.
