[wp-trac] [WordPress Trac] #10644: Category can be itself parent
WordPress Trac
wp-trac at lists.automattic.com
Wed Aug 19 10:19:33 UTC 2009
#10644: Category can be itself parent
----------------------------+-----------------------------------------------
Reporter: F J Kaiser | Owner: scribu
Type: enhancement | Status: accepted
Priority: low | Milestone: 2.9
Component: Administration | Version: 2.9
Severity: normal | Keywords: has-patch commit
----------------------------+-----------------------------------------------
Comment(by F J Kaiser):
i tried a minor change and added 'echo' => 0, as an $arg and saved it as
$var. then i echoed the $var. so you can easily get and use the function
as a template-tag. in my case i try to use it to enchance my search with a
drop-down to search only specific categories.
i added the function straight to my template and haven´t finished the
search yet. but maybe it would be a nice addition.
what do you think?
--
Ticket URL: <http://core.trac.wordpress.org/ticket/10644#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list