Support » Plugin: Unyson » Theme Integration

  • Resolved sasherwood93


    Hi Everyone,

    I was wondering how do I integrate the Unyson Framework into a custom theme and have it activate on theme setup. I want to have the page builder selected by default when installed along with removing the Unyson menu link as the theme doesn’t require additional extensions at this moment in time.

    Many thanks

Viewing 1 replies (of 1 total)
  • Plugin Author Unyson



    You can require the Unyson plugin with TGM.

    Require PageBuilder from theme by specifying it in $manifest['supported_extensions'] docs.

    You can change the menu via this action or find a WordPress filter/action to remove it from menu (by finding it by slug).

    To install/uninstall/activate/deactivate extension from code you can use fw()->extensions->manager->...() methods, for example. Important: On some server, on install/uninstall you’ll need ftp details, so it’s a bit tricky to do that.

    Also the framework by default will check if PageBuilder is not active it will show a warning and a link to install it (code)

Viewing 1 replies (of 1 total)
  • The topic ‘Theme Integration’ is closed to new replies.