1955 Design - Web Design - WordPress - Rochester 48307 | Rochester Hills 48306 | Oakland County Web Design

Michigan WordPress Website Design

  •    
  • Team
  • Work
  • Process
  • Cost
  • News
  • Contact

How to Display a Featured Post

December 29,  2007 by David Zemens

As you may have noticed, I have implemented a “Featured Post&” module on the top of my main blog page. This module displays information about a particular post that I want to display more prominently.

I have been considering adding a feature like this for some time, but until I received some inspiration from from Philip Moore over at Big Square Blog I really had no direction on how to begin.

Philip suggests using his technique to display a post on a static WordPress Page, but I opted to use it to display a feature post on my main index template page. I used the code Philip supplied and tweaked it for my own use. Philip’s basic code assumes that you are going to display the content of your most recent post. However, in my situation I don’t want to display the most recent post. Instead, I want to identify a particular post and have the content of this post displayed in the “Featured Post” area of my blog.

After considerable thought, I decided to use two WordPress custom fields to accomplish this task. After spending an hour or so reading information about custom fields over at the WordPress codex, I opted to useI one custom field as a logical marker to identify which post to display. I used a second custom field to contain a very brief introduction paragraph describing the post. Depending on your particular blog, you may actually be able to use the WordPress the_excerpt() function to accomplish this. However, since I use a fairly detailed excerpt for each of my posts, I found that they were too long to be of use in the small “Featured Post” area.

Combining Philip’s technique with custom fields allows me to control the “Featured Post” implementation from within the WordPress dashboard. Simple, clean and effective. I am really pleased with the results.

How do you like my “Featured Post” module? Can you think of a way to use this idea on your blog?

[eof]

Filed Under: Website Design, WordPress

About David Zemens

Web designer. Lover of all things WordPress. Semi-professional dog walker. Recovering iPhone addict. Husband. Father. Grandfather to Zoey, Jacob & Andrew. Not necessarily in that order.

Let’s Get Started Today!

I am currently taking on new projects and would love to hear from you. Get in touch with me today and learn how I can put all the pieces together for your new website. You'll soon find out that I'm good at working puzzles.

Stuff I’m Talking About

  • Rochester Hills Michigan Web Design
  • David McElroy
  • 5 Signs You Need a New Website
  • Most Blessed Sacrament Cathedral
  • Miss Madison Unlimited Hydroplane
  • Great CPA Websites
  • Feedburner
  • What Now?
  • Believe in Miracles
  • WordPress Custom Fields

Get Social

  • Email
  • Facebook
  • Twitter

I Work Here

Map of our location

Even though I work in metro Detroit, I have worked with clients from Seattle, Washington to Jacksonville, Florida. That pretty much covers all the United States.

I can work with your project, too!

Where Are You Located?

I am located in Rochester, Michigan but have worked with clients from coast to coast. Distance is never a problem. I’ll communicate with you quickly and you’ll feel that I’m just around the corner – no matter the distance between us.

1955

I was born in 1955. I'm old enough to remember the internet before "www" was around. Just white text on a black screen. No graphics. This means I'm experienced. Why not use my experience to your advantage?

Ready to Start Your Project?

I am currently taking on new projects and would love to hear from you. Get in touch with me today and learn how I can put all the pieces together for your new website. You'll soon find out that I'm good at working puzzles.

Etcetera

  • Site Info
  • Site Map

Connect With Me

Learn more about what I've got to say. Talk to me. Share something. Learn something. Get social. Or if you'd prefer you can contact me in more traditional ways, too.
  • Email
  • Facebook
  • Twitter
Follow @1955Design

Find It

1955DESIGN · Rochester, Michigan · (248) 830-7393
© 2005–2023 · 1955 Design · All Rights Reserved · Admin
1955 Design builds websites with WordPress and the Genesis Framework