I checked the code in the repository, and this specific function doesn’t have an ID parameter, meaning that it only grabs the CF of the current post/page being displayed.
A fast solution would be:
$my_page = get_page_by_path( 'my-page' );
$meta_values = get_post_meta($my_page->ID, 'custom-field-name', true);
Maybe the plugin has another function for that, but you’d better ask in the plugin support page http://wordpress.org/tags/types?forum_id=10
Related Posts:
- Individual Widgets per Page
- Having different sidebar content for MANY pages?
- Custom per-page sidebar widgets .. possible?
- Get custom field values into the sidebar/widget?
- Add multiple images to a page sidebar
- Is there a way to dump all registered sidebar/widget?
- custom filed from post in the side bar
- Add class from custom field into widget class
- Is there a way to set default custom fields when creating a post?
- Underscores in custom fields
- Add custom field to the archive page?
- So much data in postmeta
- Show only posts which can be commented OR have custom meta field
- Need small coding with Custom Fields Search
- Show Custom Comment Fields when editing in admin
- How do I make a custom field choose an image?
- get_post_meta() unserialize issue – returns boolean(false)
- How can I remove fields in the attachment editor?
- Unable to get Preview of Uploaded image within a Custom Meta box
- Edit Custom Database Tables in WordPress
- How to store the value of a custom field dropdown select for post referencing?
- Gutenberg Custom Block
- Change content before writing to database
- post meta data clearing on autosave
- WordPress Search Custom Meta Field Only
- Loop through two different sets of custom fields
- Query Problem – Show posts within category ‘x’ that have a custom field between ‘y’ and ‘z’
- Add description text under input field for new profile fields
- Which is best in the following scenario : post_meta vs custom table vs parent/child posts
- Echo values from custom field outside loop php
- How to add content at the end of posts?
- Get all posts that do not have a specific custom field without using a subquery
- Transfer self made functions.php custom fields to Advanced Custom Fields [closed]
- Complex WP_User_Query call fails on production server
- How to query posts with certain custom meta data, and output Post data
- Custom Fields Not in Search Results
- add_action and remove_action if custom field exists
- wordpress custom fields multiple data
- How do I define post titles as images using Custom Fields?
- How to show Small Box Inside Content Area, which holds (text, images, links)?
- Sort custom field by post
- Store array as single, serialized post meta field or many post meta fields?
- Get an advanced custom field after post publish
- Why the pagination for a query modified by pre_get_posts doesn’t mind the number & order of posts sorted & selected based on a custom date time field
- Trying to update_post_meta function
- How do i add custom fields to my themes template file?
- Custom Field to a Role?
- List users by sum of all their posts’ custom field values
- Pull custom fields from custom posts within a loop
- Ordering posts by custom field named “date” in backend
- How to pass page as an argument like post in WordPress?
- WordPress set custom field to true, sets all others to false?
- Shortcode To Display Post Custom Field Value in Post Title, Post Content
- edit_tag_form_fields is depricated but tag_edit_form_fields doesn’t work
- How to make a customized user registration form using the built in wp-register() template tag
- Link FROM attachment to full post and get custom fields values on attachment page?
- Getting the Featured image URL and inserting it as Custom Field on Post update / publish
- Adding custom field and querying from post table
- How to display a product features dynamically with icons?
- How to copy data from a custom field to the post_content?
- Pass PHP through redirect and custom fields
- MetaBox not saving after empty
- How can I create a profile field group that the user can’t see?
- Custom field as featured image caption
- Update custom field values on edit address page woocommerce
- Is there a (sane) way to get all custom fields for a post, which do not have a leading underscore?
- Custom wpdb query – how to sort post by another table meta_count
- Rewrite comment form post ID on submit
- Add a custom field to my custom post type and then get posts which are before the given date in the custom field
- Move the metaboxes to the very top of post editor
- Custom User Dashboard
- WordPress Rest API custom field not updating till i manually update the post
- Custom Fields not working properly
- Custom meta POST request fired twice when updating a post in Gutenberg
- add meta box considers the selected option as post parent
- Custom fields multiple commas separated values
- How do I display a custom field in an existing form on the front end?
- Add custom field information to source meta data
- How to save array option as text and not integer?
- Delete custom meta
- Extend WP_User_Query or WP_User to return all custom fields?
- Quicktag button to automatically add a custom field to a post
- Display custom fields only if it has a value
- WordPress taxonomy child image
- Create custom fields/meta data gender+country – radiobuttons and dropdown on register screen for these fields
- Add nofollow to custom field link and make domain exceptions?
- Override edit_custom_walker.php to conditionally show input depending on menu position
- wordpress simple post multi rating with post_meta and user_meta
- Custom fields are not displaying in page with multiple loops
- Change event firing in wordpress
- Download stuff after filling fields?
- Get multiple posts with some custom fields efficient
- Custom search with meta fields
- Adding custom field to Lightbox in header only pulls current page data, not Lightbox item data
- Meta boxes not displayed, data isn’t being saved
- Custom registration form and custom field
- Get single image from custom fields made with WCK custom fields creator
- Custom field for image, not showing image!
- How can i put a custom field inside this php
- Archive for custom fields?