19 Responses

  1. donalyza
    donalyza November 17, 2007 at 12:36 pm |

    This is what I’ve been looking for. Thanks for the tut. I’m planning to make a music review. How do you add ratings on this post?

    Reply
  2. Justin
    Justin November 17, 2007 at 1:05 pm |

    Donalyza, right now, we’re just covering the basics. Then we’ll get through some of the “cooler” stuff. I’ll probably add that as part of the tutorial though.

    If you’re going to follow this tutorial and use ratings through custom fields, I suggest creating a Key named Rating and giving it a Value of 1, 2, 3, 4, or 5 or so, depending on what you want your ratings to look like. We’ll work on adding images for ratings later on.

    Reply
  3. donalyza
    donalyza November 17, 2007 at 4:49 pm |

    yey, looking forward to your next tutorial. thanks!

    Reply
  4. K
    K November 18, 2007 at 10:48 am |

    Hi Justin, a very nice tutorial. Can I use this for “song of the day” on the bottom of every entry instead of books?

    Reply
  5. Justin
    Justin November 18, 2007 at 3:16 pm |

    Yes K, you can just use these simple techniques to do whatever you want. We’ll be getting much more complicated than song of the day though.

    Reply
  6. Marina
    Marina November 22, 2007 at 7:48 am |

    Hi Justin, you wrote “Open your file from the previous tutorial (home.php or single.php)”… to which tutorial are you referring to? Thanks and nice tutorial :-D

    Reply
  7. Justin
    Justin November 22, 2007 at 8:57 am |

    Marina, I’m not sure why the text of the of Part 2 of this tutorial is showing in part 1. I’ll try to fix this.

    Update:, I’ve fixed it now. I guess I was so tired when writing Part 2 the other night that I accidentally overwrote this Part 1. I knew I had opened the post to look at something, but I made a boo-boo. I hope you stop back by and follow this section of the tutorial first.

    Reply
  8. Marina
    Marina November 23, 2007 at 2:48 am |

    Cool! Thanks Justin :-)

    Reply
  9. deepa
    deepa December 18, 2007 at 12:06 am |

    short tutorial but great information. can you give me some idea/code snippet for a custom variable like below.

    Key : available_data
    value : a data value.

    I am looking for a way to display only the posts if the available_data is less than system date (current date)

    Reply
  10. donalyza
    donalyza January 4, 2008 at 7:49 pm |

    Hi justin, its me again. I’m just curious why are the custom fields are not showing in my rss reader, the only thing that shows up are the things written in my write post.

    Reply
  11. Justin
    Justin January 7, 2008 at 1:37 pm |

    Deepa
    I don’t know how I overlooked your comment for so long. Sorry about that. I’m not sure if this is a custom field thing though. Maybe if you could give a few more details, I could help a little more.

    Donalyza
    Custom fields don’t show up in your feeds. I am doing some research into how to fix this issue with WordPress at the moment. That’s the problem with custom fields — they’re not well-documented, which is a reason I’m writing these tutorials.

    It looks like it’s going to take some editing of your feed files to get it to show up in your feed reader though.

    Reply
  12. wenedeux » Blog Archive » Hello world!
  13. M Martin
    M Martin March 9, 2008 at 2:45 pm |

    Very thorough, You guys are really expanding on all this and it’s great.

    Reply
  14. Derek Perkins
    Derek Perkins April 7, 2008 at 1:19 am |

    Your tutorial is great. My only question is how you duplicate your fields from post to post. If I’m going to be doing a lot of book reviews, to use your example, I don’t really want to be typing in and creating the keys on every single review I do, especially given that any typos will cause things to display improperly or not at all. Is there any way to automatically duplicate the field keys and then just change the values?

    Reply
  15. James Eaton (bananabob) 's status on Monday, 27-Jul-09 07:48:41 UTC - Identi.ca
  16. Usare i “Custom Fields” di Wordpress – Parte 2 | Tekné
  17. Jon
    Jon November 5, 2009 at 3:01 pm |

    Hi, great tutorial!

    How can I get the custom fields into columns? Like this:

    Picture Example Example
    Example Example
    Example Example

    Reply
  18. Nathan Nash
    Nathan Nash January 26, 2010 at 6:26 pm |

    Is the label ‘key’ now ‘name’? This is how custom fields are displayed in wordpress 2.9.1

    Reply
  19. Debbie
    Debbie June 21, 2011 at 8:09 pm |

    Great post, however, how do I get the page with the excerpts (posts that say continue reading) to be formatted porperly? The fields mix in with the post. Do I have to modify the_excerpt() function to accomodate this?

    Reply

Leave a Reply

By submitting a comment here you grant this site a perpetual license to reproduce your words and name/Web site in attribution.

Please use your real name or a pseudonym (i.e., pen name, alias, nom de plume) when commenting. If you add your site name, company name, or something completely random, I'll likely change it to whatever I want.