-
Notifications
You must be signed in to change notification settings - Fork 972
How to use TopMenu Plug in
Daniel Neto edited this page Jul 18, 2024
·
9 revisions
With the TopMenu plugin, you can create buttons with clickable items on the top bar or in the left drop-down menu. Each menu item can be a link or a static page, and you can create as many menus as you need.
The first step is to create a menu using the Menu Form
.
- From the left-hand side menu, select Plugins.
- Scroll down to find the TopMenu plugin and activate it.
- Click on Create Menu on the far right.
- Fill in the details for your menu and click Save Menu.
- Click on the name of your menu to make necessary changes to the Menu Items tab as required.
Once a menu is created, you can click on it in the list on the left side to access more options:
- Edit Menu Items
- Delete Menu
You can now click on Edit Menu Items to create items for your menu. For menu items, you have several types:
- Left: Adds the menu to the main sandwich menu that opens from the left.
- Top: Adds the menu to the top bar.
- Action: Adds a button that appears below the video player.
- Action Per Video: Adds a button that appears below the video player, specific to each video.
- Action Per Video For Logged Users Only: Adds a button that appears below the video player, visible only to logged-in users.
- Action Per Video For Users That Can Watch Video: Adds a button that appears below the video player, useful for letting users with permissions access special content.
- Action Per Video For Users That Cannot Watch Video: Adds a button that appears below the video player, useful for sending users to a store or payment page to pay for the content.
- Mobile Tab Menu: Adds the menu to the old mobile app's tab menu.
- Mobile Left Menu: Adds the menu to the old mobile app's left menu.
- Mobile Tab Menu in a Browser: Adds the menu to the mobile tab menu when viewed in a browser.
- Mobile Left Menu in a Browser: Adds the menu to the mobile left menu when viewed in a browser.
- Float Menu: Adds a circle button that will be floating in the bottom right of the page.
Each menu item can be one of the following types:
- URL: Opens any URL when the menu item is clicked.
- URL Iframe: Opens a URL within an iframe.
- Page: Opens a static page where you can put any HTML content. YouPHPTube is based on Bootstrap, so you can use any Bootstrap 3 CSS class.
You can drag and drop items to sort them within the Menu Items Order section.