Skip to content

Instantly share code, notes, and snippets.

BASIC SETUP

Install ee:

curl -sL rt.cx/ee | sudo bash
ee system install

CHANGE CONFIGURATION

<?php
/*
* The page core options for the Shoestrap theme
*/
if ( !function_exists( 'shoestrap_module_coulourlovers_options' ) ) :
function shoestrap_module_coulourlovers_options( $sections ) {
// Page Options
@fovoc
fovoc / functions.php
Last active December 31, 2015 05:59 — forked from sloped/paging.php
Bootstrap3 style pagination for Shoestrap 3 theme
<?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'));