%PDF- %PDF-
Direktori : /home/jalalj2hb/public_html/wp-content/themes/pixel-linear/ |
Current File : /home/jalalj2hb/public_html/wp-content/themes/pixel-linear/single-portfolio.php |
<?php /** * Single Portfolio Template * * * @file single-portfolio.php * @package Pixel-Linear * @author Pixel Theme Studio * @copyright 2015 Pixel Theme Studio Themes * @license license.txt * @version Release: 1.0.0 * @link http://codex.wordpress.org/Theme_Development#Single_Post_.28single.php.29 * @since available since Release 1.0 */ ?> <?php get_header(); ?> <div id="content-project"> <?php if (have_posts()) : ?> <?php while (have_posts()) : the_post(); ?> <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>> <!-- Portfolio Section --> <div class="container pt"> <div class="row mt"> <div class="col-sm-12 centered"> <?php if( rwmb_meta( 'wtf_portfolio_top_title' ) !== '' ) { ?> <?php echo rwmb_meta( 'wtf_portfolio_top_title' ); ?> <hr> <?php } ?> <?php the_content(); ?> </div> </div><!-- row --> <div class="row mt centered"> <div class="col-lg-8 col-lg-offset-2"> <?php $images = rwmb_meta( 'thickbox', 'type=image' ); foreach ( $images as $image ) { echo "<p><img class='img-responsive' src='{$image['full_url']}' alt='{$image['alt']}' /></p>"; } ?> <?php if(rwmb_meta('wtf_port_cats') == 'value1') {?> <p><bt><?php _e('Type','pixlin'); ?>: </span><?php echo get_the_term_list( get_the_ID(), 'portfolio_cats', '',', ',' ') ?></bt></p> <?php } ?> </div><!-- col-lg-8 --> </div> </div><!-- container --> </article><!-- end of #post-<?php the_ID(); ?> --> <?php endwhile; ?> <?php else : ?> <div class="container"> <article id="post-not-found" class="hentry clearfix"> <header> <h1 class="title-404"><?php _e('404 — Fancy meeting you here!', 'pixlin'); ?></h1> </header> <section> <p><?php _e('Don't panic, we'll get through this together. Let's explore our options here.', 'pixlin'); ?></p> </section> <footer> <h6><?php _e( 'You can return', 'pixlin' ); ?> <a href="<?php echo home_url(); ?>/" title="<?php esc_attr_e( 'Home', 'pixlin' ); ?>"><?php _e( '⏎ Home', 'pixlin' ); ?></a> <?php _e( 'or search for the page you were looking for', 'pixlin' ); ?></h6> <?php get_search_form(); ?> </footer> </article> </div> <?php endif; ?> </div><!-- end of #content --> <?php get_footer(); ?>