Guest User

Untitled

a guest
Dec 16th, 2018
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.10 KB | None | 0 0
  1. if (get_post_type() === 'post') {
  2. // POST
  3. }
  4.  
  5. if (get_post_type() === 'page') {
  6. // PAGE
  7. }
Add Comment
Please, Sign In to add comment