Guest User

Untitled

a guest
Jan 10th, 2019
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. <?php global $wp_query;
  2. $thepostid = $wp_query->post->ID;
  3. $postdata = get_post($thePostid, ARRAY_A);
  4. $authorid = $postdata['post_author'];
  5. if (!$authorid==3 || !$authorid==1 ) {
  6. echo $td_mod_single->get_author();}
  7. ?>
Advertisement
Add Comment
Please, Sign In to add comment