• Resolved peterjabulani

    (@peterjabulani)


    Hi, me again πŸ˜€

    I am posting this separate as will be easier for others to find the solution.

    I have managed to get the post item but is displaying a number rather than the word – this is because the word is under wp_term.

    example:
    code: <div class=”Model”>Model: ‘ . get_post_meta($post->ID, ‘wpcm_model’, true) . ‘</div>

    This outputs: Model: 4
    In wp_terms, the 4 relates to “Lotus”

    How do I go about displaying the word Lotus? – am i doing something wrong?

    https://ww.wp.xz.cn/plugins/wp-mpdf/

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Display wp_term from post ID’ is closed to new replies.