Nest Frontend Editor for H5P lets your users view, create, and edit H5P content without ever leaving the front end of your WordPress site.
Place the shortcodes on any pages you choose, configure permissions per role, and let the plugin handle the rest. Works seamlessly with Remix Manager for H5P when its Library Link Behavior settings point to Nest front-end pages.
Shortcodes:
[nest_h5p_editor_view] – Displays an H5P content item. Reads the item ID from the URL (?h5p_id=X).[nest_h5p_editor_create] – Displays the H5P content creation editor.[nest_h5p_editor_edit] – Displays the H5P content editor for an existing item. Reads the item ID from the URL (?h5p_id=X). Users may only edit content they own.[nest_h5p_editor_results] – Displays the H5P results page for an existing item. Reads the item ID from the URL (?h5p_id=X).[nest_h5p_editor_link_view] – Outputs a link to the front-end view page for the current H5P item. Accepts text and class attributes.[nest_h5p_editor_link_edit] – Outputs a link to the front-end edit page for the current H5P item. Only renders if the current user owns the content. Accepts text and class attributes.[nest_h5p_editor_link_results] – Outputs a link to the front-end results page for the current H5P item. Accepts text and class attributes.Features:
rmh5p_view_url, rmh5p_edit_url, rmh5p_create_url, rmh5p_results_url) integrate with Remix Manager for H5P when its Library Link Behavior settings point to Nest front-end pages.For full documentation visit indiegg.com/nest-frontend-editor-for-h5p/documentation.
Disclaimer:
Nest Frontend Editor for H5P is an independent plugin and is not affiliated with, endorsed by, or sponsored by H5P or its developer, Joubel. H5P is a trademark of its respective owner.
Create one page per action. Add the shortcode to each:
[nest_h5p_editor_view][nest_h5p_editor_create][nest_h5p_editor_edit][nest_h5p_editor_results]Then go to Settings -> Nest Frontend Editor for H5P and select each page from the dropdowns.
Under Role Permissions, check which roles can access each action. All roles on the site are listed automatically, including custom roles.
Under Unauthorized Redirect Behavior, choose what happens when a logged-in user without permission tries to access each page. Options are:
Logged-out users are always sent to the login page regardless of this setting.
When both plugins are active and pages are configured, the Remix Manager Library Link Behavior settings can point View, Edit, and Results links to the matching Nest Frontend Editor for H5P pages.
Place these shortcodes on your view, edit, or results pages to generate navigation links between pages for the same H5P item. All three read the current h5p_id from the URL automatically.
[nest_h5p_editor_link_view] – link to the view page[nest_h5p_editor_link_edit] – link to the edit page (only renders if the current user owns the content)[nest_h5p_editor_link_results] – link to the results pageAll three accept optional attributes:
text – the link label. Example: [nest_h5p_editor_link_view text="Watch this activity"]class – additional CSS classes. Example: [nest_h5p_editor_link_edit class="button button-primary"]Each link always includes the classes nfeh5p-link and a type-specific class (nfeh5p-link-view, nfeh5p-link-edit, nfeh5p-link-results) for styling in your theme CSS.