This file contains 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 | |
// Tell WordPress SEO to use only full featured image for og:image output... and nothing else on singular | |
function only_full_og_featured_image() { | |
global $post; | |
if ( is_singular() ) { | |
if ( function_exists( 'has_post_thumbnail' ) && has_post_thumbnail( $post->ID ) ) { | |
$featured_image_url = wp_get_attachment_image_src(get_post_thumbnail_ID( $post->ID ), 'full' ); | |
return $featured_image_url[0]; | |
} | |
} |
This file contains 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> | |
<head> | |
<link rel="canonical" href="https://positivr.fr/daniel-carlmatz-mots-dessins-forme-sens/" /> | |
<meta charset="utf-8" /> | |
<meta property="op:generator" content="facebook-instant-articles-sdk-php" /> | |
<meta property="op:generator:version" content="1.6.2" /> | |
<meta property="op:generator:application" content="facebook-instant-articles-wp" /> | |
<meta property="op:generator:application:version" content="4.0.6" /> | |
<meta property="op:generator:transformer" content="facebook-instant-articles-sdk-php" /> | |
<meta property="op:generator:transformer:version" content="1.6.2" /> |
This file contains 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
/** | |
* Price Table - EFORM Learning | |
*/ | |
html,html a { | |
-webkit-font-smoothing: antialiased; | |
text-shadow: 1px 1px 1px rgba(0,0,0,0.004); | |
} | |
body { |
This file contains 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
/** | |
* Leadwork : Focus No price | |
*/ | |
* {margin: 0; padding: 0;} | |
body {background: #ededed;} | |
.fo-container { | |
width: 780px; | |
margin: 20px auto; |
This file contains 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
/** | |
* Leadwork : Focus | |
*/ | |
* {margin: 0; padding: 0;} | |
body {background: #ededed;} | |
.fo-container { | |
width: 780px; | |
margin: 20px auto; |
This file contains 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
/** | |
* Leadwork : Table de prix | |
*/ | |
* {margin: 0; padding: 0;} | |
body {background: #ededed;} | |
#pt-container { | |
width: 780px; | |
margin: 100px auto; |
This file contains 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
<a href="https://plus.google.com/ID/?rel=author">Mon profil Google+</a> |
This file contains 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 | |
// Adding the $double_optin=false and $send_welcome=false parameters for single optin and no welcome email message | |
$retval = $api->listSubscribe( $listid, $email, $vars, $double_optin=false, $send_welcome=false ); | |
?> |
This file contains 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 | |
// Adding Digg Digg (works best with Normal Display) to woocommerce_share() | |
function adding_dd_to_woo() { | |
// first, let's remove Digg Digg from its normal hook | |
remove_filter('the_excerpt', 'dd_hook_wp_content'); | |
remove_filter('the_content', 'dd_hook_wp_content'); | |
// and execute it where we want | |
echo dd_hook_wp_content(); | |
} |
This file contains 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 | |
// Forcing to use wp_title() for WordPress SEO by Yoast ... damn. | |
function force_wp_title_for_yoast() { | |
return wp_title(); | |
} | |
add_filter( 'woo_title', 'force_wp_title_for_yoast' ); | |
?> |