Custom Field Hacks For WordPress

Custom fields are a great little thing. They allow you to easily customize your blog with only a little bit of code. Below is a succinct explanation on how to do it, courtesy wprecipes.com

Open your single.php file (You can also modify your index.php file) and paste the following code anywhere within the loop:

$customField = get_post_custom_values("mood");
if (isset($customField[0])) {
echo "Mood: ".$customField[0];

Save the file. Now when you’ll write a new post, just create a custom field named mood and type your current mood as a value.

18
Aug 2009
Category

Development

Comments No Comments

Blogs

Setting up a blog for the first time is really simple. WordPress touts a 5 minute install, and they are right, it really does only take 5 minutes. But what happens after that?

[arrow_list]

  • What plug-ins do I use?
  • How do I implement a custom theme?
  • How can I add a list of related posts?
  • What is a custom widget?
  • Why doesn’t my sticky post, stick?

[/arrow_list]

Thats where I come in.  I will guide you through the blog setup process and get you on your way.  I have experience in:

[arrow_list]

  • Designing and implementing a custom themes.
  • Creating special plug-ins to deliver featured information.
  • Modifying existing templates to better fit the goals of the blog.
  • Developing unique widgets to implement lead generation.

[/arrow_list]

01
Jan 2009
Category

Develop

Comments No Comments
TAGS

Blogs

Blogs are a powerful force in cyberspace. Having a successfully designed and developed blog can put you ahead of the curve. But where to start?

[arrow_list]

  • What is a blog?
  • How is a blog different from a website?
  • Which blogging service do I choose?
  • What are themes?
  • How does it all work?

[/arrow_list]

The start of the blogging process can be a bit overwhelming. I can guide you through this process, designing a blog that successfully expresses your company or individual personality. Creating a custom theme solution, or helping you to adapt one of the many existing themes on the web.

(This website is powered by WordPress)

01
Jan 2009
Category

Design

Comments No Comments
TAGS

,