Support » Plugin: Simple Side Tab » Want to display on one page only

  • Resolved peterfz30

    (@peterfz30)


    Hi,
    I would like to be able to display the tab on one particular page only.

    How could I do this please.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • OK, found the following in a previous post which works. Just use your particular page #.

    // filter the tab display value to conditionally turn off the tab
    function rum_filter_simple_side_tab_display( $display ) {

    // turn off the tab
    $display = false;

    // conditionally turn it on
    if ( is_page( 2286 ) ) {

    $display = true;
    }

    return $display;
    }
    add_filter( ‘rum_sst_plugin_display_tab’, ‘rum_filter_simple_side_tab_display’, 10 , 1 );

Viewing 1 replies (of 1 total)
  • The topic ‘Want to display on one page only’ is closed to new replies.