SHARE
TWEET

Untitled

a guest Nov 22nd, 2017 56 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Get theme url
  2. <?php echo get_template_directory_uri(); ?>
  3.  
  4. # Add active class on li a
  5. <?php if (is_page('8')) echo 'active'; ?>
  6.  
  7. # Get site URL
  8. <?php echo get_site_url();?>
  9.  
  10. # Do shortcode
  11. <?php echo do_shortcode('[wpgmza id="1"]'); ?>
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