Install ee:
curl -sL rt.cx/ee | sudo bash
ee system install
<?php | |
//Use this function to create pagingation links that are styleable with Bootstrap 3 | |
function paging() { | |
global $wp_query; | |
$total_pages = $wp_query->max_num_pages; | |
if ($total_pages > 1){ | |
$current_page = max(1, get_query_var('paged')); |
<?php | |
/* | |
* The page core options for the Shoestrap theme | |
*/ | |
if ( !function_exists( 'shoestrap_module_coulourlovers_options' ) ) : | |
function shoestrap_module_coulourlovers_options( $sections ) { | |
// Page Options |
watching the new daredevil series on netflix led me to doing this ;)
webkit only (requires -webkit-background-clip
)
A Pen by Gregor Adams on CodePen.
Just messing around. not done.
A Pen by Ben Newton on CodePen.
CSS animated title from the recent trailer. So excited!
Learn how to create this and much more with my email course:
https://cssanimation.rocks/courses/animation-101/
<3 Use code "codepen" to save 20% off the usual course price <3
// setup one language for admin and the other for theme | |
// must be called before load_theme_textdomain() | |
function set_my_locale($locale) { | |
$locale = ( is_admin() ) ? "en_US" : "it_IT"; | |
setlocale(LC_ALL, $local ); | |
return $locale; | |
} | |
add_filter( 'locale', 'set_my_locale' ); |
<?php | |
/*-----------------------------------------------------------------------------------*/ | |
/* Conditional Logic to Detect Various Event Related Views/Pages | |
/*-----------------------------------------------------------------------------------*/ | |
if( tribe_is_month() && !is_tax() ) { // Month View Page | |
echo 'were on the month view page'; | |
} elseif( tribe_is_month() && is_tax() ) { // Month View Category Page |
<?php | |
/* | |
Plugin Name: PMPro BuddyPress Customizations | |
Plugin URI: http://www.paidmembershipspro.com/wp/pmpro-buddypress-customizations/ | |
Description: Example code to lock down parts of BuddyPress with PMPro | |
Version: 0.2 | |
Author: Stranger Studios | |
Author URI: http://www.strangerstudios.com | |
*/ | |
/* |