Oaktree page navigation plugin
-
I’ve been using WP for a while now and it’s great. I felt it always lacked a nice page navigation function though. There might be others, but I thought I’d roll my own: http://janit.iki.fi/oaktree/
It recursively generates a nested set of ordered lists by using an array:
[tree] => Array
(
[8] => Array
(
[id] => 8
[title] => Desktop Wallpapers
[path] => http://janit.iki.fi/desktops/
[active] =>
)[9] => Array
(
[id] => 9
[title] => Apache benchmarking with Wordpres...
[path] => http://janit.iki.fi/wp-bench/
[active] =>
)[11] => Array
(
[id] => 11
[title] => Apple iBook (Dual USB) hinge problem fix
[path] => http://janit.iki.fi/ibook-hinge/
[active] =>
)[12] => Array
(
[id] => 12
[title] => Oaktree WordPress navigation plugin
[path] => http://janit.iki.fi/oaktree/
[active] => 1
[sub] =>
))
I’ll gladly accept any comments on improvement. And feel free to use it / modify it for your needs. The WP community has given me so much… 🙂
The topic ‘Oaktree page navigation plugin’ is closed to new replies.