Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)
  • Forum: Plugins
    In reply to: Taxonomies Returning Empty
    Thread Starter squeaker2

    (@squeaker2)

    I ended up using this plugin instead in a crunch:
    Custom Taxonomy Order

    Please still look into this bug because paid plugins should not have errors. I also recommend separating parent from children in the tree hierarchy like this plugin does. When you get 200-300 categories drag and drop is difficult with that many items.

    I would still recommend your plugin to anyone – just please work out the issue with term_order not being declared or w/e it may be.

    Thanks!

    Forum: Plugins
    In reply to: Taxonomies Returning Empty
    Thread Starter squeaker2

    (@squeaker2)

    Still not sure why this is behaving like this. It “appears” that the problem is the term_order parameter altogether. I am trying to find code that may be trying to call that parameter before it is recognized because that is what is essentially crashing the admin as well.

    If the Admin Sort is checked in the backend (which applies the term_order to all queries) – it crashes the categories of your custom taxonomies. With enough digging I am sure I will find the problem, but any help along the way would be greatly appreciated.

    It is so awkward that this works on localhost, but not on the server. Weird.

    Forum: Plugins
    In reply to: Taxonomies Returning Empty
    Thread Starter squeaker2

    (@squeaker2)

    $args = array(
                                'orderby'       =>  'term_order',
                                'depth'         =>  0,
                                'child_of'      => 0,
                                'hide_empty'    =>  0
                    );
                    $taxonomy_terms = get_terms($taxonomy, $args);

    WordPress will return data if you remove the orderby term_order here, but obviously that will defeat the purpose of this plugin. Is WordPress trying to prevent us from using that column – is it a permission thing?

    Thread Starter squeaker2

    (@squeaker2)

    To solve this, I just changed tag to tagged… WP uses tag for itself.. i just used a custom variable and said screw it 🙂

    Thread Starter squeaker2

    (@squeaker2)

    Resolved by doing this… probably a better way to do it.. but w/e.

    $tagging = '';
    				if(get_the_tags()) $posttags = get_the_tags();
    				if ($posttags) {
    					foreach($posttags as $tag) {
    					$tagging = $tagging . '<a href="?tag='.$tag->slug.'">'.$tag->name .'</a>'. ', ';
    				}}
    
    				$category = '';
    				if(get_the_category()) $postcat = get_the_category();
    				if ($postcat) {
    					foreach($postcat as $cat) {
    					$category = $category . '<a href="?searchCat='.$cat->slug.'">'.$cat->name .'</a>'. ', ';
    				}}

    Thread Starter squeaker2

    (@squeaker2)

    Thank you SO much.. omg i was getting frustrated, I really really appreciate your response!

Viewing 6 replies - 1 through 6 (of 6 total)