File "archive-st_faq.php"

Full Path: /home/refref/public_html/plugins/wordfence/knowhow/archive-st_faq.php
File size: 1.51 KB
MIME-type: text/x-php
Charset: utf-8

<?php get_header(); ?>

<!-- #primary -->
<div id="primary" class="sidebar-right clearfix"> 
<!-- .container -->
<div class="container">

<!-- #content -->
  <section id="content" role="main">
  
  <header id="page-header" class="clearfix">
  <h1 class="page-title"><?php _e('Frequently Asked Questions','framework') ?></h1>
  <?php st_breadcrumb(); ?>
  </header>
  
   <?php	$args = array(
					'post_type' => 'st_faq',
					'posts_per_page' => '-1',
					'orderby ' => 'menu_order',
					'order' => 'ASC'
				);
				$wp_query = new WP_Query($args);
				if($wp_query->have_posts()) : while($wp_query->have_posts()) : $wp_query->the_post(); ?>
                
                <article id="post-<?php the_ID(); ?>" <?php post_class('clearfix'); ?>>
                
                <h2 id="faq-<?php echo get_the_ID(); ?>" class="entry-title">
                <a href="#faq-<?php echo get_the_ID(); ?>">
				<div class="action"><span class="plus"><i class="icon-plus"></i></span><span class="minus"><i class="icon-minus"></i></span></div>
				<?php the_title(); ?></a></h2>
                
                <div class="entry-content">
                <?php the_content(); ?>
                </div>
                
                </article>
     
      <?php endwhile; endif; ?>

  </section>
  <!-- #content -->
 
<?php if (of_get_option('st_hp_sidebar') != 'fullwidth') {   ?>
<?php get_sidebar(); ?>
<?php } ?>

</div>
<!-- .container --> 
</div>
<!-- #primary -->

<?php get_footer(); ?>