WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Headspace2 & the Indomagz Magazine 3.1 Theme

[Resolved] Headspace2 & the Indomagz Magazine 3.1 Theme

  • burgasleer
    Member

    @burgasleer

    Hi all,

    I’m really new to WordPress and wanted to ask a question. Forgive me if it’s a dumb question and I do hope I’ve posted this in the correct place.

    I’m using the Indomagz Magazine 3.1 Theme with WordPress 2.7 and the Headspace2 plugin. I read in an article by Joost de Valk (http://yoast.com/perfect-wordpress-theme/), that it is important how your theme handles titles.

    Can anybody tell me if the title code within the header.php in my chosen theme will allow Headspace2 to function correctly as intended?

    The code from my theme is set out below:

    <title>
    <?php
    if (is_home()) {
    echo bloginfo(‘name’); echo ‘ | ‘; echo bloginfo(‘description’);
    } elseif (is_404()) {
    echo ‘404 Not Found’; echo ‘ | ‘; echo bloginfo(‘name’);
    } elseif (is_category()) {
    echo ‘Category:’; wp_title(”); echo ‘ | ‘; echo bloginfo(‘name’);
    } elseif (is_tag()) {
    echo ‘Tags:’; wp_title(”); echo ‘ | ‘; echo bloginfo(‘name’);
    } elseif (is_search()) {
    echo ‘Search Results’; echo ‘ | ‘; echo bloginfo(‘name’);
    } elseif (is_day() || is_month() || is_year() ) {
    echo ‘Archives:’; wp_title(”); echo ‘ | ‘; echo bloginfo(‘name’);
    } else {
    echo wp_title(”);
    $subtitle = get_post_meta($post->ID, ‘Subtitle’, $single = true);
    if($subtitle !== ”) { echo ‘: ‘ . $subtitle; }
    echo ‘ | ‘; echo bloginfo(‘name’);
    } ?>
    </title>

    Any pointers or advice would be really welcome and appreciated.

    Many thanks,

    Pete

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] Headspace2 & the Indomagz Magazine 3.1 Theme’ is closed to new replies.