Example of such column you can see on this page: https://demo.posts-table.com/audio-referrals/
Do next:
- Open file functions.php of the current WordPress theme
- Add next code:12345678910111213141516add_action('tableon_profile_extend', function($profile, $action_name) {if ($action_name === 'tableon_default_tables') {//for https://demo.posts-table.com/audio-referrals/$profile['sound_options'] = ['title' => 'Sound options','order' => FALSE,'action' => function($post_id) {return do_shortcode("[tableon_single_btn id={$post_id} button_text='Options' columns='sound_bitrate,sound_duration,sound_year,sound_artist,sound_info' css_class='tableon-btn' help_title='How to add column Options' help_link='https://posts-table.com/how-to-add-column-with-custom-meta-fields-in-popup/']");}];}return $profile;}, 10, 2);
- Register necessary meta-fields in TABLEON system by code:123456789101112131415161718192021222324//add custom meta fields not visible on TABLEON admin page to select it in sound optionsadd_action('tableon_profile_extend', function($profile, $action_name) {$sound_keys = ['sound_bitrate' => 'Bitrate (kbps)','sound_duration' => 'Duration','sound_year' => 'Year','sound_artist' => 'Artist','sound_info' => 'Info',];foreach ($sound_keys as $key => $title) {$profile[$key] = ['title' => $title,'order' => 'asc','display' => false, //do not display in fields list on TABLEON backend'action' => function($post_id) use($key) {return get_post_meta($post_id, $key, true);}];}return $profile;}, 10, 2);
- In the table for where you want to display column "Options" create new column, name it and select field 'Sound options'
In such way you can create popups for any kinds of your shop posts.