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).
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.
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.
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.
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.
When using multiple post types (such as standard posts mixed with custom posts), it may become necessary to query several types at once. Note that whenever you query posts, you need to ensure that pagination is enabled as well. You may do so by using this code.
If you’re using WordPress and utilizing Custom Post Types and multiple authors, you may want to list all the posts an author has written on their author.php page, custom or no. Here is the code that will enable you to grab the author as well as their posts.
The KM Front-End Kit has been rebooted for responsive web design! Download this HTML5 / CSS3 / jQuery front-end kit to get you started as quickly and easily as possible with your next front-end development project.
The kit has been updated to provide easily-customizable support for CSS3 media queries. The files also include fall-backs for non-modern browsers.
WordPress 3.x boasts some powerful features for creating Custom Post Types, custom taxonomies, and custom meta boxes, bringing the popular and powerful blog platform another big step closer to a full Content Management System.
Get your hands dirty with plugin-building and theme customization to make these features fully functional on your site. I’ve provided a sample plugin and sample theme files to get the WordPress theme developer up and running with their own custom post types, taxonomies, and custom meta boxes.