Hi @Robin I Knight:
Have you tried this?
<?php echo get_user_meta($current_user->ID,'user_post_code',true);?>
Related Posts:
- WP query with variables gives no result for specific user
- Custom Admin Menu Report for Specific User ID
- Integrating WordPress to my website, while keeping my own authentication system
- How to handle a custom form in wordpress to submit to another page?
- How to display multiple Post meta_key/meta_values by SQL query
- WooCommerce: How to display item meta data in email confirmation using woocommerce_order_item_meta_end
- How to make an meta_query optional?
- How to use multiple query with same meta key
- Showing user ID on user main page from screen options
- Getting the Current User
- How to loop over custom fields in a page template?
- Authenticating to WordPress, using my own authentication two-factor system
- How can update custom meta for all posts
- Unique key for each row in a repeater field
- How can I default to all WordPress roles when parameter is not included in shortcode?
- there’s a way to include a minimal WP for check only the current user, its roles (caps?) and then release/free it?
- Use ajax to update_post_meta
- Delete option value from array using update_option()
- How to get a list of all possible values of a specific user meta key?
- tracking number field in Woocommerce order [closed]
- How can I create a list of page titles from custom meta values?
- WordPress – Display array data of a child
- Why do WP_Query results change after updating unrelated Advanced Custom Fields (ACF)?
- Store multiple custom field as post meta per post(css, js, html, 2 link) [closed]
- user_profile_update_errors hook not executing
- Adding number to date not working [closed]
- Saving and Restoring a Canvas on A Individual User Basis
- How to use thumbnail size of image if I’m only using src to get image
- 3 Slashes appear after Apostrophe in custom fields after updating product-site
- add_cap not working
- Custom Field IF/ELSE PHP
- How to combine 2 php functions into one function with a custom field
- Advanced Custom Fields – display label and value only if value entered
- Saving zero in meta box
- How to show a users bio on a page
- “operation successful” message
- Why does this update_post_meta function not delete the custom field itself?
- Run str_replace on title and save the output to a custom field
- php if username is role
- Show current user posts only
- WordPress loop by meta key that is an array? and how loop multiple arrays
- WP All Import / Update stock quantity from multiple XML files
- Concatenate Custom Field Value & HTML Value
- Show site content based on user role
- `update_post_meta` not working anymore
- Define category ID using get_post_meta
- Hide a div when a custom field is empty
- Comparing Dates from custom field
- Adding custom url to readmore link using get_permalink()
- Filter unique custom field value based on custom taxonomy category or other custom field
- How to list users like an archive page 10 users on page and have navigations
- Add “alt” Attribute to GD Star Rating Tags
- Display background color or image with custom meta box?
- custom header text
- Can ‘Custom Field’ data be inserted into this Short Code?
- Query pulling a single post per month
- Add custom fields from different posts
- Delete images from media library when user deletes an image from ACF Gallery
- Generate a QR code when creating a new WordPress user
- Order category posts by last word of custom field
- Change wordpress’ database data using ajax – how to get current user id?
- Sort column in Users admin Tab
- Admin Panel 404 Error after login
- Block error message in foreach loop when looping through ACF field
- How to block specific user id in custom login form?
- Get current user id in function php
- how can I call a function when time expire
- Where does php code to load data go?
- Store data from JavaScript object to custom table in user account
- How to change the value of a variable using input field?
- How do I track which user clicked my button?
- wordpress more than one ajax request at the same time issue
- How to display custom field from a gallery thumbnail?
- How to use something like meta_query but for fields?
- Getting a value from a custom field from a page that shares a parent with the current page
- Adding users to another blog
- Changing WordPress author name in database
- Loop 1 user randomly
- If custom field doesn’t exist, or exists and it’s true show title?
- Let users register weight each day and save it in DB
- Outputting a custom field in PHP
- Sorting Meta Fields?
- Custom fields randomly stop working
- Display selected parts from selected pages on the frontpage?
- Where can I find the code for the menu page meta boxes?
- How to echo a different field if another field is empty?
- PHP Puzzle: Unique Styles with PHP loop
- Parse error: syntax error, unexpected ‘}’ in C:\wamp64\www\Proiect\aplicatie\user_check.php on line 18 [closed]
- Metadata on the WP_Post object
- Appending an ACF custom field to the page title
- Import users and custom user meta from csv
- Grabbing value of input field inside of array
- rest_cannot_create_user – Sorry, you are not allowed to create new users. CURL WORDPRESS REST API
- Getting invalid user ID error when creating a new user with wp_insert_user
- Convert custom field date format to “WordPress default”
- How to create a User Role and give permission to only use Web Stories plugin?
- How to execute a shortcode within a custom field?
- Redirect WordPress page to the latest created post by the logged in author/user
- Exclude function for custom pages, exclude custom ACF fields
- Allow HTML in custom taxonomy description, and show it on front end