This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
Plugin Name: Count Posts to Rest API | |
Description: Counts the post types and add them to the rest API | |
Plugin URI: https://webbiz.ie | |
Author: Jason Morton | |
Author URI: https://webbiz.ie | |
Version: 1.0 | |
License: GPL2 | |
Text Domain: count-posts |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Meida Queries | |
@mixin break($args...) { | |
@if length($args) == 1 { | |
@media (min-width: nth($args, 1)) { | |
@content; | |
} | |
} @else { | |
@media (min-width: nth($args, 1)) and (max-width: nth($args, 2)) { | |
@content; | |
} |