Skip to content

Instantly share code, notes, and snippets.

Kenny Eliason kennyeliason

Block or report user

Report or block kennyeliason

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View sublimesettings.json
"color_scheme": "Packages/Material Theme/schemes/Material-Theme.tmTheme",
"ensure_newline_at_eof_on_save": true,
"font_face": "Roboto Mono",
"font_size": 13,
"line_padding_bottom": 10,
"line_padding_top": 10,
kennyeliason / keybindings
Created Jun 27, 2018
sublime key bindings
View keybindings
{ "keys": ["command+shift+r"], "command": "reindent"},
{ "keys": ["ctrl+k", "ctrl+i"], "command": "title_case" }
kennyeliason / numeric-page-navi.php
Created Jun 22, 2018
Numeric Page Navigation for Roots Sage Theme
View numeric-page-navi.php
// Numeric Page Navi
function page_navi($before = '', $after = '')
global $wpdb, $wp_query;
$request = $wp_query->request;
$posts_per_page = intval(get_query_var('posts_per_page'));
$paged = intval(get_query_var('paged'));
$numposts = $wp_query->found_posts;
$max_page = $wp_query->max_num_pages;
if ($numposts <= $posts_per_page) {return;}
You can’t perform that action at this time.