• Ok, so I used to use the Pixel theme, it’s great, but I wanted something that was unique, so I made my own theme with Artisteer 2.2.

    The new theme is amazing in my opinion, and I have to say, Artisteer 2.2 can make professional looking themes in very little time. (Free advertising for them, since I liked it so much :p)

    But anyway, my problem is, in the Pixel Theme, all the categories would show up in the top menu bar, and only categories that had posts in them would show. And it even had drop down menus for sub-categories.

    With this new theme, it only shows Home. I’m not the best at making themes (which is why I used Artisteer), but can anyone help me fix it?

    I’d like it so that each category that has any posts in it, would be shown across the top menu bar, and sub categories should be shown in a drop down menu under the categories.

    Can anyone help?

    I’ll send the Theme if needed.

    And here’s a link to the site, if you want to see ti.
    https://www.grundoko.com

Viewing 9 replies - 1 through 9 (of 9 total)
  • The problem is inside the code after the code that shows the home button inside the header.php. Maybe you can post the code from the

      .

      I think you use <?php wp_list_categories(); ?> to show the categories, compare with the wp documentation about this to see if there are any mistakes.

      Hope this will help.

      Greetz,

      Durgé
      Dimics.com

    Thread Starter grundoko

    (@grundoko)

    Here’s the html for my Header. Would you be able to show me where it should go?

    And the code I want to use it,

      <?php wp_list_categories(‘orderby=name&hide_empty=1’); ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="https://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
    <head profile="https://gmpg.org/xfn/11">
    <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
    <title><?php if (is_home () ) { bloginfo('name'); } elseif ( is_category() ) { single_cat_title(); echo ' - ' ; bloginfo('name'); }
     elseif (is_single() ) { single_post_title(); }
     elseif (is_page() ) { bloginfo('name'); echo ': '; single_post_title(); }
     else { wp_title('',true); } ?></title>
    <script type="text/javascript" src="<?php bloginfo('template_url'); ?>/script.js"></script>
    <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
    <!--[if IE 6]><link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/style.ie6.css" type="text/css" media="screen" /><![endif]-->
    <!--[if IE 7]><link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/style.ie7.css" type="text/css" media="screen" /><![endif]-->
    <link rel="alternate" type="application/rss+xml" title="<?php printf(__('%s RSS Feed', 'kubrick'), get_bloginfo('name')); ?>" href="<?php bloginfo('rss2_url'); ?>" />
    <link rel="alternate" type="application/atom+xml" title="<?php printf(__('%s Atom Feed', 'kubrick'), get_bloginfo('name')); ?>" href="<?php bloginfo('atom_url'); ?>" />
    <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
    <?php wp_head(); ?>
    </head>
    <body>
        <div id="art-page-background-gradient"></div>
    <div id="art-main">
    <div class="art-Sheet">
        <div class="art-Sheet-tl"></div>
        <div class="art-Sheet-tr"></div>
        <div class="art-Sheet-bl"></div>
        <div class="art-Sheet-br"></div>
        <div class="art-Sheet-tc"></div>
        <div class="art-Sheet-bc"></div>
        <div class="art-Sheet-cl"></div>
        <div class="art-Sheet-cr"></div>
        <div class="art-Sheet-cc"></div>
        <div class="art-Sheet-body">
    <div class="art-Header">
        <div class="art-Header-jpeg"></div>
    <div class="art-Logo">
        <h1 id="name-text" class="art-Logo-name">
            <a href="<?php echo get_option('home'); ?>/"><?php bloginfo('name'); ?></a></h1>
        <div id="slogan-text" class="art-Logo-text">
            <?php bloginfo('description'); ?></div>
    </div>
    
    </div>
    <div class="art-nav">
    	<div class="l"></div>
    	<div class="r"></div>
    	<ul class="art-menu">
    		<?php art_menu_items(); ?>
    	</ul>
    </div>

    EDIT: I think it would go somewhere around <?php art_menu_items(); ?>

    I tried putting it in there, but it showed up under the Home button, with bad placing, and no image behind it.

    Thread Starter grundoko

    (@grundoko)

    Bump!

    Sorry if I’m being impatient, but I’d really like some help on this. I’ve been trying messing with the html constantly, but nothing seems to be working.

    Thread Starter grundoko

    (@grundoko)

    Seriously, can I get some help with this?
    ??

    its a bit impossible to say anything from your attatched header code…

    Thread Starter grundoko

    (@grundoko)

    What else would I need to post?

    I’m ok with html, and css, but I fail at PHP, and I have no clue where to put the code.

    Thread Starter grundoko

    (@grundoko)

    *Bump

    Thread Starter grundoko

    (@grundoko)

    *Bump

    Seriously, my blog is starting to get more popular, and I’m still updating in daily, but this is the one issue I’m having. Can someone help me get the categories to work right? ??

    Thread Starter grundoko

    (@grundoko)

    *Bump again.

    It’s been 3 weeks. Can anyone help me with this problem?
    I can put up more information if it’s needed to fix the issue.
    I’d really like to get the categories working correctly.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Category Trouble’ is closed to new replies.