A breakpoint tester for responsive websites.
Designed according to Material Design specs.
This file contains hidden or 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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<title>Quick Start Pack</title> | |
<link href="css/font-awesome.min.css" rel="stylesheet"> | |
<link href="css/bootstrap.min.css" rel="stylesheet"> |
This file contains hidden or 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 | |
function post_list_shortcode($atts,$content){ | |
extract($atts=shortcode_atts(array( | |
'type' => 'post', | |
),$atts) ); | |
$q = new WP_Query( | |
array('posts_per_page' => '5', 'post_type' => $type) |
This file contains hidden or 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 | |
function button_shortcode($atts,$content){ | |
extract($atts=shortcode_atts(array( | |
'type'=>!empty($type) ? $type:'success', | |
'link'=>'http://www.m.facebook.com', | |
'icon'=> empty($icon) ? 'heart': $icon , | |
'content'=> !empty($content) ? $content : 'empty content here' | |
),$atts,'btn')); |
This file contains hidden or 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 | |
function wishlist_shortcode($atts){ | |
extract( shortcode_atts( array( | |
'expand' => '', | |
), $atts, 'wishlist' ) ); | |
$q = new WP_Query( | |
array('posts_per_page' => '4', 'post_type' => 'wishlist-items', 'meta_key' => 'order_number','orderby' => 'meta_value','order' => 'ASC') | |
); |
This file contains hidden or 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
{% for post in site.posts %} | |
<article class="{% if forloop.first %}first{% elsif forloop.last %}last{% else %}middle{% endif %}"> | |
<div class="article-head"> | |
<h2 class="title"><a href="/{{ post.url }}/" class="js-pjax">{{ post.title }}</a></h2> | |
<p class="date">{{ post.date | date: "%b %d, %Y" }}</p> | |
</div><!--/.article-head--> | |
<div class="article-content"> | |
{{ post.long_description }} | |
<a href="/{{ post.url }}/" class="full-post-link js-pjax">Read more</a> | |
</div><!--/.article-content--> |