This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Function Description : Facebook Scrape | |
* Author Name : Mouad Achemli | |
* Source : https://www.mwordpress.net/force-facebook-to-update-post-thumbnail-automatically/ | |
* Inspered from : https://stackoverflow.com/a/32916433/2535061 | |
* @website : https://www.mwordpress.net/ | |
* | |
*/ | |
function scrape_open_graph($post) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
Template Name: Redirect Page | |
*/ | |
$url = $_GET['url']; | |
include 'header2.php'; | |
?> | |
<div class="content"> | |
<?php if ( have_posts() ) : ?> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html <?php language_attributes(); ?>> | |
<head> | |
<meta http-equiv="refresh" content="5; url=<?php echo $url; ?>"> | |
<meta name="robots" content="noindex"> | |
<?php wp_head(); ?> | |
</head> | |
<body <?php body_class(); ?>> |
NewerOlder