Posts by codeex

180 posts
  • Exclusive Author
  • Sold between 50 000 and 100 000 dollars
  • Bought between 1 and 9 items
  • Has been a member for 4-5 years
  • Austria
codeex says


is the new version (1.1.4) already release?
Yes it is, for a couple of days now … It’s on worpdress.org plugin repository

thank you…

180 posts
  • Exclusive Author
  • Sold between 50 000 and 100 000 dollars
  • Bought between 1 and 9 items
  • Has been a member for 4-5 years
  • Austria
codeex says

is the new version (1.1.4) already release?

180 posts
  • Exclusive Author
  • Sold between 50 000 and 100 000 dollars
  • Bought between 1 and 9 items
  • Has been a member for 4-5 years
  • Austria
codeex says

Awesome! I’m looking forward on this.. congrats!

180 posts
  • Exclusive Author
  • Sold between 50 000 and 100 000 dollars
  • Bought between 1 and 9 items
  • Has been a member for 4-5 years
  • Austria
codeex says

it says “Invalid Taxonomy”..

$taxonomy = 'tax_name';
   $terms = get_terms( $taxonomy, array( 'hide_empty' => 0 ) );
   $wp_terms = array();

   echo '<pre>' . print_r( $terms, true ) . '</pre>';
   echo '<hr />';

   if ( !empty( $terms ) && !is_wp_error( $terms ) ) {
        foreach ($terms as $term) {
           $wp_terms[$term->term_id] = $term->name;
        }
     }

     echo '<pre>' . print_r( $wp_terms, true ) . '</pre>';
   array_unshift( $wp_terms, "Choose a term" ); 

not sure why it got Invalid Taxonomy..

180 posts
  • Exclusive Author
  • Sold between 50 000 and 100 000 dollars
  • Bought between 1 and 9 items
  • Has been a member for 4-5 years
  • Austria
codeex says

I added the given code above and it fixed the error but no terms is being displayed..

180 posts
  • Exclusive Author
  • Sold between 50 000 and 100 000 dollars
  • Bought between 1 and 9 items
  • Has been a member for 4-5 years
  • Austria
codeex says

Thanks man.. I will try this later..

180 posts
  • Exclusive Author
  • Sold between 50 000 and 100 000 dollars
  • Bought between 1 and 9 items
  • Has been a member for 4-5 years
  • Austria
codeex says

Hi,

I’m wondering why this get_terms not working as an array, what did I miss? anyone can help :)

$taxonomy = 'tax_type';
    $terms = get_terms( $taxonomy, array( 'hide_empty' => 0 ) );
    $wp_terms = array();
    foreach ($terms as $term) {
       $wp_terms[$term->term_id] = $term->name;
    }
    array_unshift( $wp_terms, "Choose a term" );

it says “Notice: Trying to get property of non-object in ….. “

thanks

180 posts
  • Exclusive Author
  • Sold between 50 000 and 100 000 dollars
  • Bought between 1 and 9 items
  • Has been a member for 4-5 years
  • Austria
codeex says

Congratulations and Good luck!

180 posts
  • Exclusive Author
  • Sold between 50 000 and 100 000 dollars
  • Bought between 1 and 9 items
  • Has been a member for 4-5 years
  • Austria
codeex says

This is my puppy, 2 months old.. His name is Tony..

180 posts
  • Exclusive Author
  • Sold between 50 000 and 100 000 dollars
  • Bought between 1 and 9 items
  • Has been a member for 4-5 years
  • Austria
codeex says

very inspiring.. I’m looking forward on this..

by
by
by
by
by
by