WordPress.org

Ready to get started?Download WordPress

Forums

WooThemes FreshFolio Theme Page Title Issue... (2 posts)

  1. garethdaine
    Member
    Posted 5 years ago #

    Hi Guys,

    I wonder if you could help me as I'm having a major issue with my page title for my theme FreshFolio by WooThemes.

    No matter what I try I can't seem to get the title to change dynamically. It always seems to say Portfolio | Gareth Daine. This is playing havoc with my SEO.

    Anyway, the original code I had between the the <title></title> tag in the header.php document was as follows:

    <?php if ( is_home() ) { ?><?php bloginfo('name'); ?>&nbsp;|&nbsp;<?php bloginfo('description'); ?><?php } ?>
        <?php if ( is_search() ) { ?><?php bloginfo('name'); ?>&nbsp;|&nbsp;Search Results<?php } ?>
        <?php if ( is_author() ) { ?><?php bloginfo('name'); ?>&nbsp;|&nbsp;Author Archives<?php } ?>
        <?php if ( is_single() ) { ?><?php wp_title(''); ?>&nbsp;|&nbsp;<?php bloginfo('name'); ?><?php } ?>
        <?php if ( is_page() ) { ?><?php bloginfo('name'); ?>&nbsp;|&nbsp;<?php wp_title(''); ?><?php } ?>
        <?php if ( is_category() ) { ?><?php bloginfo('name'); ?>&nbsp;|&nbsp;Archive&nbsp;|&nbsp;<?php single_cat_title(); ?><?php } ?>
        <?php if ( is_month() ) { ?><?php bloginfo('name'); ?>&nbsp;|&nbsp;Archive&nbsp;|&nbsp;<?php the_time('F'); ?><?php } ?>
        <?php if (function_exists('is_tag')) { if ( is_tag() ) { ?><?php bloginfo('name'); ?>&nbsp;|&nbsp;Tag Archive&nbsp;|&nbsp;<?php  single_tag_title("", true); } } ?>

    Now I changed this to:

    <?php wp_title('--',true,'right'); ?>
    <?php bloginfo('name'); ?>

    For some really strange reason it stays the same (Portfolio | Gareth Daine).

    Can anyone please help me? Thanks.

    My URL is at Gareth Daine.

  2. garethdaine
    Member
    Posted 5 years ago #

    Problem solved.

    It wasn't to do with the template, it was the platinum SEO plugin.

Topic Closed

This topic has been closed to new replies.

About this Topic