The default output for WordPress’
post_class template tag includes class names for just about every type of page view imaginable:
Author: Jeff Starr
The default output for WordPress’
Our personal collection of useful ways to customize and format the WordPress
Everyone who has been using WordPress for any length of time should be familiar with the
--more--> tag. When you are writing a post, inserting the
--more--> tag within the post text will create an excerpt out of any text/markup that precedes it. The post will then show the default “more...” link that readers may click to view the entire post. When the
more tag is used, the post’s excerpt will be displayed on all non-single views, such as category, tag, and archive views; the entire post content will only be displayed when the single-post view is displayed. Let’s look at a quick example..
A reader recently asked about how to develop a theme on a live site such that:
- All visitors will see the current theme
- Only the designer will see the new theme
- All site plugins will work with the new theme
- Smooth transition between old and new theme at launch
These are the main concerns, but there are a few other details that need addressed to ensure smooth theme development on a live site. Let’s take a look at how to achieve these goals and effectively develop themes behind the scenes..
Implementing a solid set of navigational links for your WordPress site is one of the best ways to encourage visitors to stick around awhile and check out additional content. As discussed in our definitive guide to WordPress post navigation, there are essentially three different types of navigational tags for WordPress:
BloggingPro.com’s Franky Branckaute provides an excellent guide showing how to use the WPML plugin to easily publish your blog in multiple different languages. Seems like a great alternative to free translation services like Google Translate or Babelfish, and you can even publish each translation to its own separate (sub)domain. This complete step-by-step guide shows you how.
Let’s say your blog is set to display ten posts per page, as specified via the WordPress Admin under Settings > Reading. Once set, ten posts will appear on your home page, archive pages, search results, and so on. In other words, if it isn’t a single-view page or an actual “page” page, you’re gonna get ten posts per page. It’s a global setting.
Alex Denning of WPShout.com asks 21 WordPress theme designers, developers and bloggers why they choose WordPress for their projects. This is the first of four questions that will posted over the next couple of days. Some very interesting responses so far, and a nice presentational style to boot!
Update: 404 link removed 2013/10/08:
As a dynamic blogging system, WordPress consists of PHP files (the WP core) that interact with a MySQL database to generate the web pages for your website. When everything is working properly, this dynamic interaction keeps WordPress humming along like a champ, but when your database crashes, WordPress can’t operate and will deliver the following message to your visitors:
This post was so huge I actually had to edit and post it using phpMyAdmin directly to the database — WordPress apparently can’t handle ‘em that big! Seriously though, it’s a great post with over 75 awesome tips, tricks, and techniques for improving your WordPress site. Just some of the leftovers from the book that were too juicy to throw away ;)
Importing and displaying feeds in your WordPress themes is a great way to share additional content with your readers. Some good examples include:
By default, WordPress generates a RSS feed for the comments on every post. Many sites take advantage of this by offering the feed next to the comments area, enabling anyone to stay current with conversation. A typical feed menu for many blogs includes the following items: