[resolved] Missing title in Pixel Theeme (3 posts)

  1. witch_honor
    Posted 5 years ago #

    Hi, guys!
    I installed the Pixel Theme on one blog and I can't figure out how to make the titles for Archive, Category and Search come out. I checked the theme's archive.php and there I found that section of code:

    <?php /* If this is a category archive */ if (is_category()) { ?>
    <h2 class="pageTitle"><?php single_cat_title(); ?></h2>
    <?php /* If this is a tag archive */ } elseif( is_tag() ) { ?>
    <h2 class="pageTitle">Tag: <?php single_tag_title(); ?></h2>
    <?php /* If this is a daily archive */ } elseif (is_day()) { ?>
    <h2 class="pageTitle">Archive for <?php the_time('F jS, Y'); ?></h2>
    <?php /* If this is a monthly archive */ } elseif (is_month()) { ?>
    <h2 class="pageTitle">Archive for <?php the_time('F, Y'); ?></h2>
    <?php /* If this is a yearly archive */ } elseif (is_year()) { ?>
    <h2 class="pageTitle">Archive for <?php the_time('Y'); ?></h2>
    <?php /* If this is an author archive */ } elseif (is_author()) { ?>
    <h2 class="pageTitle">Author Archive</h2>
    <?php /* If this is a paged archive */ } elseif (isset($_GET['paged']) && !empty($_GET['paged'])) { ?>
    <h2 class="pageTitle">Blog Archives</h2>
    <?php } ?>

    As far as I understand it - these are the cases for title print, but there is no sign of it on the page... ANy ideas?

  2. Michael
    Forum Moderator
    Posted 5 years ago #

    have you changed the theme in any way?

    if yes, then a link to the original theme is of not much use;
    btw: the theme demo shows the archive titles just fine.

    a link to your site might get you more detailed replies.

  3. witch_honor
    Posted 5 years ago #

    Yes... I've found my error. I've tryed translating the theme into Bulgarian, so I must've deleted a line by mistake :)
    Thanks :)

Topic Closed

This topic has been closed to new replies.

About this Topic