Page Titles Not Appearing
-
Hi
Probably sounds like a really stupid question but my page titles aren’t showing up, I’ve had a look around the forum and everyone else is searching how to hide them, anyone have any ideas whats wrong or the code I need?
Info:
Site: https://www.prorank.co.uk
Issue: Page titles appearing like this: | prorank.co.uk
Pages: /privacy & /cookies etc1, I have these pages blocked in robots.txt from the sitemap because they are generic pages.
2, The post titles/tag titles are displaying fine i.e; Post/Tag Title | Prorank.co.uk
3, Some other stuff on the page doesn’t work either like the bullet points.Here’s the code from the page.php file
<?php $mts_options = get_option(MTS_THEME_NAME); ?> <?php get_header(); ?> <?php if ($mts_options['mts_breadcrumb'] == '1') { ?> <div class="breadcrumb" xmlns:v="https://rdf.data-vocabulary.org/#"><?php mts_the_breadcrumb(); ?></div> <?php } ?> <div id="page" class="single"> <article class="<?php mts_article_class(); ?>"> <div id="content_box" > <?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?> <div id="post-<?php the_ID(); ?>" <?php post_class('g post'); ?>> <div class="single_page"> <header> <h1 class="title entry-title"><?php the_title(); ?></h1> </header> <div class="post-content box mark-links entry-content"> <?php the_content(); ?> <?php wp_link_pages(array('before' => '<div class="pagination">', 'after' => '</div>', 'link_before' => '<span class="current"><span class="currenttext">', 'link_after' => '</span></span>', 'next_or_number' => 'next_and_number', 'nextpagelink' => __('Next','mythemeshop'), 'previouspagelink' => __('Previous','mythemeshop'), 'pagelink' => '%','echo' => 1 )); ?> </div><!--.post-content box mark-links--> </div> </div> <?php comments_template( '', true ); ?> <?php endwhile; ?> </div> </article> <?php get_sidebar(); ?> <?php get_footer(); ?>
Any suggestions? Thanks in advance!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Page Titles Not Appearing’ is closed to new replies.