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 | |
// do not copy the line above | |
/** | |
* Removes the twittercard-information from Jetpack | |
* Thus allows WordPress SEO to handle the twittercards | |
*/ | |
function yst_remove_twittercard_info() { | |
remove_filter( 'jetpack_open_graph_tags', 'wpcom_twitter_cards_tags' ); | |
remove_filter( 'jetpack_open_graph_tags', 'change_twitter_site_param' ); |
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
Some testing links: | |
<strong>Links</strong> | |
<a href="http://clean.dev/">Link to home, no target.</a> | |
<a href="http://clean.dev/" target="_blank">Link to home.</a> | |
<a href="http://clean.dev/test/link" target="_blank">Link to /test/.</a> | |
<a href="http://clean.dev/wp-content/uploads/2015/04/x-life17-mojo-42.jpg">href img</a> | |
<a href="#" download="http://clean.dev/wp-content/uploads/2015/04/x-life17-mojo-42.jpg">href home, download img</a> | |
<a href="http://clean.dev/links" download="http://clean.dev/wp-content/uploads/2015/04/x-life17-mojo-42.jpg">href links, download img</a> | |
<a hreflang="nl_NL" href="http://clean.dev/" target="_blank">hreflang NL, link to home.</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
IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII8ND$7I7NMMMMMMMNII7ZN87IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII | |
IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII7777$MMMMMMMMMMMMMMMMMMMMMMMMMM8NNZIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII | |
IIIIIIIIIIIIIIIIIIIIIIIIIIIII7DMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM$IIIIIIIIIIIIIIIIIIIIIIIIIIIII | |
IIIIIIIIIIIIIIIIIIIIIIIIIII$MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM77IIIIIIIIIIIIIIIIIIIIIIIIII | |
IIIIIIIIIIIIIIIIIIIIIIIII7DMMMMMMMMMMMMMMMMMMMMNMMMM$MMMMM8MMMMMMMMMMMMMMMMMIIIIIIIIIIIIIIIIIIIIIIII | |
IIIIIIIIIIIIIIIIIIIIIII7MMMMMMMMMMMMMMMMMMMMMNMMMMMMMNMMMMNZMMMNNDOMMMMMMMMMM7IIIIIIIIIIIIIIIIIIIIII | |
IIIIIIIIIIIIIIIIIIIIII7MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMNMM$MMDDMMMMMMMMMMMMMM7IIIIIIIIIIIIIIIIIIIII | |
IIIIIIIIIIIIIIIIIIIIII7MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMOMMDMMDMMMMMMMMMMMMMMMMM7I7IIIIIIIIIIIIIIIII | |
7777777777777777777II8MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMD7MMMMMMMMMMMMMMMMMMMMMMMM7II7777777777777777 | |
7777777777777777777I7MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMDMMMMMMMMMMMMMMMMMMMMMMMMMNI77777777777777777 |
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
IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII77$ZOO88888OZ$7IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII | |
IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII7IIII777IIII77IIIIIIIIIIIZ8DMMMMMMMMMMMMMMMMNDZ7IIIIIIIIIIIIIIIIIIIII7IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII | |
IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIZO8NNNNNDOZ$777I7III7Z8NMMMMMMMMMMMMMMMMMMMMMMMNO$IIIIII77$Z8DNND8Z$7IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII | |
IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII7II8 |
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 | |
// Can be used in any (template) file, will do the same as [wpseo_map] in posts/pages. | |
if( function_exists( 'wpseo_local_show_map' ) ) { | |
$params = array( | |
'echo' => true, | |
'id' => 347, | |
'width' => 800, | |
'height' => 600, | |
'zoom' => 5, | |
'show_route' => true |
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 | |
// // Can be used in any (template) file, will do the same as shortcode [wpseo_address] | |
if( function_exists( 'wpseo_local_show_address' ) ) { | |
$params = array( | |
'echo' => true, | |
'id' => 237, | |
'show_state' => true, | |
'show_country' => true, | |
'show_phone' => true, | |
'oneline' => 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 | |
// Can be used in any (template) file, will do the same as [wpseo_opening_hours] | |
if ( function_exists( 'wpseo_local_show_opening_hours' ) ) { | |
$params = array( | |
'id' => 237, | |
'hide_closed' => false, | |
'echo' => true, | |
'comment' => '' | |
); | |
wpseo_local_show_opening_hours( $params ); |
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 | |
/** | |
* Register widget areas for Genesis Childthemes | |
* Includes i18n for name and description. | |
*/ | |
genesis_register_sidebar( array( | |
'id' => 'Widgetarea_slug', | |
'name' => __( 'Title of your widgetarea', 'example' ), | |
'description' => __( 'Description that is shown in the admin of your WordPress website', 'example' ), | |
) ); |
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
Movie on 'http://www.skyriderfilms.com/gay-video-series-coffee-talk-trailer-released/' returns: | |
stdClass Object | |
( | |
[version] => 1.0 | |
[type] => video | |
[html] => <div id="wistia_4fpms58ph5" class="wistia_embed" style="width:960px;height:568px;"><div itemprop="video" itemscope itemtype="http://schema.org/VideoObject"><meta itemprop="name" content="Coffee Talk Trailer" /><meta itemprop="duration" content="PT30S" /><meta itemprop="thumbnailUrl" content="http://embed-0.wistia.com/deliveries/0ab49f12e1f1bc4000c9b784832500c6e1f1e809.bin" /><meta itemprop="contentURL" content="http://embed-0.wistia.com/deliveries/9666db8494fd669aa8e6016985768454549f20cc.bin" /><meta itemprop="embedURL" content="http://embed-0.wistia.com/flash/embed_player_v2.0.swf?2013-10-04&autoPlay=false&banner=true&controlsVisibleOnLoad=true&customColor=333333&endVideoBehavior=default&fullscreenDisabled=true&hdUrl%5Bext%5D=flv&hdUrl%5Bheight%5D=720&hdUrl%5Bsize%5D=9910795&hdUrl%5Btype%5D=hdflv&hdUrl%5Burl%5D=http%3A%2F%2Fembed-0.wistia.co |
OlderNewer