Skip to content

Instantly share code, notes, and snippets.

View count-post-to-rest-api.php
Plugin Name: Count Posts to Rest API
Description: Counts the post types and add them to the rest API
Plugin URI:
Author: Jason Morton
Author URI:
Version: 1.0
License: GPL2
Text Domain: count-posts
View _mixins.scss
// Meida Queries
@mixin break($args...) {
@if length($args) == 1 {
@media (min-width: nth($args, 1)) {
} @else {
@media (min-width: nth($args, 1)) and (max-width: nth($args, 2)) {