Skip to content

Commit

Permalink
Uppdaterat hur man tar fram URL till opengraph
Browse files Browse the repository at this point in the history
  • Loading branch information
rickard2 committed Nov 30, 2012
1 parent 0699cf6 commit ac5046b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion header.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<meta property="og:image" content="<?php bloginfo("template_directory") ?>/images/apple-touch-icon-114x114.png">
<meta property="og:image:width" content="114">
<meta property="og:image:height" content="114">
<meta property="og:url" content="http<?php if (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == "on") echo 's' ?>://<?php echo $_SERVER["SERVER_NAME"] . $_SERVER['REQUEST_URI'] ?>">
<meta property="og:url" content="http<?php if (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == "on") echo 's' ?>://<?php echo $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'] ?>">
<meta property="fb:admins" content=""> <?php //todo: changeme, use graph.facebook.com/username or /userid ?>
</head>
<!--[if lt IE 7 ]> <body <?php body_class('ie6'); ?>> <![endif]-->
Expand Down

0 comments on commit ac5046b

Please sign in to comment.