Can i do this in a wordpress template?
-
Hi, i have a javscript based sublink script on my non-wordpress site.
I think wordpress rocks. And i want to use it as both a news script and a simple CMS. Can i list the Pages and SubPages of my site in the following way:
<div id="navibar">
<div id="globalNav">
<a href="/1/" onmouseover="showInfo(0)">Link 1</a> |
<a href="/2/" onmouseover="showInfo(1)">Link 2</a> |
</div><div id="breadCrumb_0" style="display: none">
<a href="/1/1/">Sub 1</a> /
<a href="/1/2/">Sub2</a> /
</div>
<div id="breadCrumb_1" style="display: none">
<a href="/2/1/">Sub2 1</a> /
<a href="/2/2/">Sub2 2</a> /
</div>
</div>
I can’t think of a way to do that inside a wordpress template- is there a way- or can this be done directly from the mysql database?
The topic ‘Can i do this in a wordpress template?’ is closed to new replies.