SHARE
TWEET

let php

a guest Sep 2nd, 2015 78 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <!DOCTYPE html>
  2. <html <?php language_attributes(); ?>>
  3. <head>
  4.  
  5.   <!-- Basic Page Needs -->
  6.   <meta charset="utf-8">
  7.   <meta name="description" content="<?php if(get_post_meta($post->ID, "metadesc", true) !='' ) echo get_post_meta($post->ID, "metadesc", true); else bloginfo('description');?>" />
  8.   <meta name="keywords" content="<?php if(get_post_meta($post->ID, "metakey", true) != '') echo get_post_meta($post->ID, "metakey", true); else echo strtolower(get_bloginfo('name'));?>" />
  9.  
  10.   <!-- Mobile Specific Metas -->
  11.   <meta name="viewport" content="width=device-width, initial-scale=1">
  12.  
  13.   <!-- FONT -->
  14.  
  15.   <!-- CSS -->
  16.   <link rel="stylesheet" href="<?php echo get_template_directory_uri(); ?>/style.css">
  17.   <!-- Javascript -->
  18.   <script async src="https://code.jquery.com/jquery-2.1.4.min.js"></script>
  19.   <script async src="<?php echo get_template_directory_uri(); ?>/menu.js"></script>
  20.  
  21.   <!-- Favicon -->
  22.   <link rel="icon" type="image/png" href="<?php echo get_template_directory_uri(); ?>/images/favicon.png"/>
  23.  
  24. <!-- Twitter Cards -->
  25. <meta name="twitter:card" content="summary_large_image">
  26. <meta name="twitter:site" content="@username">
  27. <meta name="twitter:creator" content="@username">
  28. <meta name="twitter:title" content="<?php wp_title(); ?>">
  29. <meta name="twitter:description" content="<?php if(get_post_meta($post->ID, "metadesc", true) !='' ) echo get_post_meta($post->ID, "metadesc", true); else bloginfo('description');?>">
  30. <meta name="twitter:image" content="<?php the_post_thumbnail( array(100, 100) ); ?> ">
  31.  
  32. <!-- Facebook OG -->
  33. <meta property="og:type" content="article" />
  34.    <meta property="og:title" content="<?php wp_title(); ?>"/>
  35.    <meta property="og:description" content="<?php if(get_post_meta($post->ID, "metadesc", true) !='' ) echo get_post_meta($post->ID, "metadesc", true); else bloginfo('description');?>"/>
  36.    <meta property="og:url" content="<?php echo "https://" . $_SERVER['HTTP_HOST']  . $_SERVER['REQUEST_URI']; ?> "/>
  37.    <meta property="og:site_name" content="meatspin.com - free spinning trials available"/>
  38.    <meta property="og:image" content="<?php the_post_thumbnail( array(100, 100) ); ?> "/>
  39.    <meta property="fb:app_id" content="12345647895654564654"/>
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