Android L ripple effect with CSS3 and Javascript.
A Pen by Dolphin Wood on CodePen.
Medium.com style header effect | |
------------------------------ | |
Forked from [Chrysto](http://codepen.io/bassta/)'s Pen [Medium.com style header effect](http://codepen.io/bassta/pen/iIskw/). | |
Resolved issue where content section needed a fixed height to allow for random content lengths. | |
A [Pen](http://codepen.io/dsmy/pen/ajKdx) by [dsmy](http://codepen.io/dsmy) on [CodePen](http://codepen.io/). |
Android L ripple effect with CSS3 and Javascript.
A Pen by Dolphin Wood on CodePen.
A Pen by White Wolf Wizard on CodePen.
Load data from external API using Angular.js
A Pen by Joe Watkins on CodePen.
// Custom Dashboard widgets | |
function custom_dashboard_widgets() { | |
global $wp_meta_boxes; | |
unset( $wp_meta_boxes['dashboard']['side']['core']['dashboard_quick_press'] ); | |
unset( $wp_meta_boxes['dashboard']['normal']['core']['dashboard_incoming_links'] ); | |
unset( $wp_meta_boxes['dashboard']['normal']['core']['dashboard_plugins'] ); | |
unset( $wp_meta_boxes['dashboard']['side']['core']['dashboard_primary'] ); | |
unset( $wp_meta_boxes['dashboard']['normal']['core']['dashboard_right_now'] ); | |
unset( $wp_meta_boxes['dashboard']['normal']['core']['dashboard_recent_comments'] ); |
// Display additional data in admin columns for testimonials section | |
function my_testimonials_columns($columns) | |
{ | |
$columns = array( | |
'cb' => '<input type="checkbox" />', | |
'title' => 'Title', | |
'testimonialType' => 'Testimonial Type', | |
'videoID' => 'Video ID', | |
'author' => 'Author', | |
'date' => 'Date', |
<?php | |
global $woocommerce; | |
// Extra post classes | |
$classes = array(); | |
if ( 0 == ( $woocommerce_loop['loop'] - 1 ) % $woocommerce_loop['columns'] || 1 == $woocommerce_loop['columns'] ) | |
$classes[] = 'first'; | |
if ( 0 == $woocommerce_loop['loop'] % $woocommerce_loop['columns'] ) | |
$classes[] = 'last'; | |
// If item is in cart add this class | |
foreach($woocommerce->cart->get_cart() as $cart_item_key => $values ) { |