Guest User

Untitled

a guest
Nov 11th, 2020
14
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php get_header(); ?>
  2.  
  3. <!-- Page Title Section -->
  4. <div class="page-mycarousel">
  5. <img src="<?php echo esc_url(WALLSTREET_TEMPLATE_DIR_URI);?>/images/page-header-bg.jpg" class="img-responsive">
  6. <div class="container page-title-col">
  7. <div class="row">
  8. <div class="col-md-12 col-sm-12">
  9. <h1><?php echo single_cat_title("Category Archive ", false); ?></h1>
  10. </div>
  11. </div>
  12. </div>
  13. <div class="page-breadcrumbs">
  14. <div class="container">
  15. <div class="row">
  16. <div class="col-md-12">
  17. <ol class="breadcrumbs">
  18. <?php if (function_exists('wallstreet_custom_breadcrumbs')) wallstreet_custom_breadcrumbs();?>
  19. </ol>
  20. </div>
  21. </div>
  22. </div>
  23. </div>
  24. </div>
  25. <!-- /Page Title Section -->
  26.  
  27. <!-- Blog & Sidebar Section -->
  28. <div class="container category" id="content">
  29. <div class="row">
  30.  
  31. <div class="<?php if(is_active_sidebar('sidebar_primary')){ echo 'col-md-8'; } else { echo 'col-md-12'; } ?>" >
  32. <?php if ( have_posts() ) {
  33. while(have_posts()){ the_post(); ?>
  34. <div class="col-md-6">
  35. <div id="post-<?php the_ID(); ?>" <?php post_class('blog-section-right'); ?>>
  36. <?php if(has_post_thumbnail()){ ?>
  37. <?php $wallstreet_defalt_arg =array('class' => "img-responsive"); ?>
  38. <div class="blog-post-img">
  39. <?php the_post_thumbnail('', $wallstreet_defalt_arg); ?>
  40. </div>
  41. <?php } ?>
  42. <div class="clear"></div>
  43. <div class="blog-post-title">
  44. <div class="blog-post-date"><span class="date"><a href="<?php echo esc_url(get_month_link(get_post_time('Y'),get_post_time('m'))); ?>"><?php echo esc_html(get_the_date());?></a></span>
  45. <span class="comment"><i class="fa fa-comment"></i><?php comments_number('0', '1','%'); ?></span>
  46. </div>
  47. <div class="blog-post-title-wrapper">
  48. <h2><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2>
  49. <?php the_content( __('Read More' ,'wallstreet' ) ); ?>
  50. <?php wp_link_pages( array( 'before' => '<div class="page-links">' . esc_html__('Page', 'wallstreet' ), 'after' => '</div>' ) ); ?>
  51. <div class="blog-post-meta">
  52. <a id="blog-author" href="<?php echo esc_url(get_author_posts_url( get_the_author_meta( 'ID' ) )); ?>"><i class="fa fa-user"></i> <?php the_author(); ?></a>
  53. <?php $wallstreet_tag_list = get_the_tag_list();
  54. if(!empty($wallstreet_tag_list)) { ?>
  55. <div class="blog-tags">
  56. <i class="fa fa-tags"></i><?php the_tags('', ', ', ''); ?>
  57. </div>
  58. <?php } ?>
  59. <?php $wallstreet_cat_list = get_the_category_list();
  60. if(!empty($wallstreet_cat_list)) { ?>
  61. <div class="blog-tags">
  62. <i class="fa fa-star"></i><?php the_category(', '); ?>
  63. </div>
  64. <?php } ?>
  65. </div>
  66. </div>
  67. </div>
  68. </div>
  69. </div>
  70. <?php } } ?>
  71. <div class="blog-pagination">
  72. <?php if(get_previous_posts_link() ): ?>
  73. <?php previous_posts_link(); ?>
  74. <?php endif; ?>
  75. <?php if ( get_next_posts_link() ): ?>
  76. <?php next_posts_link(); ?>
  77. <?php endif; ?>
  78. </div>
  79. </div><!--/Blog Area-->
  80. <?php get_sidebar(); ?>
  81. </div>
  82. </div>
  83. <?php get_footer();
  84. //Blog & Sidebar Section
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.

×