I’ve created a horizontal Flash menu to work with the list_pages() function. To get it to work, I re-wrote a part of the classes.php, but I’ve got a feeling there is a better way. I’ve been looking at the WP docs and on google, but I can’t seem to find the pointer I need.
PHP is no problem, I just need to know where to put it and how to go about implementing it, without distorting the original files. A link or something on the subject would be appreciated!
ps. I also posted this on FlashDen, but my guess is, the real WP coders are overhere..
You need to use the “&echo=0” setting on the wp_list_pages(); function. It would allow you to alter the output of the function without changing the core files. Disabling the “echo” parameter will give you a string which you can manipulate to accommodate to your needs.
^Yea that sounds about right.
Editing core files is always a hassle. If its for a template then you need to tell everyone installing it to edit their core. And even if its for your own site the changes will get reverted every time you upgrade WordPress.
I haven’t been able to poke around with it, but I will give it a try. When done, I’ll let you guys know.
Idd. the idea is to keep the core un-editted for future use.
- Please read our community guidelines. Self promotion and discussion of piracy is not allowed.
- Open a support ticket if you would like specific help with your account, deposits or purchases.
- Item Support by authors is optional and may vary. Please see the Support tab on each item page.
Most of all, enjoy your time here. Thank you for being a valued Envato community member.