• I want to inject reusable blocks into my menus.

    Another theme called Woodmart allows you to create HTML blocks then add them into the Menu. You can specify things like height/width and such. Go to vitalplanet.com and hover of the Cat Products and you will see the type of Menus I want to create. Each item is a reusable block that WoodMart allows you to create.

    I would love to do that with reusable Gutenberg blocks for OceanWP menus.

    Any thoughts/suggestions on how to accomplish this?

Viewing 13 replies - 1 through 13 (of 13 total)
  • Hello,

    Create a template under Theme Panel > My library. Now go to Appearance > Menus and click on a menu item. it should be a page. Now select your created template from the dropdown. Hope it will work as per your need.

    Thread Starter twgerber

    (@twgerber)

    I have one item in Theme Panel -> My Library.

    it does NOT appear as a page under Appearance -> Menus or anywhere else.

    It will work for the page type menu item. Add a page in the menu, open it and you will see the option to select a template from the my library.

    Thread Starter twgerber

    (@twgerber)

    Still don’t see it.

    I created a new item in Template Library

    Appearance -> Menus

    Open pages on left = it’s not in the list of pages.
    I add some random page to menu.
    Open that pages drop down

    I see disable link, 4 mega menu options, remove/delete at bottom. No library.

    Is this via a particular oceanwp plugin? I have OceanWP Extra installed.

    Hello,

    See the screenshot below. There is an option for selecting my library template for page type. http://prntscr.com/m6lqrl
    Did you install the Ocean Extra plugin?

    Thread Starter twgerber

    (@twgerber)

    I dont have that option ….

    Thread Starter twgerber

    (@twgerber)

    Can you please tell me the PHP version? If it is not PHP 7, then try to update it. The option for selecting a template should be there. Did you install Ocean Extra?

    Thread Starter twgerber

    (@twgerber)

    7.0.33

    Yes Ocean Extra is installed. Version 1.5.0

    That’s strange. Try to disable/enable plugin one by one to check for a possible conflict. Because on my end, it is working fine.

    Thread Starter twgerber

    (@twgerber)

    I am doing this now but what else is weird is I don’t have any Mega Menu plugins installed.

    Wonder where Mega Menu is coming from.

    Thread Starter twgerber

    (@twgerber)

    And when I view source I see the My Library item. I disabled caching by de-activating WP Rocket. No change.

    <p class=”field-mega_template description description-wide”>
    <label for=”edit-menu-item-mega_template-155″>
    Template | <small>Theme Panel > My Library</small>
    <select id=”edit-menu-item-mega_template-155″ class=”widefat code edit-menu-item-custom” name=”menu-item-mega_template[155]”>
    <option value=”0″>Select A Template</option>
    <option value=”1334″ >test menu panel </option>
    <option value=”917″ >Coffee </option>
    </select>
    </label>
    </p>

    OceanWP has its own mega menu feature. Go to Dashboard > Appearance > Menu and check it.
    For the template, check Theme Panel > My Library.

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

The topic ‘Add Gutenberg Blocks to menu’ is closed to new replies.