If you want something easy, simply display a table of contents with H2 tags at the top. You could do it with HTML code or with a plugin.
With the plugin it’s easier just to define that it shows only H2 tags and add at the top of the page the shortcode [lwptoc]
Then we’ll create a floating button that goes up to the top.
Something like this:
<a href="#"><img src="https://i.ibb.co/nCjQ6X9/menu-button.png" title="Go To Menu" style="position: fixed; bottom: 20px; left: 89%;" /></a>
You add it as HTML to your page and that’s it, if you want to change the upload icon you must change the URL of the image.
For instance:
<a href="#"><img src=" Here is the URL of your icon " title="Go To Menu" style="position: fixed; bottom: 20px; left: 89%;" />
Your WordPress editor should look something like this:
[lwptoc]
[brm_restaurant_menu]
<a href="#"><img src="https://i.ibb.co/nCjQ6X9/menu-button.png" title="Go To Menu" style="position: fixed; bottom: 20px; left: 89%;" /></a>
-
This reply was modified 4 years, 8 months ago by
jatideu.