Click to Play

What’s Killing the Newspapers?
As ironic as it may be, newspapers are currently topping their own headlines. Well-known newspapers such as The New York Times, Chicago Tribune, and the...

Recent Articles

Supplementing Your Income With Freelance Web Design
As a freelance web designer there are a number of different methods for creating income than just making websites. Some of those are more passive than others and there are quite a few that won't generate income immediately but could easily lead to more business. Understanding these methods...

Some Basics of Web Design
When you decide to start up a website, or even redesign an old one, there are some basics of design you'll want to keep in mind. Everything from the appearance, to the navigation, down to the coding. When you look at...

Inspiration and the Client
If you've been checking out DesignNewz for awhile, you might have noticed me guest author the newsletter from time to time. If you're a seasoned designer or are just starting out, one of the best things to help clear...

Adding Expiration Date To Headers
I've been tweaking the performance of BlogEngine.NEXT today using my favorite tool: YSlow for FireBug. One of the things YSlow checks for is the expires HTTP header for static content such as images, script files and...

Check Top Internet Browsers For Site Compatibility
I always test my sites in the latest crop of browsers - FF, IE, Safari (Mac and Win), Opera. I'm still supporting IE6, unfortunately, but once IE8 comes out I may put a stop to that. Mostly I don't find it too horrible; a few...

The De-Applefication of Web Design
The glossy button. The shiny floor. We've all done it. The iPhone is a groovy new gadget but it’s perpetuating the overuse of Apple-style design on the web. Thanks to the proliferation of this design trend, the entire internet...


05.18.09

New Design Structures For WordPress

By Barry Welford


The WordPress blogging software is quite rightly immensely popular. The Open-Source community that supports it has developed a whole raft of supporting code and applications that make it a pleasure to use.

This blog and the other SMM blogs now have a slightly different look. This is because we are now using a feature of WordPress, Multiple Loops. The beauty of WordPress is that the concepts are all very easy to understand. This particular feature will hopefully give much more reader satisfaction.

There are two elements to the change. The first is that you will now only see one blog post when you visit. Although Google tries to be helpful, it can occasionally provide more from a blog that you wish to see. Now you will see precisely the blog post that is relevant to your keyword query.

The other element is that at the bottom of this single blog post you will now see a list of the most popular blog posts as determined by our visitors. If you like what you see in the initial post then perhaps some of the other blog posts may tweak your interest.

The changes to the theme required for this new look are very straightforward. Hopefully this simple explanation will help you apply this same approach to your blog if you so wish.

Ektron CMS400.NET Now With PageBuilder:
Instant Demo

The WordPress Loop

Web pages in a blog are produced by WordPress templates. These are files with names such as index.php or single.php. Within these template files, the heart of the WordPress software is code which is called The Loop. The WordPress Codex gives a more detailed explanation of The Loop In Action.

The content of all blog posts is held in an associated mySQL database. When a blog web page is displayed, the web page will show certain information for every blog post entry that fits the particular database query implied by your selection of web page. For example, if you want the most recent blog post, then the loop picks up only the information on that blog post. This is illustrated by the following image of a WordPress blog page.



Continue reading this article.


About the Author:
Barry Welford, President of SMM Strategic Marketing Montreal works with business owners and senior management on Internet Marketing strategy and action plans to grow their companies. He is a moderator at the Cre8asite Forums and writes on current issues on the Internet and on the Mobile Web in three blogs, BPWrap, StayGoLinks and The Other Bloke's Blog.
About DesignNewz
A collection of articles and tutorials for professional web designers, DesignNewz features software reviews, helpful tips and shortcuts for design professionals of all skill levels.





DesignNewz is brought to you by:

WebProNews.com Jayde.com
MarketingNewz.com SalesNewz.com
ActivePro.com InvestNewz.com
eCommNewz.com WebsiteNotes.com
AdvertisingDay.com ManagerNewz.com
SoHoDay.com CRMNewz.com





-- DesignNewzis an iEntry, Inc. publication --
iEntry, Inc. 2549 Richmond Rd. Lexington KY, 40509
2009 iEntry, Inc. All Rights Reserved Privacy Policy Legal

archives | advertising info | news headlines | free newsletters | comments/feedback | submit article


DesignNewz Home Page About Article Archive News Downloads WebProWorld Forums Jayde iEntry Advertise Contact