• Hello,

    In my menu I have my articles (for general public)
    and my newsletter (for pros)

    I’m trying to create my sub-categories for the newsletter (unique for pros) but these sub-categories keep mixing in my articles (general public) as soon as I add an articles to the category

    How can I create sub-categories specific to a category so it can only be displayed where it should be.

    video showing the issue

    For exemple what I need :

    menu : A – B – C – D

    A
    -cat 1
    -cat 2
    -cat 3

    B
    -cat a
    -cat b
    -cat c

    vs what I get :

    menu : A – B – C – D

    A
    -cat 1
    -cat 2
    -cat 3
    -cat a
    -cat b
    -cat c

    B
    -cat 1
    -cat 2
    -cat 3
    -cat a
    -cat b
    -cat c

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator bcworkz

    (@bcworkz)

    Are you using the default WP menu system? It doesn’t sound like it because the default is essentially static. Items added are the only ones that appear, and they appear in whichever order you placed them in. If this is not the WP default menu system, then you should ask for assistance through the dedicated support channel of whatever theme or plugin is providing the menu system.

    If you want to use the default menu system and accomplish what you want, I suggest creating two different menus, a default public one and a pro only one. Then alter the wp_nav_menu() call on the template to conditionally load one or the other based on the current user’s logged in status.

    Thread Starter borisca

    (@borisca)

    Thanks you,

    I will try that and let you know 🙂

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘creating 2 sub categories (not linked)’ is closed to new replies.