• Hello

    I am using the Blue Zinfandel 3 column Theme and cannot remove an unecessary category section down the left hand side, and also an additional home tab up top below the header…

    I cannot find how to do it via the widget section, and require help from someone a little more clever than me!…

    Hope to hear from someone soon…

    Kind regards…

    Adam

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi,

    You need to edit core files of your theme for your requirement..You need to edit the sidebar category section from the sidebar.php file of your theme..and at the menu also you can do it either from page.php file or header.php file of your theme..

    Thanks,

    Shane G.

    Thread Starter adamhakes

    (@adamhakes)

    Hello Shane

    I have no real idea on how to do that, so below I have pasted both bits of code… Ok, below is the header.php, and below that is the sidebar.php – hope you can help…

    Kind regards…

    Adam

    <!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”&gt;
    <html xmlns=”https://www.w3.org/1999/xhtml”&gt;
    <head profile=”https://gmpg.org/xfn/11″&gt;
    <meta http-equiv=”Content-Type” content=”<?php bloginfo(‘html_type’); ?>; charset=<?php bloginfo(‘charset’); ?>” />
    <meta name=”distribution” content=”global” />
    <?php
    echo ‘<meta name=”robots” content=”index,follow” />’;

    ?>
    <meta name=”language” content=”en, sv” />

    <title><?php if (is_home()) {bloginfo(‘name’) ;} else { wp_title(‘ ‘);} ?></title>
    <meta name=”generator” content=”WordPress <?php bloginfo(‘version’); ?>” />
    <!– leave this for stats please –>

    <link rel=”Shortcut Icon” href=”<?php echo get_settings(‘home’); ?>/wp-content/themes/blue-zinfandel-3column/images/favicon.ico” type=”image/x-icon” />
    <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_get_archives(‘type=monthly&format=link’); ?>
    <?php wp_head(); ?>
    <style type=”text/css” media=”screen”>
    <!– @import url( <?php bloginfo(‘stylesheet_url’); ?> ); –>
    </style>
    </head>

    <body>

    <div id=”header”>
    <?php
    if(is_single() || is_page() || is_archive()){
    ?>
    /”><?php bloginfo(‘name’); ?>
    <?php
    } else
    { ?><h1>“><?php bloginfo(‘name’); ?></h1>
    <?php } ?>
    <?php bloginfo(‘description’); ?>
    </div>

    <div id=”navbar”>

    • “>Home
    • <?php wp_list_pages(‘title_li=&depth=1’); ?>

    </div>

    <div id=”wrap”>

    Sidebar.php

    <!– begin l_sidebar –>

    <div id=”l_sidebar”>
    <ul id=”l_sidebarwidgeted”>
    <?php if ( function_exists(‘dynamic_sidebar’) && dynamic_sidebar(1) ) : else : ?>

    <li id=”Recent”>
    <div class=”sidebar_header”>Recently Written</div>

      <?php get_archives(‘postbypost’, 10); ?>

    <li id=”Categories”>
    <div class=”sidebar_header”>Categories</div>

      <?php wp_list_cats(‘sort_column=name’); ?>

    <li id=”Archives”>
    <div class=”sidebar_header”>Archives</div>

      <?php wp_get_archives(‘type=monthly’); ?>

    <li id=”Admin”>
    <div class=”sidebar_header”>Admin</div>

      <?php wp_register(); ?>

    • <?php wp_loginout(); ?>
    • WordPress
    • <?php wp_meta(); ?>

    • XHTML

    <li id=”Search”>
    <div class=”sidebar_header”>Search</div>
    <form id=”searchform” method=”get” action=”<?php echo $_SERVER[‘PHP_SELF’]; ?>”>
    <input type=”text” name=”s” id=”s” size=”30″ value=”search this site…”/></form>

    <?php endif; ?>

    <img src=”https://www.undergroundtraininglab.com/images/utl_120x60_mmm.jpg&#8221; border=”0″ />
    </div>

    <!– end l_sidebar –>

    Not 100% sure what you mean by having two. got a link?
    Sidebar.php looks fine, so go to Appearance > Widgets and see what you have turned on for each sidebar. If you have Category twice, remove the second.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘I have two ”homes” and two ”categories” – its beyond me!’ is closed to new replies.