| bio | website | |
|---|---|---|
| location | ||
| age | ||
| visits | member for | 9 months |
| seen | Apr 6 at 22:45 | |
| stats | profile views | 2 |
|
Sep 6 |
asked | All of the “more results” and navigation links lead to a 404 error |
|
Sep 2 |
accepted | Trying to add taxonomy to get_categories() but it's not working. How to fix this? |
|
Aug 30 |
revised |
Trying to add taxonomy to get_categories() but it's not working. How to fix this? added 3 characters in body |
|
Aug 30 |
answered | Trying to add taxonomy to get_categories() but it's not working. How to fix this? |
|
Aug 29 |
revised |
Trying to add taxonomy to get_categories() but it's not working. How to fix this? added 225 characters in body |
|
Aug 29 |
revised |
Trying to add taxonomy to get_categories() but it's not working. How to fix this? added the taxonomy code |
|
Aug 29 |
awarded | Editor |
|
Aug 29 |
comment |
Trying to add taxonomy to get_categories() but it's not working. How to fix this? Pastebin is banned by my ISP. I added the code to the original question. Here's the two files added to codepad: codepad.viper-7.com/4Wkgg3 codepad.viper-7.com/n2hZRI |
|
Aug 29 |
revised |
Trying to add taxonomy to get_categories() but it's not working. How to fix this? added the taxonomy code |
|
Aug 29 |
comment |
Trying to add taxonomy to get_categories() but it's not working. How to fix this? mediafire.com/?vkaww4q442t4jue The file where I can't view the taxonomy is options.php and the one registering is theme-custom-post-types.php |
|
Aug 29 |
awarded | Commentator |
|
Aug 29 |
comment |
Trying to add taxonomy to get_categories() but it's not working. How to fix this? That function is located after the register taxonomy part. |
|
Aug 29 |
comment |
Trying to add taxonomy to get_categories() but it's not working. How to fix this? I'm not sure if this is it, I think I might have to send you the whole file somehow: add_action("init", "WooEstateInit"); function WooEstateInit() { global $woowoo_estate; $woowoo_estate = new WooEstate(); } |
|
Aug 29 |
comment |
Trying to add taxonomy to get_categories() but it's not working. How to fix this? 'edit_item' => __('Edit Location'), 'update_item' => __('Update Location'), 'add_new_item' => __('Add New Location'), 'new_item_name' => __('New Location Name') ), 'public' => true, 'show_ui' => true, "rewrite" => true ) ); |
|
Aug 29 |
comment |
Trying to add taxonomy to get_categories() but it's not working. How to fix this? register_taxonomy( "location", array( "woo_estate" ), array ( "hierarchical" => true, "label" => "Locations", 'labels' => array( 'name' => __('Locations'), 'singular_name' => __('Location'), 'search_items' => __('Search Real Estate'), 'popular_items' => __('Popular Locations'), 'all_items' => __('All Locations'), 'parent_item' => __('Parent Location'), 'parent_item_colon' => __('Parent Location:'), |
|
Aug 29 |
comment |
Trying to add taxonomy to get_categories() but it's not working. How to fix this? Actually, I think you're a genius. Because although I didn't find how to fix it yet, I just found out the wp_dropdown_categories() code only works well in my theme's header file. in the same file that I'm editing right now, it returns with errors as well! So somehow the taxonomy that works when used anywhere in the theme's widget, index, header etc. doesn't work in the file I'm editing which is the theme's options file. |
|
Aug 29 |
comment |
Trying to add taxonomy to get_categories() but it's not working. How to fix this? object(WP_Error)#517 (2) { ["errors"]=> array(1) { ["invalid_taxonomy"]=> array(1) { [0]=> string(16) "Invalid taxonomy" } } ["error_data"]=> array(0) { } } |
|
Aug 29 |
comment |
Trying to add taxonomy to get_categories() but it's not working. How to fix this? but the same very exact call works on other pages. wp_dropdown_categories('orderby=name&show_count=0&selected=0&hierarchical=1&hide_empty=0&depth=1&show_option_all=All&name=locadu&id=locadu&taxonomy=location&exclude=1061'); works exactly like it should yet the same taxonomy doesn't work in get_categories(). |
|
Aug 29 |
comment |
Trying to add taxonomy to get_categories() but it's not working. How to fix this? This should be what you're looking for: object(WP_Error)#337 (2) { ["errors"]=> array(1) { ["invalid_taxonomy"]=> array(1) { [0]=> string(16) "Invalid taxonomy" } } ["error_data"]=> array(0) { } } |
|
Aug 29 |
comment |
Trying to add taxonomy to get_categories() but it's not working. How to fix this? <select id="elegantestate_feat_cat" name="elegantestate_feat_cat"> <option></option> </select> |