Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
- <div class="post">
- <h2><?php the_title(); ?></h2>
- <p><?php the_time('F jS, Y'); ?> by <?php the_author(); ?></p>
- <div class="blog-content">
- <?php the_excerpt(); ?>
- </div>
- </div>
- <?php endwhile; else : ?>
- <p><?php esc_html_e( 'Sorry, no posts matched your criteria.' ); ?></p>
- <div id="myModal" class="modal fade" role="dialog">
- <div class="modal-dialog">
- <div class="modal-content">
- <div class="modal-header">
- <button type="button" class="close" data-dismiss="modal">×</button>
- <h4 class="modal-title">Modal Header</h4>
- </div>
- <div class="modal-body">
- <!-- the_content() in here-->
- </div>
- <div class="modal-footer">
- <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
- </div>
- </div>
- </div>
- </div>
Add Comment
Please, Sign In to add comment