Since Snap now supports the menu behavior in Moodle themes, it seems like a good idea to go over how to add pages of content for users (logged in or not) to be able to view on your site.
We need to make sure a few settings are correct to make this work. On the Advanced Settings page in the admin menu, make sure to enable “Allow stealth activities”. Head to the frontpage, edit settings and make sure that the settings allow a topic section on the frontpage. Don’t worry we can turn it back off at the end without breaking anything while keeping things from cluttering up the frontpage layout for admins.
With the topic section enabled on the frontpage, use the admin menu to enable editing on the frontpage. Now we can add resources and activities to the frontpage. For each new page of information, we want to add we will create a page resource but make sure that the visibility setting of the page is set to “available but not shown on the course page”. That is the stealth activity setting that means the page won’t show up on a menu or on the frontpage, but we can link to it and users can see it using that link.
Put your content in the page and name it appropriately. Since we are not showing it on the frontpage/course page it does not need a description. Once it is built and saved, you will see it show up Snap style on the frontpage, but other non-admin users will not. Right click on the title of the page and choose save link. With that URL handy in the clipboard, head to the admin menu again and go to Appearances -> Themes -> Theme settings and scroll down to the custom menu section.
Enter a name for the page link then a pipe “|” and then the URL you copied from the page. Like:
Once saved this will add a menu item to the navigation bar at the top of the screen called About Us that links to that page resource.
Also note if you are making links that take users to other websites, like help documentation, this markup can include the “target=”_blank information which tells the browser to open these links in a new tab. The code that makes the menu automatically closes the quote marks, so we need to leave them off.
Student help|https://help.myothersite.com/Student_help" target="_blank
I usually do not do open in a new tab for pages that stay on this site, only for links that open to other sites. This meets the expectations of most users and is supported by all modern browsers.
Repeat for any number of page resources you would like to add. When done, you can turn off editing on the frontpage and if desired you can disable the frontpage topics section. The pages linked from the custom menu will still be available, even for users who are not logged in yet.