[wp-hackers] Custom Taxonomies for Pages
Dion Hulse (dd32)
wordpress at dd32.id.au
Sun Aug 30 21:59:17 UTC 2009
On Sun, 30 Aug 2009 23:43:30 +1000, scribu <scribu at gmail.com> wrote:
> On Sun, Aug 30, 2009 at 3:35 PM, Jason <jason at findingsimple.com> wrote:
>> Hi All,
>> I am trying to get a custom taxonomy tag panel on the "Edit Page" page
>> the dashboard - just like the regular tags panel for the "edit posts"
>> except for a custom taxonomy.
>> My understanding is that WP does not do all the automatic stuff for
>> taxonomies relating to pages at the moment.
>> So what I have done is an add an additional meta box and told it to
>> a tweaked version of the core add tag panel but I can't seem to get it
>> make the ajax (?) calls to populate it properly/edit the tags properly.
>> need to add some extra java to the "Edit Page" page or something?
>> Thoughts, suggestions, help?
>> You can view the functions I am using
> Firstly, the tags are not populated by AJAX. They are saved when the
> post is
> So you will need to add a hook somewhere to save the page tags.
> following line to the 'admin_enqueue_scripts' action:
That'll only work for the post_tag taxonomy however. I've been working on
converting everything to handle custom taxonomies better.. but.. not sure
when there'll be a working patch available :)
e: contact at dd32.id.au
m: 04 6621 9112 (+614 6621 9112)
More information about the wp-hackers