Tag Info

New answers tagged

0

You can use get_queried_object to return the full queried term object on a taxonomy archive page. $term = get_queried_object(); if( 0 === $term->parent ){ // term is top level } else { // term has parent }


0

There is no simple way to get this from scouring. And everyone who answers everywhere thinks you want to link to a TERM in the TAXONOMY... While you're looking to get a link to the TAXONOMY archive... For which I have found absolutely nothing. Basically, like many people, you want a get_taxonomy_archive_link method. Except, for one reason or another, it ...


0

Fixed. I used code: <div class="panel callout radius"> <?php echo get_avatar( get_the_author_meta( 'user_email' ), '96' ); ?> <div class="right"> <a href="https://twitter.com/<?php the_author_meta( 'twitter' ); ?>" target="_blank"><i class="fi-social-twitter ...



Top 50 recent answers are included