Created
November 19, 2010 21:04
-
-
Save iammerrick/707169 to your computer and use it in GitHub Desktop.
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 | |
/* | |
* Template Name: FAQ Page | |
*/ | |
?> | |
<?php get_header(); ?> | |
<div id="main"> | |
<div class="title sm"> | |
<h1 class="park">FAQ</h1> | |
</div> | |
</div> | |
<div id="transition"></div> | |
<div id="sub" class="faq"> | |
<div class="columns"> | |
<div class="col_1"> | |
<h2>Custom Products</h2> | |
<p class="controls"><a href="#">expand all</a> | <a href="#">collapse all</a></p> | |
<?php query_posts(array('post_type' => 'faqs', 'posts_per_page' => -1, 'type' => 'custom-products-faqs')); ?> | |
<?php get_template_part('partials/loop', 'faq'); ?> | |
<?php wp_reset_query(); ?> | |
</div> | |
<div class="col_2"> | |
<h2>Online Store</h2> | |
<p class="controls"><a href="#">expand all</a> | <a href="#">collapse all</a></p> | |
<?php query_posts(array('post_type' => 'faqs', 'posts_per_page' => -1, 'type' => 'online-store-faqs')); ?> | |
<?php get_template_part('partials/loop', 'faq'); ?> | |
<?php wp_reset_query(); ?> | |
</div> | |
</div> | |
</div> | |
<?php get_footer(); ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment