Forked from Matt Schneider III's Pen SASS Text Style Practice.
A Pen by Captain Anonymous on CodePen.
Forked from Matt Schneider III's Pen SASS Text Style Practice.
A Pen by Captain Anonymous on CodePen.
.parent-element { | |
-webkit-transform-style: preserve-3d; | |
-moz-transform-style: preserve-3d; | |
transform-style: preserve-3d; | |
} | |
.element { | |
position: relative; | |
top: 50%; | |
transform: translateY(-50%); |
<?php | |
// For use in functions.php | |
// Dont forget to re-save your permalinks so that it actually shows up. | |
if ( ! function_exists('custom_post_type_testimonials') ) { | |
// Register Custom Post Type | |
function custom_post_type_testimonials() { | |
$labels = array( | |
'name' => _x( 'Testimonial', 'Post Type General Name', 'twentyfifteen' ), |
<?php | |
function fetchData($url){ | |
$ch = curl_init(); | |
curl_setopt($ch, CURLOPT_URL, $url); | |
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); | |
curl_setopt($ch, CURLOPT_TIMEOUT, 20); | |
$result = curl_exec($ch); | |
curl_close($ch); | |
return $result; | |
} |
バネ関数とベクトルを使用してスライムを作ってみました。
I tried to make a slime using a spring function and vector.
Forked from ykob's Pen canvas demo template.
A Pen by Captain Anonymous on CodePen.
$paged = (get_query_var('paged')) ? get_query_var('paged') : 1; | |
// WP_Query arguments | |
$args = array ( | |
'post_type' => 'events', | |
'pagination' => true, | |
'paged' => $paged, | |
'meta_query' => array( | |
array( | |
'key' => 'event_date', | |
'value' => date('Ymd', strtotime('now')), |
//remove add to cart button on category archive pages. | |
function remove_loop_button(){ | |
remove_action( 'woocommerce_after_shop_loop_item', 'woocommerce_template_loop_add_to_cart', 10 ); | |
} | |
add_action('init','remove_loop_button'); |