Well done, me – I totally killed my own Web site yesterday. I feel stupid but I’m documenting the fix because it might save someone else an hour entering all the wrong search terms into Google and worrying they’ll never sort out the problem. So, what did I do wrong? Well …
WP PHP Hacks
This little PHP snippet allows you to selectively display content to users who are, or who are not, logged in.
I know there’s a plugin which will get rid of that irritating ‘Howdy’ greeting but here’s a simple snippet of PHP which will do the same thing.