Kim Maida

Resources and Downloads for the discerning Web Designer

WordPress

Jan

24

WP Custom Sharing Links

wordpress-generic

Sometimes you may want to design and build a theme that doesn’t use the same boring, standard social sharing buttons that spit iframes out all over your pages. There is a huge selection of social sharing plugins available for WordPress, but I’ve often felt the vast majority of them look and feel too much like… well, plugins. They display like what they are: disparate chunks of third party code that have been Krazy-glued onto your elegant theme.

If you want something of your own design and are willing to forgo the ability to display a count, you can try building something a little more custom. And if you’ve got a passing knowledge of template tags and Javascript, this is a piece of cake to implement! It also allows you to avoid doing things like wrapping a jQuery plugin (ie., Sharrre) in a WordPress plugin (and then possibly having to wrestle with php.ini files and server settings as well).

...read more

Jan

19

Nav link separator in WordPress

wordpress-generic

WordPress’s posts_nav_link tag allows passing a parameter for a separator and performs logic to conditionally display the separator when both prev/next links are present. However, if you want to use separate tags for previous and next post links for more custom control over the style and markup of your links, you lose this convenient conditional separator feature. Here’s how to recreate it.

...read more

Dec

09

WordPress HTML5 Blank Theme

km-h5

Download a bare-bones WordPress theme, ready for customization and styling. WordPress’s native themes are feature-rich but can be tedious and exhausting to customize out of the box. Likewise, creating themes repeatedly from the ground-up can also be an arduous task.

This template HTML5 theme contains popular features such as post thumbnails, threaded comments, menus, jQuery, and more, but with minimal styling. The template was built to be a platform for custom development and is fully ready for to be repurposed and expanded for your theme-making needs.

...read more

Jan

26

WordPress Author Bio on Posts

author-footer

If you have a WordPress blog with multiple authors, you may find that it would be helpful to display an author blurb/bio somewhere on each post. Here are some instructions to do this using the get_template_part() function. I am also including instructions on how to update your author contact methods, since the fields built in by WordPress are a bit outdated (AIM, YIM, Jabber).

...read more

Jan

10

WordPress Login/out Redirects

wordpress-generic

Many times in the past, I have found myself logging into my blog via the Log in link in my sidebar when I want to update a post. Upon logging in, WordPress would send me to the dashboard. Instead, I would have preferred for WordPress to keep me on the same page I logged in from. To fix this, you can use WordPress’s functions to set up your theme’s login and log out links to send the user wherever you’d like.

...read more

Jan

06

WordPress functions.php File

wordpress-generic

So you’ve got a WordPress theme that you’re either creating for the first time, or that you’d like to edit to suit your needs. You want to modify your theme’s functionality or add features— where to start?

This is a beginner’s introduction to the functions.php file in WordPress themes. You do not need experience in PHP to follow along, though you should have solid knowledge of HTML/CSS and be familiar with using WordPress.

...read more

Jan

03

WordPress No Post Title

wordpress-generic

When a WordPress post has no title, it is beneficial to provide fallback text that will print to still provide a link to the post.

Place the provided code in between the title permalink anchor tags in your loop to generate “Untitled Post” text for any post where the user has not entered a title. Edit the code as appropriate for your needs.

...read more

Dec

30

WordPress CSS and JS Caching

wordpress-generic

If you are working on developing a WordPress theme and you find yourself making numerous, rapid stylesheet or JavaScript changes but are frustrated when theupdates don’t show up on the web no matter how many times you force-refresh and empty your browser’s history, you’ve got cached files. Caching is a good thing, but when you want to see your changes, it can become a hindrance very quickly. This post addresses busting the cache when a file has been updated.

...read more

Dec

12

Custom Post Types, revisited

Custom Post Types, revisited

A couple of months ago, I did a comprehensive overview on how to set up custom post types, taxonomies, and custom meta boxes in your WordPress installation. Now I will revisit custom post types and taxonomies, except this time we will use efficiency rather than learning as our guiding principle and go over the quickest way to set up customization of post types for WordPress.

...read more

Blog powered by the Almighty WordPress Theme & Icons by Kim Maida Subscribe to articles feed Subscribe to comments feed Follow me on twitter Get in touch