Display links based off of page
-
I need to place an ordered list that displays links that depend on the purpose of the page (page purpose = department name). So if the page’s name is “Dept 1” the links in the ordered list will be to the “Dept 1 support” page, etc.
I have 13 departments, so I need take the current page’s name and compare it to each department, and if there is a match assign the correct link to a variable. The variable will be used in a html link.
I’m not familiar with PHP, but I know Visual Basic and understand loops. Perhaps there is a better way than using PHP to loop? I’m open to suggestions and would greatly example code.
Viewing 13 replies - 1 through 13 (of 13 total)
Viewing 13 replies - 1 through 13 (of 13 total)
- The topic ‘Display links based off of page’ is closed to new replies.