This file contains hidden or 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
jQuery(document).ready(function($){ | |
function wds_reset_footer_transient() { | |
// Run our AJAX call to delete our site transient | |
$.ajax({ | |
type : 'post', | |
dataType : 'json', | |
url : ajaxurl, | |
data : { |
This file contains hidden or 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
table.cmb_metabox #posts-wrap { | |
background: url(../images/tiered-arrow.png) 50% 50% no-repeat; | |
display: inline-block; | |
width: 100%; | |
} | |
table.cmb_metabox .connected { | |
border: 1px solid #ddd; | |
cursor: pointer; | |
float: left; |
This file contains hidden or 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 | |
/** | |
* Add metabox for Life at Meltwater layout | |
*/ | |
$meta_boxes['wds_meltwater_attached_layout_what_to_expect'] = array( | |
'id' => 'what-to-expect', | |
'title' => __( 'What to Expect Layout', 'meltwater' ), | |
'object_types' => array( 'layout' ), | |
'context' => 'normal', | |
'priority' => 'low', |
This file contains hidden or 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
/** | |
* Foo Script. | |
*/ | |
window.Foo_Object = {}; | |
( function( window, $, that ) { | |
// Private variable. | |
var fooVariable = 'foo'; | |
// Constructor. |
This file contains hidden or 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 cmc_remove_wp_core_version_numbers( $src ) { | |
$src = remove_query_arg( 'ver', $src ); | |
return $src; | |
} | |
add_filter( 'style_loader_src', 'cmc_remove_wp_core_version_numbers', 9999 ); | |
add_filter( 'script_loader_src', 'cmc_remove_wp_core_version_numbers', 9999 ); |
This file contains hidden or 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
/** | |
* BLOCK: Default Block | |
* | |
* This block was meant to be duplicated. | |
* It serves as the starting point for new blocks. 😀 | |
*/ | |
/** | |
* External dependencies | |
*/ |
This file contains hidden or 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
/** | |
* BLOCK: Default Block | |
* | |
* This block was meant to be duplicated. | |
* It serves as the starting point for new blocks. 😀 | |
*/ | |
/** | |
* External dependencies | |
*/ |
OlderNewer