Created
October 27, 2016 19:42
-
-
Save kaweski/01e731f86a585724b86de37f608cbf98 to your computer and use it in GitHub Desktop.
Verifica o post type
This file contains hidden or 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
<?php | |
/** | |
* | |
* Autor | |
* | |
*/ | |
$user_slug = get_the_author_meta( 'user_nicename' ); | |
$user_url = home_url('author/') . $user_slug . '/?qd_type=qd_opportunity'; ?> | |
<a href="<?php echo $user_url; ?>"><?php echo get_the_author_meta( 'display_name' ); ?></a> | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment