SharePoint - Showing more view buttons on the top


You must be a Site Designer or Site Administrator to accomplish the following:
  1. On the upper right corner, left click on the gear and select edit page.
  2. In the main body of your page, left click on Add a Web Part.
  3. In the new area appearing below the ribbon, select Media and Content from the Categories section; then select Script Editor from the Parts section.
  4. Click on the Add button (or hit on your keyboard)
  5. Click inside the EDIT SNIPPET box and copy & paste the javascript listed here:

  6.  Change the "4" to the desired number of views you would like to see. (Note:  I do NOT know if there is an upper limit to the number you can display....or if the number of views will 'wrap' to a second line of available choices.  Anyone out there implementing this trick will hopefully provide that feedback)
  7.  Click on the Insert button.  (NOTHING will appear to have changed until you complete step 8)
  8.  On the ribbon - Click on the PAGE tab and then click on Stop Editing .
You should now see the number of Views that you indicated in the Script Editor snippet.
Thanks to all the other bloggers who helped me resolve this identical problem.  Hope this helps all the rest of you.

Code: