Support » Plugin: ReciPress » Output [Support forum is dead]

  • 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 🙁

    http://wordpress.org/plugins/recipress/

Viewing 1 replies (of 1 total)
  • 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 ); ?>

Viewing 1 replies (of 1 total)
  • The topic ‘Output [Support forum is dead]’ is closed to new replies.