List active taxonomy terms

Well I did it.. <ul id=”filter”> <li><a href=”#” class=”current” data-filter=”*” title=””>*</a></li> <?php $term = get_term_by( ‘slug’, get_query_var( ‘term’ ), get_query_var( ‘taxonomy’ ) ); ?> <?php $term_id = $term->term_id; $taxonomy_name=”categories”; $termchildren = get_term_children( $term_id, $taxonomy_name ); foreach ( $termchildren as $child ) { $term = get_term_by( ‘id’, $child, $taxonomy_name ); echo ‘<li><a href=”#” data-filter=”.’ . $term->slug … Read more

Custom Taxonomy user based creation

Re, I think i figure out this topic. To create a user based Term in Custom Taxonomy, i’ve created a meta attached to the term (new WP 4.4 feature) ‘author’ which contains the logged in user ID : add_term_meta($term_id,’author’,get_current_user_id()); and then to retrieve the user who has created the term : $author = get_the_author_meta( ‘user_nicename’, … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)