Created
July 10, 2014 12:07
-
-
Save 0v3rth3d4wn/3067c6b17642cfaf1b32 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?=implode( ' / ', array_map( function( $term ) { return '<a href="' . get_term_link( $term, 'category' ) . '">' . get_term( $term, 'category' )->name . '</a>'; } , wp_list_pluck( get_the_terms( $article->ID, 'category' ), 'term_id' ) ));?> /<?php _e( 'by', 'premitheme' );?> <a href="<?=get_author_posts_url( $article->post_author );?>"><?php the_author_meta( 'display_name', $article->post_author ); ?></a> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment