Fixes titles for pages
This commit is contained in:
1 parent
fba868fc29
commit
2bdb0f1786
5 files changed
+6
-7
No files matched your search
@@ -1,7 +1,6 @@
|
||||
<?php if( have_posts() ) : while( have_posts() ) : the_post();
|
||||
$post_category = get_category_formatted();
|
||||
?>
|
||||
|
||||
<article <?php post_class(); ?>>
|
||||
<div class="text-body">
|
||||
<div>
|
||||
@@ -40,4 +39,4 @@
|
||||
</div>
|
||||
</article> <!-- .post -->
|
||||
|
||||
<?php endwhile; endif; ?>
|
||||
<?php endwhile; endif; ?>
|
||||
@@ -8,8 +8,8 @@
|
||||
<a href="#dismiss-introduction" data-toggle-introduction class="button dismiss-button" title="Lukk">Oki doki!</a>
|
||||
</div>
|
||||
<h2>Siste nytt</h2>
|
||||
<?php elseif( !is_single() ): ?>
|
||||
<h1 class="page-title"><?php wp_title("", true); ?></h1>
|
||||
<?php elseif( is_page() ): ?>
|
||||
<h2 class="page-title"><?php the_title(); ?></h2>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php get_template_part('entries'); ?>
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
<div class="container page-mailinglists">
|
||||
|
||||
<h1 class="page-title"><?php wp_title("", true); ?></h1>
|
||||
<h2 class="page-title"><?php the_title(); ?></h2>
|
||||
|
||||
<div class="search-about">
|
||||
<?php the_post(); the_content(); ?>
|
||||
|
||||
@@ -22,7 +22,7 @@ get_header();
|
||||
?>
|
||||
<div class="container profile">
|
||||
|
||||
<h1 class="page-title"><?php echo $logged_in_user ? "Min": $user->display_name." sin" ;?> aktivprofil</h1>
|
||||
<h2 class="page-title"><?php echo $logged_in_user ? "Min": $user->display_name." sin" ;?> aktivprofil</h2>
|
||||
|
||||
<div class="profile-details">
|
||||
<div class="inner">
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
<div class="container page-user-search">
|
||||
|
||||
<div id="content">
|
||||
<h1 class="page-title"><?php wp_title("", true); ?></h1>
|
||||
<h2 class="page-title"><?php the_title(); ?></h2>
|
||||
<div class="search-form">
|
||||
<form method="get">
|
||||
<input type="text" id="id_user_query" class="search-field" name="q" placeholder="Søk på navn, epost, eller brukernavn" autofocus />
|
||||
|
||||
Reference in new issue
Block a user