You got ARRAY echos because you saved array on post meta,
Just check array values of meta data like:
print_r( get_post_meta($post->ID, 'ptn_systeem', true) );
and echo it like:
foreach( (array) get_post_meta($post->ID, 'ptn_systeem', true) as $option):
echo $option . "<br>";
endforeach;
Related Posts:
- Order by & include array by specific post ids
- Get list of all registered post types slugs
- Limit the post for differents custom post type in the same wp_query
- array_pop() expects array, boolean given for $event_type_term ->slug
- Save custom post type in different table
- Automatically adding meta data to posts or multiple query help
- Create a post in custom post type using field in registration form after users submit form
- My theme saves their custom post type’s metadata as a serialized array, how to access the keys?
- Save an array from drop-down in custom meta box
- How to store multiple values in 1 meta_key with radio input?
- Display a CPT based on a metabox selection
- Display post content with respect to its title?
- Storing a many to many post type relationship in post meta and keeping SQL ability for Joins
- Limit the post for differents custom post type in the same wp_query
- Custom Post Types — $args vs. labels array
- Get an array wich contains the post_name of every post that has the custom post_type “pelicula”
- Add first letter of titles to array, then compare arrays
- Query Custom Post Types with checkboxes
- Create Array from custom post type to display a slider
- Inefficient Query Confusion
- Querying multiple values from a single key
- Check if user has comment on current post
- get_terms() returns Trying to get property of non-object error for custom taxonomy
- Custom Post Type Field Array parsing [closed]
- Getting custom post types to properly display alphabetically
- How can I loop at a Specific Taxonomy from a custom post type?
- Update value inside array update_post_meta
- Custom archive page for custom taxonomy and pagination issue
- Get an array of the number of post per year of a custom post type (WordPress)
- Query when is one or several values
- Staggering featured post using ‘sticky’
- If custom taxonomy exist on post?
- Convert Custom Post Data to Javascript Array for Autocomplete
- Trying to get custom post type attachment images to function in indexed array
- CPT and metabox: create multi checkbox by using array?
- Pulling in Related Posts based on Post Type array
- WordPress custom field images not getting inserted into array
- Meta-Box to add multiple items one at a time and on publish save all
- Custom Post Type Author Array Problem
- taxonomy terms array not working
- Display custom posts in checkbox list
- posting twice from an array?
- create functions based on array values
- Display custom post type attached media file sizes
- post__in select all custom posts and not the selected array of ids
- Set posts of a custom post type to be private by default?
- register_post_type sort order by title by default
- Custom post types – Use post_id in permalink structure
- Permalink rewrite 404 conflict- WordPress Taxonomies/ CPT
- wp_insert_term doesn’t work with custom post type’s taxonomy
- Order users by number of posts
- How do I redirect all 404 errors of a specific post type to another URL?
- Priority of Meta Box for Custom Post Type
- Using previous_post_link and next_post_link to wrap around post sequence
- Same base slug for CPT post and CPT taxonomy terms
- Replacing the title in admin list table
- Get URL for specific post type and current tag
- How to set custom post type as post title to avoid ‘Auto Draft’
- How to validate custom fields for a custom post type before insert?
- Structure for projects and clients
- Formatting custom meta box date from YYYY/MM/DD to a more readable alternative
- Prevent authors from creating new posts of specific custom-post-type
- How can I get the first 50% of all posts (within a custom post type)?
- Separate comment section for post type in dashboard
- get_terms showing all categories instead of the ones assigned to a specific post
- Group posts by custom post type
- Subpages for Custom Post Type. Does that even exist?
- How to use load more custom post type data normal or according to on click category tab In WP
- ACF Field on CPT Slug
- Is it possible to create custom post type inside another CPT?
- Allow duplicate slugs for custom post type with taxonomies
- Broken featured images are uploading from frontend
- Meta Query Not Returning Output Despite Having Matching Values
- Pre-selecting the category for a custom post type
- Custom post type archive pagination 404
- Use “archive” as slug for custom post type
- Displaying custom field according to date
- Multiple pages per post (not pagination)
- Author posts not appearing for custom post type
- Unable to edit categories in custom post type
- Creating shortcode id for custom post types
- does wp_insert_term link the term to a certain post ID?
- Ideas to connect external database table to wordpress posts as custom field source
- Custom post type category permalinks and archive pages
- Submit Custom Postypes from frontend
- Navigate by Tags inside a custom Post Type
- How to display posts from a certain category in a bootstrap 5 carousel loop with multiple items?
- programmatically generated custom post type is created more than once
- How to show posts of the same category on a page?
- Button link display in shortcodes using custom field in ACF
- Can I manage current & past editions of an annual event with a single WordPress install?
- Taxonomy to Post Type. Every Taxonomy Item can be Producer or Developer
- WordPress Front-End user restricted taxonomies
- do action inside a class is not working
- Edit post meta direct from post.php?
- Custom Post ‘Post Per Page’ Crashing Page?
- Create an additional template page for every term taxonomy
- Change the text on the Publish button
- Loop through multiple custom taxonomy terms and display posts for a custom post type
- strange conditional tag behaviour [duplicate]