Forums

Humidor Theme problem (9 posts)

  1. gspink
    Member
    Posted 2 years ago #

    Hi
    I wonder if anyone can help me.
    I am using the Humidor Theme for my website which can be seen at Buy Italian Red Wines and I would like to enable more tabs. The theme author Evan Eckard says: "By default, only the front page (home) tab is shown, but with some minor css and html tweaks, the image used for the tabs also has an “about,” “contact,” and “archives” tabs." I would love to have these used on the site but do not know how to alter this code.
    Can anyone help please.

    Many thanks
    Graham Spink

  2. Peter Boosten
    Member
    Posted 2 years ago #

    can you show us the contents of your header.php?

    Peter

  3. gspink
    Member
    Posted 2 years ago #

    Hi Peter

    Here is the full .php content for the header:

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>

    <head profile="http://gmpg.org/xfn/11">
    <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />

    <title><?php bloginfo('name'); ?><?php wp_title(); ?></title>

    <meta name="generator" content="WordPress <?php bloginfo('version'); ?>" /> <!-- leave this for stats please -->

    <style type="text/css" media="screen">
    @import url( <?php bloginfo('stylesheet_url'); ?> );
    </style>

    <link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<?php bloginfo('rss2_url'); ?>" />
    <link rel="alternate" type="text/xml" title="RSS .92" href="<?php bloginfo('rss_url'); ?>" />
    <link rel="alternate" type="application/atom+xml" title="Atom 0.3" href="<?php bloginfo('atom_url'); ?>" />

    <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
    <?php wp_head(); ?>
    </head>

    <body>
    <!-- end header -->

  4. gspink
    Member
    Posted 2 years ago #

    header.php? now supplied - hope this helps

    Graham

  5. Peter Boosten
    Member
    Posted 2 years ago #

    Graham,

    Sorry for my late answer, some pop festival knocked me off my feet :-)

    Apparantly what I'm looking for is not in the header file. Let's start off with the first 20 lines of your index.php, or the entire index.php via pastebin.

    Peter

  6. gspink
    Member
    Posted 2 years ago #

    Hi Peter

    Put the whole index.php file in Pastebin - never heard of it before so I hope I have done it correctly. Filed under "Graham Spink"

    Graham

  7. Peter Boosten
    Member
    Posted 2 years ago #

    Yup, you did it correctly.

    In that file is a smal section near the top looking like this:

    <ul id="tabs">
        <li id="tab01"><a href="/index.php">FrontPage</a></li>
      </ul>

    You have to create some pages in admin of your likings, like 'About', 'Contact', etc, and modify the above code accordingly, for instance:

    <ul id="tabs">
        <li id="tab01"><a href="/index.php">FrontPage</a></li>
        <li id="tab01"><a href="/about">About</a></li>
        <li id="tab01"><a href="/contact">Contact</a></li>
      </ul>

    the url has to match the slug in your page.

    Let's see where that brings us.

    Peter

  8. Peter Boosten
    Member
    Posted 2 years ago #

    Graham,

    I think you need to do the same in page.php, and possibly other pages as well (single.php?)

    Peter

  9. gspink
    Member
    Posted 2 years ago #

    Hi Peter

    Do not know what you have seen as I have tried to mess around with the code. I altered what you said but nothing changed. I looked further and found this code:
    <ul id="tabs">
    <li id="tab01" class="tab01on">FrontPage

    so i altered this to:

    <ul id="tabs">
    <li id="tab01" class="tab01on">FrontPage
    <li id="tab02" class="tab02on">AboutPage
    <li id="tab03" class="tab03on">PrivacyPage

    this is all I have done. Not sure how the previous code affects the tabs?
    Will mess around a bit more with the code tomorrow.

    Many thanks for your help Peter

Topic Closed

This topic has been closed to new replies.

About this Topic