WordPress: Redirect Users After Log In

First, the code… Then, some explanation… For more information on this filter, read up on the login redirect filter. In short, this function sends administrators to the WordPress Dashboard after log in and everyone else to the homepage of the site. To send everyone else to a specific page on your site, replace the id […]

Disable Directory Browsing with HostGator

How would you feel if someone could view the contents of all your directories which do not contain an index.html, index.php, or other index file? Personally, I feel like my privacy has been invaded. Time to shed some light. How’s your setup? Let’s test. From your browser’s address bar, navigate to a directory that you […]

Empty Named Anchor Fix

While developing a WordPress theme recently, I tested it in Chrome, Firefox, and IE and everything worked as expected. Recently I noticed the named anchors were not working in Chrome. I narrowed the problem down to Chrome positioning the anchors on the screen at coordinates 0,0 probably because the elements were empty. Thanks to this […]

Genesis Framework Snippets

This will become my personal snippet library for the Genesis Framework. Since it is a work in progress, here are some other resources for Genesis code snippets: http://dev.studiopress.com/sitemap http://www.billerickson.net/genesis-quick-tips/ http://gregrickaby.com/2011/02/add-remove-genesis-elements.html http://genesistutorials.com/snippets http://shaynesanderson.com/blog/2011/05/24/handy-genesis-functions/ http://wpsmith.net/category/tutorials/ http://www.briangardner.com/code/

Jon Acuff: a Man of His Word

In case you don’t know, Jon Acuff is a well-known blogger/author who is responsible for the popular blog and book, Stuff Christians Like and the book, Gazelles, Baby Steps And 37 Other Things Dave Ramsey Taught Me About Debt. Back last November he wrote a blog post, ‘Can I help you with your blog?‘, and I responded […]