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
| @mixin center-align($dir: false) { | |
| $map: ( | |
| top: ( Y ), | |
| left: ( X ) | |
| ); | |
| @if map_get($map, $dir) != null { | |
| #{$dir}: 50%; | |
| transform: #{"translate#{map_get($map,$dir)}(-50%)"}; | |
| } @else { |
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 () { | |
| var channels = {}; | |
| this.subscribe = function (channel, subscription) { | |
| if (!channels[channel]) channels[channel] = []; | |
| channels[channel].push(subscription); | |
| }; | |
| this.publish = function (channel) { | |
| if (!channels[channel]) return; |
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
| <!DOCTYPE html> | |
| <!--[if lt IE 7 ]> <html class="ie ie6 no-js" > <![endif]--> | |
| <!--[if IE 7 ]> <html class="ie ie7 no-js" > <![endif]--> | |
| <!--[if IE 8 ]> <html class="ie ie8 no-js" > <![endif]--> | |
| <!--[if IE 9 ]> <html class="ie ie9 no-js" > <![endif]--> | |
| <!--[if gt IE 9]><!--><html class="no-js" ><!--<![endif]--> | |
| <head> |
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
| #colorbox, | |
| #cboxOverlay, | |
| #cboxWrapper { position:absolute; top:0; left:0; z-index:9999; overflow:hidden;} | |
| #cboxOverlay { position:fixed; width:100%; height:100%;} | |
| #cboxMiddleLeft, | |
| #cboxBottomLeft {clear:left;} | |
| #cboxContent { position:relative;} | |
| #cboxLoadedContent { overflow:auto;} | |
| #cboxTitle { margin:0;} | |
| #cboxLoadingOverlay, |
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
| add_action( 'init', 'create_book_taxonomies', 0 ); | |
| //create two taxonomies, genres and writers for the post type "book" | |
| function create_book_taxonomies() | |
| { | |
| // Add new taxonomy, make it hierarchical (like categories) | |
| $labels = array( | |
| 'name' => _x( 'Genres', 'taxonomy general name' ), | |
| 'singular_name' => _x( 'Genre', 'taxonomy singular name' ), | |
| 'search_items' => __( 'Search Genres' ), |
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
| /** | |
| * Nice Tabs | |
| */ | |
| .tabrow { | |
| position: relative; | |
| text-align: center; | |
| list-style: none; | |
| margin: 0; | |
| padding: 0; |
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
| {"facets":[],"template":"<body class=\"archive post-type-archive post-type-archive-foxyshop_product logged-in admin-bar no-customize-support custom-background full-width-content debug-bar-maximized foxyshop foxyshop-all-products\" itemscope itemtype=\"http:\/\/schema.org\/Blog\"><div class=\"site-container\"><header class=\"site-header\" itemscope itemtype=\"http:\/\/schema.org\/WPHeader\"><div class=\"wrap\"><div class=\"title-area\"><h1 class=\"site-title\" itemprop=\"headline\"><a href=\"http:\/\/msurplus.wpengine.com\/\">Manufacturing Surplus<\/a><\/h1><\/div><div class=\"widget-area header-widget-area\"><section id=\"nav_menu-2\" class=\"widget widget_nav_menu\"><div class=\"widget-wrap\"><nav class=\"nav-header\" itemscope itemtype=\"http:\/\/schema.org\/SiteNavigationElement\"><ul id=\"menu-main-nav\" class=\"menu genesis-nav-menu\"><li id=\"menu-item-9\" class=\"menu-item menu-item-type-post_type menu-item-object-page menu-item-9\"><a href=\"http:\/\/msurplus.wpengine.com\/\" itemprop=\"url\"><span it |
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_filter( "gform_field_content", "mz_disable_completed_series", 10, 5 ); | |
| function mz_disable_completed_series( $content, $field, $value, $lead_id, $form_id ) { | |
| //only manipulating checkboxes for form id 1 | |
| if ( $form_id != 1 ) | |
| return $form; | |
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
| if( tribe_is_month() && !is_tax() ) { // The Main Calendar Page | |
| } elseif( tribe_is_month() && is_tax() ) { // Calendar Category Pages | |
| } elseif( tribe_is_event() && !tribe_is_day() && !is_single() ) { // The Main Events List | |
| } elseif( tribe_is_event() && is_single() ) { // Single Events | |
| } elseif( tribe_is_day() ) { // Single Event Days | |
OlderNewer