Output [Support forum is dead] (2 posts)

  1. evoweb
    Posted 2 years ago #

    Hi, i tried through their forum to get an answer, but its dead.

    i have used the following code to output some data in archive page:

    Result: <?php echo get_the_term_list( $post->ID, 'ingredient', $attr); ?>

    but values show like this: oniongarlicpepper and i want to be shown as onion, garlic, pepper

    Any ideas how to manage that?

    I would also like to know how to output hte 1st box of insturctions. I tried

    Inst: <?php echo get_the_term_list( $post->ID, 'instructions', $attr); ?>

    but it does not work :(


  2. Brandon Allen
    Posted 2 years ago #

    Try this:

    <?php echo get_the_term_list( $post->ID, 'instructions', $attr, ', ' ); ?>

    for the ingredients list.

    For the instructions try

    <?php echo get_post_meta( $post->ID, 'instructions', true ); ?>

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • ReciPress
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic