page-blog.php 931 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. <?php
  2. /**
  3. * Template Name: Blog Page
  4. *
  5. * @package WordPress
  6. * @subpackage AmS 2016
  7. * @since AmS 2016 1.0
  8. */
  9. get_header();
  10. $cat = get_category_by_slug("Startseite");
  11. query_posts("cat=-" . $cat->term_id . "&post_type=tdas");
  12. if (have_posts()) : while (have_posts()) : the_post(); ?>
  13. <div id="single" class="content-wrapper">
  14. <div class="beam">
  15. <div class="container clearfix">
  16. <div class="row">
  17. <div class="col-lg-1">
  18. <span class="tag tag-pill"><?php the_time("M"); ?><br><?php the_time("y"); ?></span>
  19. </div>
  20. <div class="col-lg-11">
  21. <h1><?php the_title(); ?></h1>
  22. </div>
  23. </div>
  24. </div>
  25. </div>
  26. <div class="container text-muted">
  27. <div class="row">
  28. <div class="col-lg-11 offset-lg-1">
  29. <?php the_content(); ?>
  30. </div>
  31. </div>
  32. </div>
  33. </div><?php
  34. endwhile; endif;
  35. get_footer(); ?>