-
Notifications
You must be signed in to change notification settings - Fork 199
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Automatically inject My Courses and Courses pages into menu on plugin activation #7386
Comments
I think we can use Block Hooks to add the pages automatically to the menu for the user so they don't need to do it manually. See woocommerce/woocommerce-blocks#11745 for an example of how Woo did it. They've limited it to just the TT4 theme, apparently due to limitations of the Block Hooks API. If we need to limit support as well for technical reasons, we should start by adding support for the Course theme. |
Related:
|
There are currently 2 blockers for implementing this with Block Hooks.
We would have to wait a bit until those are resolved. |
There was work done in WordPress/gutenberg#57754 that should enable us to add Sensei pages into the Navigation block. It's scheduled to ship in Gutenberg 17.6. |
👋 This is now fixed by WordPress/wordpress-develop#5835, which will be part of WP 6.5 😊 |
per0F9-1sT-p2 |
It's confirmed that in 6.5 it's possible to add child blocks into the Navigation block:
I'm guessing that this could now be tested on the latest 6.5 branch. |
Is your feature request related to a problem? Please describe
When we use a block theme, the pages are not added to the main menu automatically.
So when the user completed all the tasks that we suggested in the onboarding flow and went to the frontend, they might be surprised and frustrated.
Describe the solution you'd like
I propose to add a task to add Sensei pages to the main menu in the onboarding checklist.See #7386 (comment).
The text was updated successfully, but these errors were encountered: