WordPress.org

Ready to get started?Download WordPress

Forums

can't make dropdown category. (1 post)

  1. jowelboss
    Member
    Posted 8 months ago #

    I have a website .There is a problem.The menu & category can't change from header.In admin panel I have seen side panel but in my website i can't see any side panel.I am only seeing menu and category in header.the menu & category is not align in a row or column.
    I want to make category as a dropdown .Please see this website http://realfirstworldproblems.com .
    The code of heade.php is

    <?php get_option_tree( 'custom_css', '', 'true' ); ?>
    </style>
    <?php wp_head(); ?>
    </head>
    <body>
        <div class="row-fluid header">
    		<div class="span2 logo offset1">
    					<?php if ( function_exists( 'get_option_tree') ) : if( get_option_tree( 'logo_uploader') ) : ?>
    <a href="<?php bloginfo('home'); ?>"><img src="<?php get_option_tree( 'logo_uploader', '', 'true' ); ?>" alt="logo" /></a>
    <?php else : ?>
    <a href="<?php bloginfo('home'); ?>"><img src="<?php echo get_template_directory_uri(); ?>/images/logo.png" alt="logo" /></a>
    <?php endif; endif; ?>
    		</div>
    		<div class="span5 mainmenu">
    			<ul class="navi">
    				<li>*** <a href="http://realfirstworldproblems.com/meme-generator">Submit a First World Problem</a> ***</li>
    				<!--<li><a href="">Categories</a>-->
    <?php
                $cats = get_categories();
    			echo "<ul>";
                    foreach ($cats as $cat) {
    				echo "<li>";
    					echo '<a href="'.get_category_link( $cat->term_id ).'">'.$cat->name.'</a>';
    					echo "</li>";
    					}
    echo "</ul>";
    ?>
    				</li>
    			</ul>
    		</div>
    		<div class="span3">
    		<div class="row-fluid">
    			<div class="span12 socialmenu">
    				<?php get_template_part('social'); ?>
    			</div>
    		</div>
    		<div class="row-fluid">
    			<div class="span12 help">
    				<a href="http://realfirstworldproblems.com/this-is-help-some-one-page/">Help Someone</a>
    			</div>
    		</div>
    		</div>
    		<div class="span1">
    		</div>
        </div>

    where i can change to make a dropdown category.The default menu is not work.

Reply

You must log in to post.

About this Topic