Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Stefan van den Dungen Gronovius

    (@dungengronovius)

    Hi Etic,

    Are the columns created by the P2P plugin, available in the listing of default columns in our product? If not, that the plugin probably restricts the columns to a specific overview page. When you use our plugin and save a column preset, this is leading. If you reset the default settings for a specific overview, the columns from P2P are back again but of course you’ve lost alle columns created by our plugin.

    The only way to get the P2P columns to work with our plugin is to register the columns P2P columns to the overview with no restriction. But you’ll have to dive into the code of the plugin. There should be a hook something like this:

    add_filter( ‘manage_’ . $posttype . ‘_posts_columns’, ‘plugin_callback’, 10, 1 );

    the hook is probably only called when a specific condition is met (check on overview page or something).

    Plugin Author Stefan van den Dungen Gronovius

    (@dungengronovius)

    You could also try to recreate the columns yourself with our plugin. If it is a simple columns that displays a Meta Field value, it so be not the difficult to configure a columns that does the same. If it is a more complex columns, it may be useful to take a look at our howo to create your own columns:
    https://www.admincolumns.com/documentation/developer-docs/creating-new-column-type/

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Admin Columns and Posts 2 Posts’ is closed to new replies.