• Resolved dmccabe2

    (@dmccabe2)


    When the plugin in is active it messes up Ninja forms > Submissions “Screen Options”. Only shows the ID and the date. All other options chosen do not show when your plugin is active.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Sean Hayes

    (@seanchayes)

    Hi,

    For the time being this can be resolved in your child theme by using my filter to exclude the Ninja Forms post type from including my thumbnail column.

    First, in your functions.php file of your theme/child theme add the following line for the add_filter function like this:

    add_filter( 'fiat/restrict_post_types', 'my_theme_name_adjust_post_type_filter' );

    Second, in the same functions.php file add the corresponding function to add in the Ninja Forms post type. My plugin will use this filter to determine if it should display the thumb column or not.

    function my_theme_name_adjust_post_type_filter( $post_types ) {
    	$post_types[] = 'nf_sub'; // Do not display the thumbnail when showing Ninja forms post types in admin
    	return $post_types;
    }

    My test showed this works and the display of your Ninja Forms Submissions screen is restored.

    Sorry for the late reply to this request. I will certainly try to see if I can detect Ninja Forms and perhaps prevent this from happening in the future.

    Please let me know if it works out for you.

    Thank you for using my plugin.

    Sean

    Plugin Author Sean Hayes

    (@seanchayes)

    Hi,

    If you have a chance please try this code change to see if it helps resolve your issue.

    Another user of the plugin tried this code and reported back that it worked successfully.

    Ninja Forms submissions screen issue

    Thank you
    Sean

    Thread Starter dmccabe2

    (@dmccabe2)

    Finally had a chance to try it.
    It has fixed the issue.
    Thanks.

    Plugin Author Sean Hayes

    (@seanchayes)

    Yay!

    Thank you for following up with this reply.

    Thank you for using my plugin.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘WP Admin Screen Options Conflict – Ninja Forms Submsissions’ is closed to new replies.