Yes, grab the value via get_post_meta
, then it’s just a matter of generic PHP loops and string manipulation.
Try using the explode
function with \n
as the separator to create an array you can loop through. You may need to check for empty values since some of your lines are blank, but the get_post_meta
part is the only part of this question that requires WordPress knowledge:
$data = get_post_meta( $post_id, 'What Responsibilities Will I have?', true );
$lines = explode( '\n', $data );
// now do things with the $lines array
Related Posts:
- Order posts by custom field and if custom field is empty return remaining posts
- Calling Specific Pages with wp query Part II
- Loop through two different sets of custom fields
- How do I exclude posts by custom field value?
- Echo values from custom field outside loop php
- Upcoming Event: How do I sort database by custom date field, but ignore past dates?
- Calling custom fields for pages (not posts)
- Duplicate posts being displayed when querying Custom Fields
- Loop to display random posts only if a custom field matches category
- How can I show custom fields in the loop only to specific user roles?
- get_posts that match a user-specified value on a page
- Accessing loop functions (e.g the_title or the_content) from post ID
- Limit the number of acf content when displaying in post loop [closed]
- Is there a better way to list all database terms alphabetically?
- Change the main loop WordPress impact on the server?
- custom-meta-box checkboxes from loop won’t save
- How to show a post if was published less than two hours ago?
- List users by sum of all their posts’ custom field values
- how to make nsfw post with thumbanil
- Custom Query based on custom field of a single post
- Efficiently sort only certain categories by custom field
- Can I access a post meta field before the loop?
- Displaying page image in the footer automatically
- Show image if author meta (profile fields) exists outside loop
- Can’t query by meta_key
- ul list with only as many li’s as filled custom fields
- Loop through incrementing custom fields
- do_shortcode close
- Search Results Page – Displaying Custom Meta Fields
- Interrogate a page within a loop to check template type or custom meta data (Pages vs Posts)
- Collect Data from NEXT item while in loop
- How to show content of custom fields in search results?
- Custom field outside the loop and inside an array
- Display metabox title for custom fields with values
- use custom field value as post category in loop
- Filter or order based on custom field
- Compare ACF date field (if exists) and post date and order DESC
- What am I missing in this Code Block?
- get_field values for each post on home page using wp_add_inline_style
- User Filter Options on Archive Page
- Custom meta boxes – add php code inside?
- get wordpress post loop by meta box date
- Outputting custom field on home.php not outside of blog list
- Counting number of images from loop
- Metabox value for post loop?
- Get meta value when the page is a blog archive
- WP_query returns error when used for custom widget
- I want my post to republish again after adding a custom field
- Display posts where date field matches current month?
- Filtering posts by WORD in custom field
- Retrieve IDs from custom field, count and display results differently according to count
- Pagination not displaying correct number of pages
- Display custom field outside the loop
- Custom field not showing
- Order by a meta field in query loop
- Remove Dimension from wp_get_attachment_image
- Using get_posts with arguments found in meta keys
- Advanced Custom Fields Validation
- Assign/update the custom field value for all posts
- Using OR in WP_Query negates the “NOT EXISTS” compare
- Registration and Profile custom field
- Add More Fields to Users Pages (Admin Panel)
- how can i use custom field in query post
- Create new post with meta data using WordPress API
- get_terms that have custom sticky field checked
- Users Select inside custom metabox
- How to make condition, based on custom fields value?
- Speed up / Optimize Admin Edit Post Page on Large Websites (50-150k posts, 50 custom fields per post)
- Order by empty custom field
- Add & store extra fields – WordPress Comments
- Why is my Custom Meta Box Field Inputs NOT saving?
- Filter multiple custom fields Values with Check boxes
- Get registered custom fields or post meta even if empty
- Outputing a metabox textarea and avoid line breaks inside li tags
- Restrict WordPress Search to Custom Field
- Display custom field value part by part?
- How do i get the attached images with custom value checked?
- Cannot save underscore custom fields in one wordpress installation using xmlrpc and underscores
- Price comparison table based on Custom Post Type?
- Custom Fields Question
- Show related posts based of current ACF field name in a single page post (a loop within loop)
- How do I convert all custom_field php timestamps in the database to js timestamps?
- Display custom field value as a mailto: link
- Make separate text boxes for separate WordPress Custom Fields
- Sort by an ACF field in a tax_query
- WordPress query in which condition uses custom field
- Load one page with parent and child pages
- Why can’t I get the correct post permalink
- Ordering posts by custom fields
- WP_Query a custom field value bringing back 0 results
- Order by custom field in query multiple
- Returning website screenshot based on Custom Field
- Dynamically update Custom Fields to display new dates
- Add fields to edit in custom widget
- save all acf options in one meta_value [closed]
- Can running a WP-Cron to update_post_meta cause performance issues?
- custom field value is blank or empty
- How to add a custom field to the comments “Quick Edit” screen?
- Multiple triggers when publishing, saving or updating a post in WordPress
- If possible a field ID transfom in a Custom Field?