wp/wp-content/plugins/portfolio/templates/portfolio.php
changeset 7 cf61fcea0001
child 16 a86126ab1dd4
equal deleted inserted replaced
6:490d5cc509ed 7:cf61fcea0001
       
     1 <?php
       
     2 /*
       
     3 Template Name: Portfolio template
       
     4 * Version: 1.4.6
       
     5 */
       
     6 get_header(); ?>
       
     7 	<div class="wrap">
       
     8 		<div id="primary" class="content-area">
       
     9 			<div id="container" class="<?php if ( 'twentyfourteen' == get_stylesheet() || 'twentytwelve' == get_stylesheet() ) echo 'site-content'; ?> site-main">
       
    10 				<div id="content" class="hentry">
       
    11 					<div class="breadcrumbs home_page_title entry-header">
       
    12 						<?php prtfl_template_title(); ?>
       
    13 					</div>
       
    14 					<?php
       
    15 					/* Get arguments for WP Query */
       
    16 					$args = prtfl_get_query_args();
       
    17 
       
    18 					do_action( 'bwsplgns_display_pdf_print_buttons', 'top' );
       
    19 
       
    20 					$second_query = new WP_Query( $args );
       
    21 
       
    22 					/* Display template content */
       
    23 					echo prtfl_get_content( $second_query );
       
    24 
       
    25 					wp_reset_query();
       
    26 
       
    27 					do_action( 'bwsplgns_display_pdf_print_buttons', 'bottom' ); ?>
       
    28 				</div><!-- #content -->
       
    29 
       
    30 				<!-- Portfolio tmplate pagination -->
       
    31 				<?php prtfl_pro_pagination( $second_query, $args ); ?>
       
    32 
       
    33 				<?php comments_template(); ?>
       
    34 			</div><!-- #container -->
       
    35 		</div><!-- .content-area -->
       
    36 		<?php get_sidebar(); ?>
       
    37 	</div><!-- .wrap -->
       
    38 <?php get_footer(); ?>