Advertisement
ujiajah1

single.php

Aug 23rd, 2016
129
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.94 KB | None | 0 0
  1. <?php
  2. /**
  3.  * The template for displaying all single posts.
  4.  *
  5.  * @package wave
  6.  */
  7.  
  8. get_header(); ?>
  9.  
  10.  
  11.     <div id="primary" class="content-area">
  12.         <main id="main" class="site-main" role="main">
  13.  
  14.         <?phphttp://hipster.comli.com/wp-admin/theme-editor.php?file=inc%2Fextras.php&theme=wave
  15.         while ( have_posts() ) : the_post();
  16.             get_template_part( 'template-parts/content', get_post_format() );?>
  17.  
  18.             <div class="author-bio">
  19.                 <div class="author-image"><?php echo get_avatar( get_the_author_meta('email'), '110' ); ?></div>
  20.             <div class="author-info">
  21.                 <h3 class="author-title"><?php _e('Writen by ', 'wave'); ?><?php the_author_link(); ?></h3>
  22.                 <p class="author-description"><?php the_author_meta('description'); ?></p>
  23.                
  24.             </div>
  25. <!--END .author-bio-->
  26.  
  27. <div id="subscribe-box">
  28.  <h4>Berlangganan Artikel Via Email</h4>
  29.  <p>Suka dengan artikel diatas? Jangan lewatkan postingan-postingan menarik lainnya dengan berlangganan artikel yang akan dikirim otomatis ke alamat Email Anda.</p>
  30. <div class="emailfield">
  31.  <form action="http://feedburner.google.com/fb/a/mailverify" method="post" onsubmit="window.open('http://feedburner.google.com/fb/a/mailverify?uri=HipsterZine', 'popupwindow', 'scrollbars=yes,width=550,height=520');return true" target="popupwindow">
  32.  <input type="email" name="email" placeholder="Ketik Alamat Email Anda !" required="required">
  33.  <input type="hidden" value="HipsterZine" name="uri">
  34.  <input type="hidden" name="loc" value="en_US">
  35.  <input class="submitbutton" type="submit" value="Lanjutkan">
  36.  </form>
  37.  
  38.  </div>
  39.  </div>
  40.  
  41. </div>
  42.  
  43. <?php
  44.                     // If comments are open or we have at least one comment, load up the comment template.
  45.             if ( comments_open() || get_comments_number() ) :
  46.                 comments_template();
  47.             endif;
  48.  
  49.         endwhile; // End of the loop.
  50.         ?>
  51.            
  52.            
  53.  
  54.         </main><!-- #main -->
  55.     </div><!-- #primary -->
  56.  
  57. <?php
  58. get_sidebar();
  59. get_footer();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement