103 reputation
4
bio website
location
age
visits member for 2 years, 3 months
seen Jun 4 at 10:06

Sep
6
comment All of the “more results” and navigation links lead to a 404 error
I would post all the template files if you want but I just tested my template files (copied everything and put it on a new installation) and they worked. However, when I imported all my data from my old installation, that's when the second pages started to crash again. So I've isolated the problem to be in the data which Wordpress exports, but sadly when I deleted all my posts one by one after importing, to see which one's the culprit, none of them were! Deleted all categories and posts and still the second pages cease to work after importing the data.
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&excl‌​ude=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) { } }