Advertisement
Guest User

Untitled

a guest
Jan 5th, 2018
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.55 KB | None | 0 0
  1. <?php
  2. /**
  3. * The main template file.
  4. *
  5. * This is the most generic template file in a WordPress theme
  6. * and one of the two required files for a theme (the other being style.css).
  7. * It is used to display a page when nothing more specific matches a query.
  8. * E.g., it puts together the home page when no home.php file exists.
  9. * Learn more: http://codex.wordpress.org/Template_Hierarchy
  10. *
  11. * @bpackage Reddle
  12. * @since Reddle 1.0
  13. */
  14.  
  15. get_header(); ?>
  16.  
  17. <div id="primary">
  18. <div id="content" role="main">
  19.  
  20. <?php if ( have_posts() ) : ?>
  21.  
  22.  
  23.  
  24.  
  25. <?php reddle_content_nav( 'nav-above' ); ?>
  26.  
  27. <?php /* Start the Loop */ ?>
  28.  
  29. <?php while ( have_posts() ) : the_post(); ?>
  30.  
  31.  
  32. <?php
  33. /* Include the Post-Format-specific template for the content.
  34. * If you want to overload this in a child theme then include a file
  35. * called content-___.php (where ___ is the Post Format name) and that will be used instead.
  36. */
  37. get_template_part( 'content', get_post_format() );
  38. ?>
  39.  
  40. <?php endwhile; ?>
  41.  
  42. <?php reddle_content_nav( 'nav-below' ); ?>
  43.  
  44. <?php else : ?>
  45.  
  46. <article id="post-0" class="post no-results not-found">
  47. <header class="entry-header">
  48. <h1 class="entry-title"><?php _e( 'Nothing Found', 'reddle' ); ?></h1>
  49. </header><!-- .entry-header -->
  50.  
  51. <div class="entry-content">
  52. <p><?php _e( 'It seems we can&rsquo;t find what you&rsquo;re looking for. Perhaps searching can help.', 'reddle' ); ?></p>
  53. <?php get_search_form(); ?>
  54. </div><!-- .entry-content -->
  55. </article><!-- #post-0 -->
  56.  
  57. <?php endif; ?>
  58.  
  59. <img id="adssuite" src="http://beta.domain.com/blog/wp-content/uploads/2017/08/cropped-suitelogo-1-1.png" style="display:inline-block;width:300px;height:250px">
  60. <div class="musicahentry">
  61. <?php $catquery = new WP_Query( 'cat=435&posts_per_page=1' ); ?>
  62.  
  63.  
  64. <?php while($catquery->have_posts()) : $catquery->the_post(); ?>
  65.  
  66. <?php endwhile; ?>
  67. <div class="hentry">
  68.  
  69. <h1><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></h1>
  70. <?php the_content(); ?>
  71.  
  72.  
  73. <?php wp_reset_postdata(); ?>
  74. </div>
  75. </div>
  76. </div>
  77.  
  78. </div>
  79.  
  80.  
  81. <div class="cienciahentry">
  82. <?php $catquery = new WP_Query( 'cat=134&posts_per_page=1' ); ?>
  83.  
  84.  
  85. <?php while($catquery->have_posts()) : $catquery->the_post(); ?>
  86.  
  87. <?php endwhile; ?>
  88. <div class="hentry">
  89.  
  90. <h1><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></h1>
  91. <?php the_content(); ?>
  92.  
  93.  
  94. <?php wp_reset_postdata(); ?>
  95. </div>
  96. </div>
  97.  
  98.  
  99. <div class="seriehentry">
  100. <?php $catquery = new WP_Query( 'cat=588&posts_per_page=1' ); ?>
  101.  
  102.  
  103. <?php while($catquery->have_posts()) : $catquery->the_post(); ?>
  104.  
  105. <?php endwhile; ?>
  106. <div class="hentry">
  107.  
  108. <h1><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></h1>
  109. <?php the_content(); ?>
  110.  
  111.  
  112. <?php wp_reset_postdata(); ?>
  113. </div>
  114. </div>
  115.  
  116.  
  117.  
  118. <div class="dublagemhentry">
  119. <?php $catquery = new WP_Query( 'cat=206&posts_per_page=1' ); ?>
  120.  
  121.  
  122. <?php while($catquery->have_posts()) : $catquery->the_post(); ?>
  123.  
  124. <?php endwhile; ?>
  125. <div class="hentry">
  126.  
  127. <h1><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></h1>
  128. <?php the_content(); ?>
  129.  
  130.  
  131. <?php wp_reset_postdata(); ?>
  132. </div>
  133. </div>
  134. <img style="display:inline-block;width:300px;height:250px;float:right; margin-top:6%;" src="http://beta.domain.com/blog/wp-content/uploads/2017/08/cropped-suitelogo-1-1.png">
  135.  
  136. <div class="animacaohentry">
  137. <?php $catquery = new WP_Query( 'cat=44&posts_per_page=1' ); ?>
  138.  
  139.  
  140. <?php while($catquery->have_posts()) : $catquery->the_post(); ?>
  141.  
  142. <?php endwhile; ?>
  143. <div class="hentry">
  144.  
  145. <h1><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></h1>
  146. <?php the_content(); ?>
  147.  
  148.  
  149. <?php wp_reset_postdata(); ?>
  150. </div>
  151. </div>
  152.  
  153.  
  154.  
  155. <div class="filmehentry">
  156. <?php $catquery = new WP_Query( 'cat=239&posts_per_page=1' ); ?>
  157.  
  158.  
  159. <?php while($catquery->have_posts()) : $catquery->the_post(); ?>
  160.  
  161. <?php endwhile; ?>
  162. <div class="hentry">
  163.  
  164. <h1><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></h1>
  165. <?php the_content(); ?>
  166.  
  167.  
  168. <?php wp_reset_postdata(); ?>
  169. </div>
  170. </div>
  171.  
  172.  
  173.  
  174.  
  175. <!-- #content -->
  176. <!-- #primary -->
  177.  
  178. <?php get_sidebar(); ?>
  179. <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement