Posted By

robnilas on 01/21/17


Tagged


Versions (?)

Add Code on Head


 / Published in: Other
 

  1. <?php
  2. function addfavicon() {
  3. if (is_single() || is_page()) { /* If Post or Page */
  4. ?>
  5. // page
  6. <?php
  7. }
  8. }
  9. add_action('wp_head', 'addfavicon', 1);
  10. ?>

Report this snippet  

You need to login to post a comment.