Menu items are simple clickable anchor links on your website. A menu item is a subset of a menu and you can have an unlimited amount of menu items in a menu.
By default, your website comes with two menus:
1. The Top Menu: this contains the main menu items for your website. They are the links you see at the top of every page on your website.
As you can see from the photo above, the Top Menu contains 4 menu items: Home, Buy SMS, Send SMS, Contact US
2. The SMS Menu : The SMS menu contains links to different functions of the sms component and they are generally located on the side-bar of your website.
Whenever your customers wants to send out sms messages, they will use the SMS Menu.
Lastly and most importantly, Menu Items links to different components on your website. It is used to display Articles, or manipulate the SMS feature of your site. Without menu items your customers cannot interact with these components.
Now that we understand what Menus and Menu Items are let us create a menu that links to the article we created earlier. If you have not read the post on creating article your can read how to add a custom page to your website
The article contained our bank details to display to our customers.
1. Login to your dashboard on padisoft.org
2. Click on Menu on the left side menu and then click Menu Items:
3. In the resulting page, click on Create new Menu Item at the top right of that page.
4. Next the Padisoft platform will display a list of components to attach to this menu item:
For the purpose of this tutorial, we will select the Single Article Component.
5. Next we are presented with a list of articles we have previously created. We will go ahead and select the How to Buy article.
6. Finally, we see a page where we can configure this menu item.
For the purpose of this tutorial, we are going to do a minimum configuration hence:
- We set the title as “How to Buy” because that is what the article is about.
- We also set the menu location to the Top Menu, this is because we want this menu item to appear at the top of the page.
- We set the ordering to 1.
- And finally set the page browser title to “How to Buy”.
7. Click on the Save button at the bottom of that page.
If you go back to your website, you will see the How to Buy link at the top of your website:
and when this link is clicked, you will see the article you created earlier: