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 | |
// $sock = fsockopen("localhost",80); | |
// if (!$sock) { | |
// echo "$errstr ($errno)<br>\n"; | |
// } | |
// else { | |
// fputs ($sock, "GET /startHtml.html HTTP/1.0\n\n"); |
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
//<script type='text/javascript' src='//ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js'></script> | |
(function($) { | |
"use strict"; | |
})(jQuery); | |
;jQuery(document).ready(function ($) { | |
"use strict"; | |
var $ = jQuery; | |
}); |
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 | |
/* | |
Plugin Name: MiniWidget | |
Plugin URI: http ://example.com/wordpress-plugins/halloween-plugin | |
Description: This is a brief description of my plugin | |
Version: 1.0 | |
Author: ANATOLI | |
Author URI: http://example.com | |
License: GPLv2 | |
*/ |
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 | |
/** | |
* Plugin Name: Halloween Store | |
* Plugin URI: https://wordimpress.com/ | |
* Description: Rollback (or forward) any WordPress.org plugin or theme like a boss. | |
* Author: WordImpress | |
* Author URI: https://wordimpress.com/ | |
* Version: 1.5 | |
* Text Domain: wp-rollback |
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
@color: #3d82d1;.left_box { | |
background: spin(@color, 25%); | |
} | |
.middle_box { | |
background: @color; | |
} | |
.right_box { | |
background: spin(@color, -25%); | |
} |
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 | |
/** | |
* WordPress Query Comprehensive Reference | |
* Compiled by luetkemj - luetkemj.com | |
* | |
* CODEX: http://codex.wordpress.org/Class_Reference/WP_Query#Parameters | |
* Source: https://core.trac.wordpress.org/browser/tags/3.9/src/wp-includes/query.php | |
*/ | |
$args = array( |
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 | |
$args = array( | |
'post_type' => 'product_variation', | |
'post_status' => array( 'private', 'publish' ), | |
'numberposts' => -1, | |
'orderby' => 'menu_order', | |
'order' => 'ASC', | |
'post_parent' => get_the_ID() // get parent post-ID | |
); | |
$variations = get_posts( $args ); |
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
.block1{ | |
display: flex; | |
flex-direction: row; | |
justify-content:space-around; /* выравнивание по главной оси */ | |
align-items: stretch; /* выравнивание по поперечной оси. */ | |
flex-wrap: wrap; /* Многострочная организация блоков */ | |
align-content: flex-start; /* каким образом образовавшиеся ряды блоков будут выровнены */ | |
} |
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 | |
/** | |
* Submit function for calculator_page_form. | |
*/ | |
function import_excel_page_form_submit($form, &$form_state) { | |
$uri = $form_state['values']['file']->uri; | |
$data = import_excel_parse_csv_file($uri); | |
$data = import_excel_filterData($data); | |
$db_product = import_excel_getProductDB($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
<?php get_header(); ?> | |
<div class="wrapper"> | |
<div class="middle"> | |
<div class="breadcrumbs"> | |
<?php if (function_exists('yoast_breadcrumb')) { | |
yoast_breadcrumb('<p id="breadcrumbs">', '</p>'); | |
} ?> | |
</div><!-- .breadcrumbs--> |
OlderNewer