Skip to content

Instantly share code, notes, and snippets.

View chaselivingston's full-sized avatar

Chase Livingston chaselivingston

View GitHub Profile
https://wpml.org/documentation/support/creating-multilingual-wordpress-themes/language-dependent-ids/
<?php endwhile; // end of the loop. ?>
HTTP/1.1 400 Bad Behavior
X-Powered-By: PHP/5.5.22
Content-Type: text/html
Server: Managed WordPress Hosting by Lightning Base
X-Cacheable: NO: beresp.status
X-Cacheable-status: 400
Content-Length: 1050
Accept-Ranges: bytes
Date: Tue, 26 Jan 2016 18:46:24 GMT
X-Varnish: 2195628763
HTTP/1.1 302 Found
Server: nginx/1.7.6
Date: Fri, 22 Jan 2016 14:58:40 GMT
Content-Type: text/html; charset=iso-8859-1
Content-Length: 319
Connection: keep-alive
Keep-Alive: timeout=10
Location: http://sweb.ru/insecure
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
https://gist.github.com/242398e792e61ed31e38
<!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">
<!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">
<?php
function jetpackme_no_related_posts( $options ) {
if ( in_category( array( 4, 10 ) ) ) {
$options['enabled'] = true;
} else {
$options['enabled'] = false;
}
return $options;
<?xml version="1.0" encoding="UTF-8"?>
<methodResponse>
<params>
<param>
<value>
<string>Hello!</string>
</value>
</param>
</params>
</methodResponse>
<methodResponse>
<params>
<param>
<value>
<string>Hello!</string>
</value>
</param>
</params>
</methodResponse></pre></code></blockquote>
[response_body] => <div style="display:none;">