Found the issue to be the types_render_field() function (I am using the Toolset plugin). Switched to using get_post_meta() instead and it works fine.
Related Posts:
- How to paginate wordpress [gallery] shortcode?
- What kind of object type is WP_Query?
- Last post ordered by publish date using WP_Query on front page
- Calling a wp_query $posts causes a 500 error
- Shortcode returns escaped HTML tags
- WP_Query in a shortcode
- ‘&’ causes an error in my shortcode when I list the content of the page
- Can certain (site-crashing) limitations on WP_Query in shortcode be overcome?
- How to retrieve current page WP_Query arguments?
- wp_query add arguments using array_push if variable met
- Category attribute not working in custom shortcode
- Meta Query Array Error 500
- How to get all child pages in their parent page?
- Database Queries Optimization with new WP_Query
- Orderby is working with one query but not with other
- Shortcode for latest -not expired- posts
- Gallery shortcode numerical sorting
- How to filter a query by date in a shortcode?
- How should I approach changing the template & $query as part of a shortcode’s execution?
- Shortcode Not Working in Slider When Added To Post Title
- Shortcode for custom query not returning results when attributes are added
- How to Display Shortcode in the correct location, currently displaying before content after Page Title?
- WP_query only displays one of my custom post type entries
- Assign a minimum result count for WooCommerce query shortcodes?
- Using a Shortcode to List Posts from Multiple Categories
- embedding shortcodes in php template
- How to get specific string in explode array?
- Trouble passing attribute into shortcode function
- Woocommerce Shortcode which displays a table with product data
- WP Query by 4 different taxonomies
- create custom shortcode wp and put php code in
- How to display a post(by id) along with css in a page?
- pages shortcode filtering by category
- WP_Query & shortcode : Return 3 articles from a category WordPress
- Query by Category and Custom Field – Shortcode
- How to take parameters from a function and make them editable as attributes in a shortcode
- How to modify WP Query to target the first most recent post to adjust content
- Object of class WP_Query could not be converted to int inside shortcode
- How can I create another instance of my custom shortcode
- Get Current CPT taxonomy category in shortcode
- Custom shortcode not displaying categories and correct date
- return wp query results in a shortcode
- More efficient query to display posts in same sub-category?
- Having Trouble Running Query From Shortcode Using Tribe’s Events Plugin
- shortcode using multiple WP_Query’s with multiple category names not fully functional
- Shortcode does not display pagination [duplicate]
- How to write a query-function as a query-shortcode?
- shortcode with $atts with strange results
- WP_query shortcode inside acf Repeater breaks the repeater loop
- How to prevent WP query searching in executed shortcodes
- How to create a three column blog layout with a single query and with three different classes?
- Show posts without term
- paginate_links ignore my format
- Hook/action after WP_Query gets posts to query custom tables for post-related meta
- Add the “active” class only to the first loop item in a WordPress query [closed]
- Display Posts by modifying the where clause only for my query
- Using AJAX to return search form results
- How to get a category in a list item class
- Should close $wpdb via $wpdb->close()
- Finding post content that begins with a specific character
- WP_Query with multiple meta fields filter?
- Get posts for last working week in WP_Query
- How to select events within current week using wp_query
- Display posts from only one post form in custom query and exclude in main query
- Get pagination working for custom loops within page templates
- Custom posts visible in admin, but truncate in public
- Query to get siblings and parent page
- Why does get_posts only show results for Admins or logged-out users?
- WP_Query posts with comments only
- Default permalink structure causing Notice: Undefined property: WP_Query::$post
- How to check the array values, what WP_Query has brought to me?
- How to Order a list of taxonomies? orderby?
- Get posts that do not have the same tags as current
- queried_object using pre_get_posts gets notices and warning
- Expecting statement error from php loop using ACF plugin
- Get specific ACF key and value from all posts – no access to DB
- Query only displays one page_id
- How to exclude a category name from showing?
- I am officially missing something about transient posts
- Register Taxonomy – What is `query_var`?
- Get Post ID as a separate RSS feed item
- how to retrieve WP_Query without ordering by date [duplicate]
- Block internal search queries with pre_get_posts and regex rules
- Is it possible to give a classname to specific comments in the WordPress admin?
- How can I have sticky posts while ALSO showing posts from a specific category using one WP_Query?
- How to upload 3 attachments to current post?
- How to delete a complete forum topic from root folder in wordpress
- meta_query is not allowing to show posts when querying multiple arguments in a WP_Query
- Showing the correct number of posts_per_page when avoiding the use of post__not_in
- WordPress Bootstrap Grid
- WP_Query within save_post doesn’t include the item that triggered the action?
- Search format not matching taxonomy query
- Pagination doesn’t work for home page custom post type query
- How to display comments list by order when clicking on newest or oldest link?
- Get the number of rows from $wpdb->get_results not working
- Loop issues when creating custom query for media uploader
- Query multiple taxonomies with pagination
- have_posts order by title descending
- How to handle wp_query?
- Extra filtering on post query