PluginUs.Net - Business Tools for WooCommerce and WordPress

[realize your idea - make your dreams come true]

Support Forum

You need to log-in to create request (topic) to the support

Disable popup when clicking on post content in the table.

This support system is for all types of the plugins as for premium versions, so for free ones! If you have premium version do not forget in the private data of the request (!!not in the text of the support request!!) after its publishing insert purchase code please (see blue-green button on the right side) and press Save button.
If you not got email within 24~36 business hours, firstly check your spam box, and if no any email from the support there - back to the forum and read answer here. DO NOT ANSWER ON EMAILS [noreply@pluginus.net] FROM THE FORUM!! Emails are just for your info, all answers should be published only here.
The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday.

Hello,

I am using your great plugin but I encountered a little problem.

I have created a posts table and one of the columns is "post content". When I click on the content cell of a post that is in the table, a popup with the content is opened. How to disable this? and let the content simple in the table.

Best regards.

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,

Thank you for your quick response.

Where exactly should we add :

$content_post = get_post($post_id);
$content = $content_post->post_content;

In the code:

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) {
               return 'Hello World!';
           }
       ];
   }
   return $profile;
}, 10, 2);

Or can you help us, please, with the code that we need to add in functions.php? according to our needs?

Thanks in advance.

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);