Guest User

Untitled

a guest
Apr 21st, 2018
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.29 KB | None | 0 0
  1. <?php if(is_home()) {?>
  2.  
  3. <div class="post">
  4. <h2><span>Welcome to Elle G Blog!</span></h2>
  5. <a href="<?php bloginfo('url'); ?>/wp-rss.php" id="blog-button"><span>Subcribe to the Elle G Blog</span></a>
  6. <p>This blog is <strong>dedicated to showcasing</strong> some of my work and the things that inspire me. For me, photography is about making my clients feel good about themselves. The thing I love most about photography is <em>capturing the unexpected</em> moments -- the laughs, the looks of love, the mischievous smiles. I capture adventurous women and men in some of the most memorable moments of their lives. This blog is my personal and professional home on the web and something I'll be adding to over time. <a href="#" target="blank">It's designed to be</a> interactive and I'd love to hear your input.</p>
  7. <p><a href="" id="more-about">More about Elle Photographpy >></a></p>
  8. </div>
  9. <div class="clear"></div>
  10. <?php } ?>
  11.  
  12. <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
  13.  
  14. <div class="post">
  15. <h2><a href="<?php the_permalink() ?>"><span><?php the_title(); ?></span></a></h2>
  16. <?php the_content('Read more...'); ?>
  17. <?php comments_template() ?>
  18. </div>
  19.  
  20. <?php endwhile; else: ?>
  21. <p><?php _e('Sorry, no posts matched your criteria.'); ?></p>
  22. <?php endif; ?>
Add Comment
Please, Sign In to add comment