Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Hax

    (@hax)

    you can filter your post by category id, this will only show post from the desired category

    Thread Starter Denis Lam

    (@spiffyd)

    But would that filter everything across all tabs? What if I only one tab to have filtered posts?

    Denis did you found out how to do that?

    Plugin Author Hax

    (@hax)

    To add a new tab use the “pop_defaults_tabs” filter, this an array of all available tabs.

    my_plugin_add_new_tab ( $tabs ){
      $tabs['new_tab'] = _('My new tab')
      return $tabs;
    }
    add_filter( 'pop_defaults_tabs', 'my_plugin_add_new_tab' )

    Then use “pop_new_tab_tab_content” action to output your tab content

    my_plugin_new_tab_content( ){
      return "content";
    }
    add_filter( 'pop_new_tab_tab_content', 'my_plugin_new_tab_content' );

    Be sure to use the latest version.

    Thread Starter Denis Lam

    (@spiffyd)

    I’ll try this out after the bug in the latest version is resolved.

    Details:
    https://xparkmedia.com/support/topic/broken-after-latest-update/

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Feature Request: Add Tab to Show Custom Category’ is closed to new replies.