WordPress.org

Ready to get started?Download WordPress

Forums

ReciPress
Output [Support forum is dead] (2 posts)

  1. evoweb
    Member
    Posted 11 months 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 :(

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

  2. Brandon Allen
    Member
    Posted 5 months 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 ); ?>

Reply

You must log in to post.

About this Plugin

About this Topic