ThemeShaper Forums » Thematic

[closed]

Custom Menu Placement

(2 posts)
  • Started 2 years ago by violetabella
  • Latest reply from helgatheviking
  • This topic is not resolved
  1. violetabella
    Member

    Hi! I was able to add two new divisions above the header (thanks guys!), and now I am trying to place one of my custom menus into a new divisions. I usually have the custom menu code in my header div and in the header.php file, but I'm not sure where to move it to now. I tried placing it before and after

    // action hook for placing content above the theme header
        thematic_aboveheader();

    but that doesn't seem to be working either. Anyways, this is what my header.php file looks like now with the custom menu in the header div:

    <?php
        // Creating the doctype
        thematic_create_doctype();
        echo " ";
        language_attributes();
        echo ">\n";
    
        // Creating the head profile
        thematic_head_profile();
    
        // Creating the doc title
        thematic_doctitle();
    
        // Creating the content type
        thematic_create_contenttype();
    
        // Creating the description
        thematic_show_description();
    
        // Creating the robots tags
        thematic_show_robots();
    
        // Creating the canonical URL
        thematic_canonical_url();
    
        // Loading the stylesheet
        thematic_create_stylesheet();
    
        // Creating the internal RSS links
        thematic_show_rss();
    
        // Creating the comments RSS links
        thematic_show_commentsrss();
    
        // Creating the pingback adress
        thematic_show_pingback();
    
        // Enables comment threading
        thematic_show_commentreply();
    
        // Calling WordPress' header action hook
        wp_head();
    
    ?>
    
    </head>
    
    <?php 
    
    if (apply_filters('thematic_show_bodyclass',TRUE)) {
        // Creating the body class
        ?>
    
    <body class="<?php thematic_body_class() ?>">
    
    <?php }
    
    // action hook for placing content before opening #wrapper
    thematic_before(); ?>
    
    <div id="wrapper" class="hfeed">
    
        <?php
    
        // action hook for placing content above the theme header
        thematic_aboveheader(); 
    
        ?>   
    
       <div id="header" onclick="location.href='http://www.zensearchmarketing.com';" style="cursor: pointer;">
    
    	   <ul id="menu">
    
    <li><a href="#">fb <span></span></a></li>
    <li><a href="#">pin <span></span></a></li>
    <li><a href="#">email <span></span></a></li>
            <?php 
    
            // action hook creating the theme header
            thematic_header();
    
            ?>
    
        </div><!-- #header-->
    
        <?php
    
        // action hook for placing content below the theme header
        thematic_belowheader();
    
        ?>   
    
        <div id="main">

    Any help would be greatly appreciated. ;)

    Posted 2 years ago #
  2. why do you need a custom header.php file? (and definitely don't be hacking around w/ the thematic version). in the other thread we showed you how to add some divs to a hook. you can add your menu the same way, and even in the same function.

    Posted 2 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.