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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
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
function cl_disable_carousel() { | |
$id = url_to_postid( "http://".$_SERVER['SERVER_NAME'].$_SERVER['REQUEST_URI'] ); | |
$disable = false; | |
if ($id == 67) { | |
$disable = true; | |
} | |
return $disable; | |
} | |
add_filter('jp_carousel_maybe_disable', 'cl_disable_carousel'); |
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
// ==UserScript== | |
// @name Store Olark Helper | |
// @include https://chat.olark.com/* | |
// ==/UserScript== | |
var $ = unsafeWindow.jQuery; | |
// ------------------------------------------------------ | |
// TOP BUTTONS | |
// ------------------------------------------------------ |
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
#subscribe-email input { | |
font-size:12px; | |
} | |
#subscribe-text p { | |
margin-bottom: 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
function jetpackme_related_posts_headline( $headline ) { | |
$headline = sprintf( | |
'<h3 class="jp-relatedposts-headline"><em>%s</em></h3>', | |
esc_html( 'You Might Also Like:' ) | |
); | |
return $headline; | |
} | |
add_filter( 'jetpack_relatedposts_filter_headline', 'jetpackme_related_posts_headline' ); |
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
.woocommerce ul.products li:nth-of-type(7) { | |
display: none; | |
} |
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
<methodResponse> | |
<params> | |
<param> | |
<value> | |
<string>Hello!</string> | |
</value> | |
</param> | |
</params> | |
</methodResponse></pre></code></blockquote> | |
[response_body] => <div style="display:none;"> |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<methodResponse> | |
<params> | |
<param> | |
<value> | |
<string>Hello!</string> | |
</value> | |
</param> | |
</params> | |
</methodResponse> |
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 | |
function jetpackme_no_related_posts( $options ) { | |
if ( in_category( array( 4, 10 ) ) ) { | |
$options['enabled'] = true; | |
} else { | |
$options['enabled'] = false; | |
} | |
return $options; |
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> | |
<meta charset="UTF-8"> | |
<meta name="description" content="Webhosting zdarma pro každého"> | |
<meta name="keywords" content="webhosting, freehosting, zdarma, multihosting"> | |
<meta name="author" content="Endora.cz - [email protected]"> | |
<meta name="robots" content="index, follow"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<meta property="og:image" content="http://www.endora.cz/images/freehosting-endora-facebook.png"> |
OlderNewer