Support

Account

Home › Forums › General Issues › Get custom post type by value? › Reply To: Get custom post type by value?

  • Sorry I didn’t get back to you sooner on this, it been a busy week.

    Yes, what you use wp_setup_postdata() you need to use $post to get values. $post is a global WP variable that is available in all templates.