SHARE
TWEET

Relative >> Absolute/Dinamis URL

pustakakoran Jan 24th, 2017 96 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Relative >> Absolute/Dinamis URL:
  2.  
  3. 1. <link rel="stylesheet" href="style.css" />
  4. Ganti dengan :
  5. <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" />
  6.  
  7. 2. <img src="images/thumb.jpg" alt="" width=120 height=120 class="wp-post-image" />
  8. tambahkan template tag berikut pada src nya :
  9. <img src="<?php bloginfo('template_directory'); ?>/images/thumb.jpg" alt="" width=120 height=120 class="wp-post-image" />
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top