Guest User

single.php

a guest
Sep 25th, 2017
94
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2.  
  3. $wp_query = new WP_Query();
  4. query_posts( array( ‘post_type’ =>’post’, ‘showposts’ => 1, ‘paged’=>$paged ));
  5. if(have_posts()):
  6. while ($wp_query -> have_posts()) : $wp_query -> the_post();
  7.  
  8. ?>
  9. <div class=”grid-md-6-job-content left”><!–conteudo—>
  10. <?php $content = preg_replace(‘/(]*>)/’, ”, get_the_content());
  11. $content = apply_filters(‘the_content’, $content);
  12. echo $content;?>
  13. </div><!–final conteudo—->
  14.  
  15. <div class=”grid-md-6-job-title right”><!–titulo—>
  16. <span></span>
  17. <h1><?php the_title(); ?></h1>
  18. </div><!–final titulo—->
  19. <?php
  20. endwhile;
  21. endif;
  22. ?>
  23.  
  24. <div class=”navigation”><!—navegacao—>
  25. <div class=”next bg-nav”>
  26. <?php next_posts_link(‘<span></span>’) ?>
  27. </div>
  28. <div class=”prev bg-nav”>
  29. <?php previous_posts_link(‘<span></span>’) ?>
  30. </div>
  31. </div><!–final navegação—>
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×