Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Outputting Line Breaks with get_navigation() Function?
#1
Hello,

I'm looking for a way to display the outputted page links created within the admin panel vertically on their own separate line. Right now the get_navigation () function outputs the links all on one line. How can I output each link onto it's own line?

Thanks for any help.
Reply
#2
from the wiki:

Quote:get_navigation():

Returns a list of pages that are added to the main menu from each of their edit screens. Required option is what is shown above. This creates a class of 'current' on the <li> element that currently the active page. You need to supply the <ul> or <ol>

so how did you format it? Did you enclose it in <ul> or <ol>, how did you define the css for the <li>-list-elements?

An URL would be good
|--

Das deutschsprachige GetSimple-(Unter-)Forum:   http://get-simple.info/forums/forumdisplay.php?fid=18
Reply
#3
Connie Wrote:from the wiki:

Quote:get_navigation():

Returns a list of pages that are added to the main menu from each of their edit screens. Required option is what is shown above. This creates a class of 'current' on the <li> element that currently the active page. You need to supply the <ul> or <ol>

so how did you format it? Did you enclose it in <ul> or <ol>, how did you define the css for the <li>-list-elements?

An URL would be good

Ah, never mind. Your question led me to find a flaw in my CSS syntax. It now works fine.

Thanks anyway.
Reply




Users browsing this thread: 1 Guest(s)