The default output for WordPress’
post_class template tag includes class names for just about every type of page view imaginable:
The default output for WordPress’
Happy New Year all! I'm looking forward to what will hopefully be an awesome year, with WordPress and otherwise. I thought I'd take the opportunity to wish-o-wish upon a star and toss out some things I think would be really cool to see happen in the WordPress world.
Jason Schuller with a nice and clean technique for showing Flickr photos in a WordPress theme without any third-party code. It uses the native fetch_feed() SimplePie stuff that ships with WordPress and a helper class. Note (404 link removed 2012/07/31)
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..
If you have been waiting to buy the book until the real print version is available, today is the day! The print version of Digging Into WordPress the book is now available here. We'll probably talk more about the journey through the entire process of creating this book at a later date, but for now, let's check out the book!
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..
When someone comments on your site, cookies with the information the entered are saved to their computers. WordPress makes it easy to access that information. In fact, in your comments.php template they are ready-to-go PHP variables you can spit out anywhere you'd like. Let's take a look.
The guys over at WP Engineer have been ambitiously shelling out useful daily posts all through December. This link just goes straight to their homepage, so check that out and paginate back a few times to check out all the great articles.
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:
Let's say you want to have a special theme for your WordPress site for mobile users. You don't want to use a pre-canned solution or anything third-party, you just want to create and design the theme yourself. So what you need to happen is for the site to detect mobile users and server up an alternate theme instead. Here is how I might do it.