SHARE
TWEET

Untitled

a guest Apr 16th, 2016 11 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2. /**** @Theme Name   :   Rambopro
  3.     * @file         :   single-rambopro_project.php
  4.     * @package      :   Rambopro
  5.     * @author       :   Hari Maliya
  6.     * @license      :   license.txt
  7.     * @filesource   :   wp-content/themes/prambo-pro/single-rambopro_project.php
  8. */
  9. get_template_part('banner','strip');?>
  10. <!-- Container -->
  11. <div class="container">
  12.     <!-- Portfolio Deatil -->  
  13.     <div class="porfolio_detail_title"><h3><?php the_title(); ?></h3></div>
  14.     <div class="row portfolio_section">
  15.         <div class="span8 portfolio_column">
  16.                         <?php the_post();?>
  17.             <p><?php the_content(); ?></p>
  18.  
  19.         </div>     
  20.        
  21.         <div class="span4 portfolio_detail_sidebar">       
  22.         <ul class="portfolio-detail-pagi">
  23.             <?php   $prev_post = get_previous_post();
  24.                     if (!empty( $prev_post )): ?>
  25.                     <li><a rel="next" href="<?php echo get_permalink( $prev_post->ID ); ?>"><span class="fa fa-arrow-left"></span></a></li>
  26.             <?php endif; ?>            
  27.            
  28.             <?php   $next_post = get_next_post();
  29.                     if (!empty( $next_post )): ?>
  30.                     <li><a rel="prev" href="<?php echo get_permalink( $next_post->ID ); ?>"><span class="fa fa-arrow-right"></span></a></li>
  31.             <?php endif; ?>        
  32.         </ul>
  33.         <?php
  34.             $portfolio_client_project_title =sanitize_text_field( get_post_meta( get_the_ID(), 'portfolio_client_project_title', true ));
  35.             $portfolio_project_skills =sanitize_text_field( get_post_meta( get_the_ID(), 'portfolio_project_skills', true ));
  36.             $portfolio_project_tags =sanitize_text_field( get_post_meta( get_the_ID(), 'portfolio_project_tags', true ));
  37.             $portfolio_project_visit_site =sanitize_text_field( get_post_meta( get_the_ID(), 'portfolio_project_visit_site', true ));
  38.         ?>
  39.            
  40.         <div class="portfolio-detail-info">
  41.         <?php if($portfolio_client_project_title) {?>
  42.             <p><?php _e('Client:','rambo'); ?> <small><?php echo $portfolio_client_project_title; ?></small></p>
  43.         <?php } ?>
  44.        
  45.         <?php if($portfolio_project_skills) {?>
  46.             <p><?php _e('Skills:','rambo'); ?> <small><?php echo $portfolio_project_skills; ?></small></p>
  47.         <?php } ?>
  48.        
  49.         <?php if($portfolio_project_tags) {?>
  50.             <p><?php _e('Tags:','rambo'); ?> <small><?php echo $portfolio_project_tags; ?></small></p>
  51.         <?php } ?>
  52.        
  53.         <?php if($portfolio_project_visit_site) {?>
  54.             <p><?php _e('Visit Website:','rambo'); ?> <small><?php echo $portfolio_project_visit_site; ?></small></p>
  55.         <?php } ?>
  56.         </div> 
  57.        
  58.         <div class="portfolio-detail-description">
  59.         </div> 
  60.         </div>
  61.     </div>
  62.     <!-- /Portfolio Detail -->     
  63. </div>
  64. <!-- /Container -->
  65. <?php get_footer();?>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top