h1 post title
This commit is contained in:
parent
b85b801a88
commit
c7b882259d
12
page.php
12
page.php
@ -1,15 +1,13 @@
|
||||
<?php get_header();?>
|
||||
|
||||
<?php
|
||||
get_header();
|
||||
|
||||
if ( have_posts() ) {
|
||||
the_post();
|
||||
echo '<div class="content">';
|
||||
the_title();
|
||||
echo "<h1>", the_title(); , "</h1>"
|
||||
the_content();
|
||||
echo '</div>';
|
||||
} else {
|
||||
echo "asd";
|
||||
}
|
||||
?>
|
||||
|
||||
<?php get_footer();?>
|
||||
get_footer();
|
||||
?>
|
12
single.php
12
single.php
@ -1,15 +1,13 @@
|
||||
<?php get_header();?>
|
||||
|
||||
<?php
|
||||
get_header();
|
||||
|
||||
if ( have_posts() ) {
|
||||
the_post();
|
||||
echo '<div class="content">';
|
||||
the_title();
|
||||
echo "<h1>", the_title(), "</h1>";
|
||||
the_content();
|
||||
echo '</div>';
|
||||
} else {
|
||||
echo "asd";
|
||||
}
|
||||
?>
|
||||
|
||||
<?php get_footer();?>
|
||||
get_footer();
|
||||
?>
|
Loading…
Reference in New Issue
Block a user