Based on the screenshot I assumed is var_dump of your $item
The code should look like
<?php $item = get_post_meta($post->ID, 'occupationalCategory', false); ?>
<?php print_r( $item['occupationalCategory'][0] ); ?>;
<?php print_r( $item['occupationalCategory'][1] ); ?>
$item contains array, with a element which key is ‘occupationalCategory’, this element points to other array with two elements
Related Posts:
- How to remove Profile Picture section or the message “You can change your profile picture on Gravatar.”
- Add field to posts (checkbox) that only one post can have
- generate unique number when registering a user
- How to get value from custom backend menu
- Allow Users to Set Password During Registration
- Custom protected password page with ACF
- Passing page url into a custom field via the Press-This bookmarklet
- How to extend nav-menu-item-control data in Appearance > Customize?
- Custom column sorting in WordPress admin post table
- Hide custom field if empty
- Query posts by category AND custom field, then ORDERBY another custom field – help!
- list/consult Taxonomy only for the respective author/creator in dashbboard
- Advanced Custom Fields: Sorting custom columns with custom fields sorts only by date
- How to change popular term checklist title when edit post?
- Add a date updated/date modified option using custom fields
- How to add textarea field to taxonomy (tag)?
- How to add an extra button on woocommerce shop page and use it to send the product info with image in a mail? [closed]
- Woocomerce custom billing address fields display in order details [closed]
- How to list custom fields as headers and list all pages sharing that custom field under it?
- Redirect to another page using contact form 7? [closed]
- What requirements for ACF custom fields key and name properties?
- How to insert a writing panel between the title and the page content?
- Is there a way to add a new value into a stored custom field value?
- Toggle custom fields?
- Get users based on month ACF datepicker field
- What is the best way to modify Admin Panel on WordPress?
- how to make a custom field readonly or disabled by user role?
- theme customizer – can a single option pass multiple values?
- Let author add field to metabox by pressing a button
- How to auto add nofollow to links in custom field?
- Is it possible to add custom badges to product attributes conditionally, based on custom field?
- How to get Previous Visited Page Information
- WordPress category custom title
- No plugin populate user information in to form
- How can Use custom input field in functions.php page?
- Simple custom attributes on posts
- Use a custom page with dynamic content as a user profile page
- Query Product categories what have a custom field
- Static Page, need Last and Next links at the bottom
- Adding a drop-down (select tag) option under Menu Settings in WordPress Admin
- Replace publish date in blog module with custom field
- How do I enable the text editer in my WordPress theme? [closed]
- How to add H1 Tag on Homepage?
- Add commentmeta custom field to every published comment with SQL
- Does WordPress support template resources/custom fields
- Change post template the proper way
- Save And Display Mp3 Audio files on WooCommerce product page with Dokan
- Advice how to connect custom database with WordPress, change data in WordPress and finaly use this data
- Add custom information in editor summary
- don’t publish custom post type post if a meta data field isn’t valid
- Should I delete the default themes?
- Moving WP install from local to live, what about wp_posts GUID?
- Rename UPLOADS folder with custom WP_CONTENT_DIR
- Upgrading WordPress and Plugins; any Tips to Avoid Trouble?
- Modify column_author in WP_Comments_List_Table
- What are the ways to use WordPress as a user generated content site
- Converting primary keys from autoincrement integers to UUIDs
- Adding Custom Link anchors in the top menu that points to specific sections of the site home page
- TinyMCE default link target to “_blank”
- setting a specific home page for logged in users
- Page with several user editable text content
- Fast way to add countries as a custom taxonomy term?
- How do I read the value of a custom field of the page?
- Programmatically add a custom page/path/url/route to WordPress
- get_post_meta in sitewide tags plugin fails to return value for custom fields
- Is it possible to have one page with multiple items, or 2 blogs on a site?
- Function to allow “Anyone can register”?
- Fatal error in wp-admin/customize.php after fresh install due to null $wp_customize
- query usermeta from custom field
- Localization: I want the backend: english and frontend in defined language
- Theme compression/ minifying or W3 Total Cache – which should I use? [closed]
- How to remove all the items under “Personal Options” on user profile page?
- Extend WordPress Core Classes in OOP Theme?
- Can I integrate wordpress with my current website so I can utilize the wordpress plugins?
- Sticky menu for WP custom menubars
- How do I list custom taxonomy terms with the links?
- How to unpixelate logo?
- Remove header title form page through CSS [closed]
- custom css and javascript not working on page defined as template?
- How to add Custom Css within the Editor?
- Custom admin menu items
- ACF unable to use user field
- Taxonomy template is not reading
- Conflict between Yoast SEO and my custom theme
- How do I target this page specifically?
- Local Shortcode Using WordPress Custom Fields
- How to send email with wp_mail() with from email taken from contact form instead of the host?
- I need to display post related info
- Custom single page based on which custom page template is selected
- Using Hooks. Thematic
- Custom MySQL query to list post
- menu customization
- Modifying a local template
- How to apply styles to the custom page template
- Changing displayed photo when shared via facebook
- Cannot add custom css in site
- Problems with WP 6.1.1 and the get_user_meta() function
- Show last child Child category instead of first child category on page
- How to search for replacement titles and contents, excluding image URLs
- Modifying posts based on category in TwentyTwentyTwo theme