Created
March 1, 2017 07:29
-
-
Save muzahedul03/3dd745bede90b85ce7f05200446deaec to your computer and use it in GitHub Desktop.
How Create a page by WordPress in Using Php
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php get_header(); ?> | |
<section id="inner-headline"> | |
<div class="container"> | |
<div class="col-md-12"> | |
<?php if(have_posts()) : ?> | |
<?php while(have_posts()) : the_post(); ?> | |
<h2><?php the_title(); ?></h2> | |
<?php the_content(); ?> | |
<?php endwhile; ?> | |
<?php else: ?> | |
<h2>404 not Found!</h2> | |
<?php endif; ?> | |
</div> | |
</div> | |
</section> | |
<?php get_footer(); ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment