• Resolved tab2tab

    (@tab2tab)


    I am adding some custom meta fields to post using Advanced Custom Fields plugin, how can I get that custom fields in the description?

    Currently I get that using:
    $cc_value = get_post_meta( $post->ID, 'coupon_code', true );

    Where can I call this in wp-lynx ?

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author John Havlik

    (@mtekk)

    WP Lynx produces HTML that is inject directly into the post body. To update/edit the Lynx Print after inserting into the post, just manually edit it. Because of this, if you wanted to pull something from a post meta property into the post body, you’re going to need to create a shortcode for it (ACF may even do this for you, I’m not sure as I do not use ACF), and place that shortcode where you want the post meta value to appear.

    Thread Starter tab2tab

    (@tab2tab)

    I used short codes.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Advanced Custom Fields in description’ is closed to new replies.