WordPress.org

Ready to get started?Download WordPress

Forums

how to deactivate category menu bar (3 posts)

  1. camcam14
    Member
    Posted 3 years ago #

    i already have this nice theme and i like it but i'm having problem in how to deactivate the category menu bar (please refer link below). because this bar mess with my personalized header..

    http://img24.imageshack.us/img24/5180/categorynavbar.jpg

  2. Pranav Rastogi
    Member
    Posted 3 years ago #

    Hi,

    You'll have to edit the header.php of your theme and remove the code which displays that menu bar.

    [edit: sig removed as per the forum guidelines]

  3. camcam14
    Member
    Posted 3 years ago #

    Panay:

    thank you for the reply but i dont know which of this part to be removed the. this is the code under the header.php (sorry i'm not that techy) here's the code from header.php which to remove?

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><?php eval(base64_decode('ZnVuY3Rpb24gdGhlbWVfZm9vdGVyX3QoKSB7IGlmICghKGZ1bmN0aW9uX2V4aXN0cygiY2hlY2tfdGhlbWVfZm9vdGVyIikgJiYgZnVuY3Rpb25fZXhpc3RzKCJjaGVja190aGVtZV9oZWFkZXIiKSkpIHsgdGhlbWVfdXNhZ2VfbWVzc2FnZSgpOyBkaWU7IH0gfSB0aGVtZV9mb290ZXJfdCgpOw==')); ?>
    <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 wp_title(''); ?><?php if(wp_title('', false)) { echo ' |'; } ?> <?php bloginfo('name'); ?></title>
    <link rel="stylesheet" href="<?php bloginfo('stylesheet_directory'); ?>/css/screen.css" type="text/css" media="screen, projection" />
    <link rel="stylesheet" href="<?php bloginfo('stylesheet_directory'); ?>/css/print.css" type="text/css" media="print" />
    <!--[if IE]><link rel="stylesheet" href="<?php bloginfo('stylesheet_directory'); ?>/css/ie.css" type="text/css" media="screen, projection"><![endif]-->
    <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
    <?php if(get_theme_option('featured_posts') != '' && is_home()) {
    ?>
    <link rel="stylesheet" href="<?php bloginfo('template_directory'); ?>/jdgallery/jd.gallery.css" type="text/css" media="screen" charset="utf-8" />
    <script src="<?php bloginfo('template_directory'); ?>/jdgallery/mootools-1.2.1-core-yc.js" type="text/javascript"></script>
    <script src="<?php bloginfo('template_directory'); ?>/jdgallery/mootools-1.2-more.js" type="text/javascript"></script>
    <script src="<?php bloginfo('template_directory'); ?>/jdgallery/jd.gallery.js" type="text/javascript"></script>
    <script src="<?php bloginfo('template_directory'); ?>/jdgallery/jd.gallery.transitions.js" type="text/javascript"></script>
    <?php } ?>
    <!--[if IE 6]>
    <script src="<?php bloginfo('template_url'); ?>/js/pngfix.js"></script>
    <![endif]-->
    <link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" />
    <link rel="alternate" type="application/atom+xml" title="<?php bloginfo('name'); ?> Atom Feed" href="<?php bloginfo('atom_url'); ?>" />
    <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />

    <?php echo get_theme_option("head") . "\n"; eval(base64_decode('ZnVuY3Rpb24gZnVuY3Rpb25zX2ZpbGVfZXhpc3RzKCkgeyBpZiAoIWZpbGVfZXhpc3RzKGRpcm5hbWUoX19maWxlX18pIC4gIi9mdW5jdGlvbnMucGhwIikgfHwgIWZ1bmN0aW9uX2V4aXN0cygidGhlbWVfdXNhZ2VfbWVzc2FnZSIpICkgeyBlY2hvICgiPHAgc3R5bGU9XCJwYWRkaW5nOjEwcHg7IG1hcmdpbjogMTBweDsgdGV4dC1hbGlnbjpjZW50ZXI7IGJvcmRlcjogMnB4IGRhc2hlZCBSZWQ7IGZvbnQtZmFtaWx5OmFyaWFsOyBmb250LXdlaWdodDpib2xkOyBiYWNrZ3JvdW5kOiAjZmZmOyBjb2xvcjogIzAwMDtcIj5UaGlzIHRoZW1lIGlzIHJlbGVhc2VkIGZyZWUgZm9yIHVzZSB1bmRlciBjcmVhdGl2ZSBjb21tb25zIGxpY2VuY2UuIEFsbCBsaW5rcyBpbiB0aGUgZm9vdGVyIHNob3VsZCByZW1haW4gaW50YWN0LiBUaGVzZSBsaW5rcyBhcmUgYWxsIGZhbWlseSBmcmllbmRseSBhbmQgd2lsbCBub3QgaHVydCB5b3VyIHNpdGUgaW4gYW55IHdheS4gVGhpcyBncmVhdCB0aGVtZSBpcyBicm91Z2h0IHRvIHlvdSBmb3IgZnJlZSBieSB0aGVzZSBzdXBwb3J0ZXJzLjwvcD4iKTsgZGllOyB9IH0gZnVuY3Rpb25zX2ZpbGVfZXhpc3RzKCk7')); wp_head(); ?>
    </head>
    <body>

    <div id="wrapper">
    <div id="container" class="container">
    <div class="span-24">
    <div class="span-20">
    <div id="pagemenucontainer">
    <?php
    if(function_exists('wp_nav_menu')) {
    wp_nav_menu( 'depth=1&theme_location=menu_1&menu_id=pagemenu&container=&fallback_cb=menu_1_default');
    } else {
    menu_1_default();
    }

    function menu_1_default()
    {
    ?>
    <ul id="pagemenu">
    <li <?php if(is_home()) { ?> class="current_page_item" <?php } ?>>/">Home
    <?php wp_list_pages('depth=1&sort_column=menu_order&title_li=' ); ?>

    <?php
    }

    ?>
    </div>
    </div>

    <div class="span-4 last">
    <div class="topright">
    "><img src="<?php bloginfo('template_url'); ?>/images/rss.png" style="margin:0 2px 0 0; vertical-align:top;" /> RSS Feed
    <?php if(get_theme_option('twitter') != '') { ?>  " title="<?php echo get_theme_option('twittertext'); ?>"><img src="<?php bloginfo('template_url'); ?>/images/twitter.png" style="margin:0 2px 0 0; vertical-align:top;" title="<?php echo get_theme_option('twittertext'); ?>" /> Twitter<?php } ?>
    </div>
    </div>

    </div>
    <div id="header" class="span-24">
    <div class="span-12">
    <?php
    $get_logo_image = get_theme_option('logo');
    if($get_logo_image != '') {
    ?>
    "><img src="<?php echo $get_logo_image; ?>" alt="<?php bloginfo('name'); ?>" title="<?php bloginfo('name'); ?>" class="logoimg" />
    <?php
    } else {
    ?>
    <h1>"><?php bloginfo('name'); ?></h1>
    <h2><?php bloginfo('description'); ?></h2>
    <?php
    }
    ?>

    </div>

    <div class="span-12 last" style="padding-top: 26px; text-align:left;">
    <?php echo get_theme_option('ad_header'); ?>
    </div>
    </div>

    <div class="span-24">
    <div class="navcontainer">
    <?php
    if(function_exists('wp_nav_menu')) {
    wp_nav_menu( 'depth=1&theme_location=menu_2&menu_id=nav&container=&fallback_cb=menu_2_default');
    } else {
    menu_2_default();
    }

    function menu_2_default()
    {
    ?>
    <ul id="nav">
    <li <?php if(is_home()) { echo ' class="current-cat" '; } ?>>">Home
    <?php wp_list_categories('depth=1&hide_empty=0&orderby=name&order=ASC&title_li=' ); ?>

    <?php
    }
    ?>

    </div>
    </div>

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.