Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • Forum: Themes and Templates
    In reply to: Pages and Blix
    Thread Starter Hachi

    (@hachi)

    Thanks!

    You can also try using another browser, such as IE (gasp!) if you’re using Firefox, since they use different cookies.

    Forum: Themes and Templates
    In reply to: Pages and Blix
    Thread Starter Hachi

    (@hachi)

    Well, I still want to have some up there, but not all of the pages, just the ones that are already up there. Here is the code:

      <li<?php if (is_home()) echo ” class=\”selected\””; ?>>“>Home
      <?php
      $pages = BX_get_pages();
      if ($pages) {
      foreach ($pages as $page) {
      $page_id = $page->ID;
      $page_title = $page->post_title;
      $page_name = $page->post_name;
      if ($page_name == “archives”) {
      (is_page($page_id) || is_archive() || is_search() || is_single())?$selected = ‘ class=”selected”‘:$selected=”;
      echo “<li”.$selected.”>Archives\n”;
      }
      elseif($page_name == “about”) {
      (is_page($page_id))?$selected = ‘ class=”selected”‘:$selected=”;
      echo “<li”.$selected.”>About\n”;
      }
      elseif ($page_name == “contact”) {
      (is_page($page_id))?$selected = ‘ class=”selected”‘:$selected=”;
      echo “<li”.$selected.”>Contact\n”;
      }
      elseif ($page_name == “about_short”) {/*ignore*/}
      else {
      (is_page($page_id))?$selected = ‘ class=”selected”‘:$selected=”;
      echo ”

    • $page_title
    • \n”;
      }
      }
      }
      ?>

    Now, it already has a condition for a page named about_short, to exclude it, but I would like to exclude some more, what kind of coding would I need to do that?

    Heh. ETA=Estimated time of arrival. So in other words, when will I get to finally use this template?! 🙂

    I think you should enter the competition too, compared to the ones there so far, yours is far better, in my opinion.

    I love this layout, I’m just starting up my blog, and I’m thinking about waiting on this theme to come out, it’s really nice. Do you happen to have an ETA on it?

Viewing 5 replies - 1 through 5 (of 5 total)