• Resolved witch_honor

    (@witch_honor)


    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?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Michael

    (@alchymyth)

    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.

    Thread Starter witch_honor

    (@witch_honor)

    Yes… I’ve found my error. I’ve tryed translating the theme into Bulgarian, so I must’ve deleted a line by mistake ??
    Thanks ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Missing title in Pixel Theeme’ is closed to new replies.