Viewing 4 replies - 1 through 4 (of 4 total)
  • edit header.php and see if you can locate a line or section starting with <title> and ending with </title>;

    what is the code of that section?

    for more detailed support, you might need to contact the source where you got the theme from.

    the theme is not freely downloadable and is supported by this forum.

    Thread Starter iamjace.m

    (@iamjacem)

    Thanks @alchymyth

    This is what’s showing on header.php

    <title>
    
    <?php if (is_home()) { ?>
    <!-- don't display title (leave this blank) -->
    <?php } else { ?>
    <?php //the_title(); ?>
    <?php } ?>
    
    <?php
    	/*
    	 * Print the <title> tag based on what is being viewed.
    	 * We filter the output of wp_title() a bit -- see
    	 * digi_filter_wp_title() in functions.php.
    	 */
    	wp_title( '|', true, 'right' );
    
    	?></title>

    I tried editing it earlier as a few hours ago, the title is always being doubled (i.e. Portfolio Portfolio instead of just saying Portfolio) so what I did is I added the // before the title as shown above. For some reason it was corrected.

    I’m totally new to wordpress and I can’t seem to get support from the theme provider.

    You can download the theme here for free.

    Thanks a bunch.

    is_home() checks for the blog page; so if you don’t want a fixed text to show, then remove the offending line from the code;

    like so:

    title>
    
    <?php if (is_home()) { ?>
    <?php } else { ?>
    <?php //the_title(); ?>
    <?php } ?>
    <?php
    	/*
    	 * Print the <title> tag based on what is being viewed.
    	 * We filter the output of wp_title() a bit -- see
    	 * digi_filter_wp_title() in functions.php.
    	 */
    	wp_title( '|', true, 'right' );
    
    	?></title>

    btw: the theme’s download requires a signup – and that makes it technically not free.

    Thread Starter iamjace.m

    (@iamjacem)

    That went well. Thanks for your help @alchymyth.

    I was having second thoughts in deleting lines on the code as I’m a major noobie. Thanks a lot for your help.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Blog title not showing correctly’ is closed to new replies.