Add and/or remove WordPress user fields

Posted on

Simplicity should be a key goal in design and unnecessary complexity should be avoided. Therefore, Keep It Simple, Stupid. Or, minimalism! Its certainly cause for celebration that — along with the overall, welcome minimalism visited upon the WordPress admin UI — as of the recent version of WordPress, rather antiquated User fields are no more. Navigate […]

List site contributors the WordPress way

Posted on

Render unto Caesar the things that are Caesar’s, and unto God the things that are God’s —Jesus Christ (of Nazareth) For brevity’s sake, I’m certain, “render unto the author what is his” was left out of the original synoptic gospel quote attributed to J.C. of Nazareth. R.I.P, by the way. It was implied, obviously, right? Bedtime […]

Keep your body classy

Posted on

As with Customizing the login form and adding a custom logo, a more specific selector takes precedence over any general one. This is obviously more CSS than WordPress. However, to manipulate WordPress functionality here, we need to first understand how Cascading Stylesheets work. As a web designer, you’ll find yourself needing to target and cascade […]

Make your way to the Exif

Posted on

Location, camera, lens, ISO… Get it all! A picture tells a thousand words, sure. Sometimes though, the audience wants more. They want to know where you were when you took the photo, what camera you used, what lens, what ISO… The details, child, the fans want the details! Your average visitor won’t be particularly interested […]

Redirect After Theme Activation

Posted on

If you have special instructions in your theme (eg. in your theme options page) that you’d like the user to see when they first activate the theme, you can use the following function to redirect them there: if (is_admin() && isset($_GET[‘activated’]) && $pagenow == “themes.php”) wp_redirect(‘themes.php?page=themeoptions’); Pay special attention to the wp_redirect() function. Make sure to replace […]

Show / hide the WordPress Admin toolbar

Posted on

During WordPress theme development, you might sometimes find the WordPress admin toolbar to be quite distracting. It’s in a fixed position at the top of the window and depending on your layout can cover some elements of the header. The bar adds space (margin) at the top of the page that might hide some of […]