TABLEON - WordPress Posts Table Filterable

How to add custom column to the tables

Use hook tableon_profile_extend for it.

For this in file functions.php add next code:

Using $post_id you can create any data and return it directly to the cell.


Lets review more complicated example demonstrated here. Make your attention on button "Ask Me", click on it. As you can see this is contact form where customer can write a message to the site adminĀ  about the post/product. To create it:

  • create new page and select template as "TABLEONĀ Blank Page"
  • install any contact form plugin, for example wpform
  • place to new page content contact form shortcode, for example [wpforms id="641"]
  • add next code to the functions.php file of the current WordPress theme:

    Make your attention on the link "https://demo.posts-table.com/wpform-contact-ask-me" and change it to your own.
  • To fill some inputs of the contact form apply next code:

    642 - page ID where contact form placed;
    wpforms-641-field_4 - ID of the input