Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php get_header();
- get_template_part('weblizar','breadcrumbs'); ?>
- <div class="container">
- <?php the_post();
- $next_post = get_next_post();
- if (!empty( $next_post )){ ?>
- <span><a href="<?php echo get_permalink( $next_post->ID ); ?>" title="Previous" rel="prev"><span class="fa fa-arrow-left"></span></a></span>
- <?php }
- $prev_post = get_previous_post();
- if (!empty( $prev_post )) { ?>
- <span style="float:right;"><a href="<?php echo get_permalink( $prev_post->ID ); ?>" title="Next" rel="next"><span class="fa fa-arrow-right"></span></a></span>
- <?php } ?>
- <div class="content_fullwidth lessmar">
- <div class="portfolio_area">
- <div class="portfolio_area_left">
- <?php if(has_post_thumbnail()){ the_post_thumbnail(''); } ?>
- <div class="margin_top5"></div>
- <p><?php the_content(); ?> </p>
- <br>
- </div>
- <div class="portfolio_area_right">
- <div class="project_details">
- <h5><?php _e('Project Details','weblizar'); ?></h5>
- <span><strong><?php _e('Date','weblizar'); ?></strong> <em><?php echo get_the_time('d M Y'); ?></em></span>
- <span><strong><?php _e('Categories','weblizar'); ?></strong> <em>
- <?php $terms_names = wp_get_post_terms($post->ID, "portfolio_categories", array("fields" => "names")); ?>
- <?php foreach ($terms_names as $term) { ?><a href="#"><?php echo $term; } ?></a> </em></span>
- <span><strong><?php _e('Author','weblizar'); ?></strong> <em><?php the_author(); ?></em></span>
- <?php if(get_post_meta( get_the_ID(), 'portfolio_skill', true )) { ?>
- <span><strong><?php _e('Skills','weblizar'); ?></strong> <em><?php echo get_post_meta( get_the_ID(), 'portfolio_skill', true ); ?></em></span>
- <?php } ?>
- <?php if(get_post_meta( get_the_ID(), 'portfolio_client', true )) { ?>
- <span><strong><?php _e('Client','weblizar'); ?></strong> <em><?php echo get_post_meta( get_the_ID(), 'portfolio_client', true ); ?></em></span>
- <?php } ?><div class="clearfix margin_top5"></div>
- <?php if(get_post_meta( get_the_ID(), 'portfolio_button_text', true )) { ?>
- <a class="but_goback" <?php if(get_post_meta( get_the_ID(), 'portfolio_button_target', true )) { echo "target='_blank'"; } ?> href="<?php echo get_post_meta( get_the_ID(), 'portfolio_button_link', true ); ?>"><i class="fa fa-hand-o-right fa-lg"></i> <?php echo get_post_meta( get_the_ID(), 'portfolio_button_text', true ); ?></a>
- <?php } ?>
- </div>
- </div>
- </div><!-- end section -->
- </div>
- </div>
- <div class="margin_top5"></div>
- <div class="clearfix"></div>
- <?php get_footer(); ?>
Add Comment
Please, Sign In to add comment