Viewing 14 replies - 1 through 14 (of 14 total)
  • Caleb Burks

    (@icaleb)

    Automattic Happiness Engineer

    Can you briefly switch back to a default theme (say, 2013) and tell me if the problem still persists?

    If the issue is solved on the default theme, then the issue is caused by the page template being used in “Frantic”.

    To fix the issue, you can go to appearance>editor and select Frantic. Most likely, you are using page.php for your pages that you are having this issue on, so find page.php and look for the_title() there will be a function before it that is pulling in the websites title, something like: get_bloginfo( 'name' )

    Delete get_bloginfo( 'name' ) and your problem should be fixed.

    Thread Starter Longers

    (@longers)

    This is how page.php looks like:-

    <?php get_header(); ?>

    <div id=”content” class=”clearfix”>

    <div id=”main” class=”col620 clearfix” role=”main”>

    <?php if (have_posts()) : while (have_posts()) : the_post(); ?>

    <article id=”post-<?php the_ID(); ?>” <?php post_class(‘clearfix’); ?>>

    <header>

    <h1><?php the_title(); ?></h1>

    <p class=”meta linebrk”><?php _e(“Posted”, ‘frantic’); ?> <time datetime=”<?php echo esc_attr( get_the_date( ‘c’ ) ); ?>”><?php the_time(‘F jS, Y’); ?></time> <?php _e(“by”, ‘frantic’); ?> <?php the_author_posts_link(); ?>.</p>

    </header> <!– end article header –>

    <section class=”post_content clearfix”>
    <?php the_content(); ?>
    <?php wp_link_pages( array( ‘before’ => ‘<div class=”page-link”><span>’ . __( ‘Pages:’, ‘frantic’ ) . ‘</span>’, ‘after’ => ‘</div>’ ) ); ?>

    </section> <!– end article section –>

    <footer>

    <p class=”tags”><?php the_tags(‘<span class=”tags-title”>Tags:</span> ‘, ‘, ‘, ”); ?></p>

    </footer> <!– end article footer –>

    </article> <!– end article –>

    <?php comments_template(); ?>

    <?php endwhile; ?>

    <?php else : ?>

    <article id=”post-not-found”>
    <header>
    <h1><?php _e(‘Not Found’, ‘frantic’); ?></h1>
    </header>
    <section class=”post_content”>
    <p><?php _e(‘Sorry, but the requested resource was not found on this site.’, ‘frantic’); ?></p>
    </section>
    <footer>
    </footer>
    </article>

    <?php endif; ?>

    </div> <!– end #main –>

    <?php get_sidebar(); // sidebar 1 ?>

    </div> <!– end #content –>

    <?php get_footer(); ?>

    There is no “get_bloginfo”.

    Can you post a link to a page that shows the issue?

    Thread Starter Longers

    (@longers)

    No I can’t, but you know about the fault with the website.

    Did you try what @icaleb suggested about switching to the Twenty Fourteen theme and seeing if the error continues?

    Thread Starter Longers

    (@longers)

    Yes there is no fault with Twenty Fourteen, it is the fault with multiple themes, including Frantic that I am using.

    Caleb Burks

    (@icaleb)

    Automattic Happiness Engineer

    Do you have an SEO plugin installed?

    Thread Starter Longers

    (@longers)

    I had disabled all plugins, still the default page title shows before the post’ title.

    Caleb Burks

    (@icaleb)

    Automattic Happiness Engineer

    Yes, but do you have WordPress SEO or an equivalent plugin installed?

    Thread Starter Longers

    (@longers)

    Yes, I think I do have them.

    Caleb Burks

    (@icaleb)

    Automattic Happiness Engineer

    And which plugin might that be? It’s possible that it is adding the the title field query onto your already existing title

    Thread Starter Longers

    (@longers)

    I have just tried this theme(Frantic) on other website, and it is doing the same thing, showing site title before the page title.

    What to do?

    Can you take a screenshot of the issue and post it someplace like Imgur?

    Thread Starter Longers

    (@longers)

    Changed theme for now, so problem is basically solved.

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘Site title appearing before the page title’ is closed to new replies.