My friend asked me a question long before, how can use sliding doors CSS for list pages? I told him, use function wp_list_pages(). I later found that can’t do it.
I’ve written a litter function code to support it.
How to use?
- Download source code get_list_pages.zip;
- copy code content in your theme functions.php;
- Add anywhere:
<ul>
<?php get_list_pages(); ?>
</ul>
Advanced
$index_title – index title
$format – show display format
$currentCSS – current class name
get_list_pages('Home', '<li{current}><a href="{link}"><span>{name}</span></a></li>', 'current_page_item');
UDAUI(UTOM’s DirectAdmin User Interface) is a control panel designed for DirectAdmin, the purpose is supplying the best experiences and more convience for the DirectAdmin users.
Now, what you see just is a semi-finished articles with a part of functions, I will release an alpha stage product before I begin my new year scedule.
Believe it, it will be the best!
Image
Testing account:
http://directadmin-api.utombox.com/
Host: apitest.utombox.com
UserName: utom81
PassWord: dddddd
Language pack: http://directadmin-api.utombox.com/language/en-us/lang.phps
Thanks to Thestral for offering Meyu account for testing