• On another site I am using WP-Members to display menu items depending on the membership that a logged in user has.

    As I am preparing a site where I want to use the FSE in combination with a block theme, I would like to achieve the same. But it seems that WP-Members is not compatible yet with the Menu blocks (neither provides an own menu block) where that can be done.

    How to achieve? Or do I need to continue a “classic” theme, where the appearance>menu settings are still available?

    • This topic was modified 2 weeks, 3 days ago by mahyulan.

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Chad Butler

    (@cbutlerjr)

    The loggedin/logged out state for menu items is handled by an action hook in WP that does not exist in FSE menus (wp_get_nav_menu_items). Until that hook exists in FSE or menu blocks (or at least a functional equivalent), it will not be compatible.

    Thread Starter mahyulan

    (@mahyulan)

    Too bad that I am “too early” to start using FSE…..
    This feature is really essential for me, so I hope it will be implemented in the near future.
    Thanks for your explanation.

    Thread Starter mahyulan

    (@mahyulan)

    I have made a kind of a work-around.

    By using the “Content Control” plugin from Code Atlantic it is possible to make menu items visible / unvisible depending on the user role. With “User Role Editor” from Vladimir Garagulya I have created roles for each membership that I created previously in WP-Members. In Memberships I have added these roles to the corresponding membership-title.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.