Skip to content

Instantly share code, notes, and snippets.

import { NgModule } from '@angular/core';
@NgModule({
})
@croemmich
croemmich / keybase.md
Created September 14, 2019 23:02
keybase.md

Keybase proof

I hereby claim:

  • I am croemmich on github.
  • I am croemmich (https://keybase.io/croemmich) on keybase.
  • I have a public key ASAcBDnxd2MOLuOa_58w-fBS4YZDN77ipRzh1uFTssr8IQo

To claim this, I am signing this object:

@croemmich
croemmich / gist:5830094
Last active October 28, 2020 11:51 — forked from davidpaulsson/foundation.pagination
Foundation 4 Pagination for Wordpress
function foundation_pagination($arrows = true, $ends = true, $pages = 2)
{
if (is_singular()) return;
global $wp_query, $paged;
$pagination = '';
$max_page = $wp_query->max_num_pages;
if ($max_page == 1) return;
if (empty($paged)) $paged = 1;