Well, you use ACF for your custom field, right?
In that case, replace the function “the_field” in your code with “get_field”.
the_field echoes the field already, so the field is echoed before your tab shortcodes return from the function do_shortcode and get echoed, which results in “having the content of the field before the tab” stuff.
Happy Coding,
Kuchenundkakao
Related Posts:
- explode array within shortcode
- Change behavior of “Insert into Post” based on attachment metadata
- Add new “Insert Into Post” button with another function
- Call a custom field in an audio shortcode?
- Don’t display html if custom field is empty
- wp_editor in add_meta_boxes does not show gallery
- Custom field for default gallery
- Execute/Parse Shortcode in Native WordPress Custom Field Value Field
- Audio player shortcode not showing up when using variable
- Create WordPress shortcode with php code inside
- Display WP-Types custom fields in post [closed]
- Should custom meta boxes be able to output shortcodes the same as WordPress’ native post editor?
- Shortcode To Display Post Custom Field Value Inside Excerpt
- modify wordpress caption shortcode
- How to create a shortcode to print specific values stored in a post meta array?
- Insert a custom field into a shortcode and use it in post(s)
- Custom wysiwyg editor doesn’t execute shortcodes?
- Custom Field 101
- shortcode in a custom metabox
- Can data from a Custom Field data be used by a shortcode on a per page/post basis?
- Shortcode To Display Post Custom Field Value in Post Title, Post Content
- custom field (video/audio url) and embed functionality
- IF Custom field value equals ZERO
- Display MP3 as media using an URL from a custom field
- Using a custom field inside a shortocde
- Enable a short code in the custom meta field
- do_shortcode close
- Plugin or shortcode for ISBN number?
- How to pass custom field value to shortcode?
- Replacing custom field with shortcode
- Shortcode for Custom Field of Media Attachment (to use with Featured Images)
- how can i show WordPress custom field data to my short code?
- Search fails when using the radio buttons
- Create Shortcode shows only posts with custom_field meta
- Output Custom Field value to shortcode
- PHP and Shortcode Combination
- Stop truncation of shortcodes in custom text fields?
- Retrieving Advanced Custom Field within Shortcode Function [closed]
- Using ACF Custom Field value in a URL with do_shortcode() [closed]
- Running a Gallery Shortcode in a Custom Fields Widget
- Custom field in a shortcode?
- Display meta data from a custom field within plugin Category Grid View Gallery
- Insert wp gallery shortcode into custom textarea
- Displaying shortcode content inside custom field without images
- Parse Shortcodes in Theme’s Custom Field?
- show custom field content in jquery tabs
- Insert shortcode before and after a list automatically
- Retrieving custom field as shortcode
- How to include custom field in shortcode (do_shortcode) in theme file
- Shortcode not picking up custom field
- getting all values for a custom field key (cross-post)
- How to filter post listing (in WP dashboard posts listing) using a custom field (search functionality)?
- Query Posts or Get Posts by custom fields, possible?
- Attaching Metadata to a Taxonomy Item
- Retrieve custom fields on Categories, using WP-API
- can you set a default value to a custom field
- automatically set “Featured Image” the same as the og:i that is set in a custom field
- Display value of custom field not working
- WP_query : meta_key with custom rule for specific value
- How to get the db table row that has the biggest value in the meta value?
- making sense of admin-ajax
- MySQL query to set wp_postmeta using term_taxonomy_id value
- Insert attachment ID in custom field from media uploader
- Add url from Custom Field as ‘Featured Image’. Code not working
- How to update a meta field of type array in Gutenberg
- Bulk remove post meta
- Storing a DateTime Value in a Sortable Custom Field?
- WordPress Rest API to call page data associate with custom meta
- Custom field as Slug
- How to save the date/time of last update of an extra user profile field?
- How to populate custom field dropdown box based on prior selection?
- How to hide a div based on contents of custom field
- Hook after meta created
- Warn user that data may be lost for custom pages
- Inserting data into MagicFields using mysql queries
- Custom Field box history
- Update post meta custom field using block editor
- If I update WordPress my custom data will be deleted from the wp_users table?
- Get emails from users by custom field SQL
- Why am I getting a “Call to member function format() on a non-object” error?
- How To Show Get Adjacent Posts If Posts Are Sorted By Custom Field
- How to calculate custom field value (average)
- Custom Query Fields – Altering Meta Value
- Adding re-type email and check it if the email match
- Exclude URL’s from sanitize_html_classes
- Best way to insert a list of links into a post outside of the_content
- How to add a post’s view count into the WordPress API response
- Line break description wordpress
- Update custom field on the fly
- Custom field disappeared from screen options
- will wp_insert_post write a new custom field to the database?
- How to repeate custom field group with bulk image field
- ACF – Compare user and post data
- How to format the various types of custom fields?
- Get first URL from custom field, download and set as featured image on post publish
- How to add an option to admin to add image that could be used as header?
- How to query posts that have certain post meta keys, and sort by meta key and/or value
- Add image custom attribute [closed]
- Custom field not showing
- Display filesize of custom field value