
Pablo Borysenco(@pavlo_borysenco)
19,655 Posts
Quote from Pablo Borysenco on February 12, 2021, 11:45
Hello
On this case please disable this column and create a custom column - https://posts-table.com/how-to-add-custom-column-to-the-tables/
To get content:
$content_post = get_post($post_id);
$content = $content_post->post_content;
Hello
On this case please disable this column and create a custom column - https://posts-table.com/how-to-add-custom-column-to-the-tables/
To get content:
$content_post = get_post($post_id);
$content = $content_post->post_content;

Pablo Borysenco(@pavlo_borysenco)
19,655 Posts
Quote from Pablo Borysenco on February 15, 2021, 10:24
Hello
If you have no experience in programming, you should hire a developer
Try to add this code in functions.php
add_action('tableon_profile_extend', function($profile, $action_name) {
if ($action_name === 'tableon_default_tables') {
$profile['my_new_column'] = [
'title' => TABLEON_Vocabulary::get('My new column'),
'order' => FALSE,
'action' => function($post_id) {
$content_post = get_post($post_id);
$content = $content_post->post_content;
return $content;
}
];
}
return $profile;
}, 10, 2);
Hello
If you have no experience in programming, you should hire a developer
Try to add this code in functions.php
add_action('tableon_profile_extend', function($profile, $action_name) {
if ($action_name === 'tableon_default_tables') {
$profile['my_new_column'] = [
'title' => TABLEON_Vocabulary::get('My new column'),
'order' => FALSE,
'action' => function($post_id) {
$content_post = get_post($post_id);
$content = $content_post->post_content;
return $content;
}
];
}
return $profile;
}, 10, 2);