Date: [date]
Between us [company name] and you [customer name].
In short; neither of us will share any confidential information about each-other, by any means, with anyone else.
<?php | |
/** | |
* Translate post-type-archive-slug when different from post-type-slug. | |
* | |
* You can have your archive slug set to, for example /books and the singles on /book/title by setting | |
* $args['rewrite'] => [ 'slug' => 'book', ... ]; | |
* $args['has_archive'] => 'books'; | |
* when registering your post_type | |
* |
// moved to https://wordpress.org/plugins/classic-editor-addon/ |
// please, replace the GTM-XXXX | |
add_action( 'wp_head', 'custom_add_google_tag_manager_head', 0 ); | |
function custom_add_google_tag_manager_head () { | |
?> | |
<!-- Google Tag Manager --> | |
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': | |
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], | |
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= | |
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f); | |
})(window,document,'script','dataLayer','GTM-XXXX');</script> |
<?php | |
return function($site, $pages, $page) { | |
$alert = null; | |
if(get('submit')) { | |
$data = array( | |
'name' => get('name'), |
<?php | |
/** | |
* Your Child Theme | |
* | |
* Template Name: Landing | |
*/ | |
/** | |
* Flexible Content | |
* |
/** | |
* Remove Rev Slider Metabox | |
*/ | |
if ( is_admin() ) { | |
function remove_revolution_slider_meta_boxes() { | |
remove_meta_box( 'mymetabox_revslider_0', 'page', 'normal' ); | |
remove_meta_box( 'mymetabox_revslider_0', 'post', 'normal' ); | |
remove_meta_box( 'mymetabox_revslider_0', 'YOUR_CUSTOM_POST_TYPE', 'normal' ); | |
} |
<?php | |
# Basic Usage | |
# requires that the user be logged in as an administrator and that a 'gwunrequire' parameter be added to the query string | |
# http://youurl.com/your-form-page/?gwunrequire=1 | |
new GWUnrequire(); | |
# Enable for All Users (Including Visitors) | |
# still requires the 'gwunrequire' parameter be added to the query string | |
new GWUnrequire( array( |
<?php | |
// Reduced to the minimum | |
class ThumbnailFilter extends FilterIterator | |
{ | |
private $wp_query; | |
public function __construct( Iterator $iterator, WP_Query $wp_query ) | |
{ | |
NULL === $this->wp_query AND $this->wp_query = $wp_query; | |
parent::__construct( $iterator ); |
/* The Grid ---------------------- */ | |
.lt-ie9 .row { width: 940px; max-width: 100%; min-width: 768px; margin: 0 auto; } | |
.lt-ie9 .row .row { width: auto; max-width: none; min-width: 0; margin: 0 -15px; } | |
.lt-ie9 .row.large-collapse .column, | |
.lt-ie9 .row.large-collapse .columns { padding: 0; } | |
.lt-ie9 .row .row { width: auto; max-width: none; min-width: 0; margin: 0 -15px; } | |
.lt-ie9 .row .row.large-collapse { margin: 0; } | |
.lt-ie9 .column, .lt-ie9 .columns { float: left; min-height: 1px; padding: 0 15px; position: relative; } | |
.lt-ie9 .column.large-centered, .columns.large-centered { float: none; margin: 0 auto; } |