Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Menu for external link; Menu spacers
#3
I found a fairly easy way to add external links to the navigation through the admin panel. All I had to do is make 2 custom fields (I did it manually and then did it again with the custom field plugin), and then add a few lines to your (Zegnat) drop down menu plugin, and the client can easily add external links. Below is a screenshot and an example website where you can see several dropdowns using external links.
I would make this a plugin but It uses two other peoples plugins as well.

Please let me know if anyone would like the coding I used for this.

Screenshot Of Page Edit: http://profileyctest.com/fields-screenshot.jpg
Website Example (Test Website): http://profileyctest.com/


Zegnåt Wrote:There is no really good way to put any external pages in the menu, so if changing the URL contents works for you go right ahead.

Adding a spacer that way is not recommended. As it will add an empty menu item, meaning an empty list item. That’s not best practise as non-visual browsers will think the list has (just an example) 9 items and might use this information, but in reality 2 of them are empty.

If you must have gaps, the best way to do it is by using CSS.
Reply


Messages In This Thread
Menu for external link; Menu spacers - by NickC - 2010-04-14, 13:53:06
Menu for external link; Menu spacers - by mikeh - 2011-03-05, 01:54:52
Menu for external link; Menu spacers - by mvlcek - 2011-04-03, 00:32:19



Users browsing this thread: 1 Guest(s)