Forums

Display Custom Field Values in a List (4 posts)

  1. cynthea
    Member
    Posted 3 years ago #

    K, this should be really easy for someone who knows how to work with Custom Fields.

    I've created a custom field called isbn and stored values for several of my posts. When I display a list of the posts, I'd like the isbn to appear right after the title of each post. This way my users can see the isbn associated with the post. (My posts are each about books).

    Here's a snippet of the code that I have to list the posts. I've gotten this far. Now how do I get the custom field values for isbn to appear next to the hyperlinked title?

    <h3>2009 Spring</h3>
    			<?php query_posts('cat=7'.'&order=ASC'); ?>
    
    			<?php while (have_posts()) : the_post(); ?>
       			<ul>
    			<a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a>
    			</ul>
      			<?php endwhile;?>

    Thanks in advance!

  2. cynthea
    Member
    Posted 3 years ago #

    Anyone? Bumping, in case someone has an answer. If anyone can point me in the right direction, I'd appreciate it! thanks so much!

  3. iridiax
    Member
    Posted 3 years ago #

  4. cynthea
    Member
    Posted 3 years ago #

    Omg, thank you. I've read this thing over and over again. And I don't understand it!

    I guess this is just my php stupidity showing through. Sigh.

Topic Closed

This topic has been closed to new replies.

About this Topic