Support » Developing with WordPress » wp as CMS – nav using PVII

  • Resolved micharo

    (@micharo)


    Hi,

    I am using wp as a CMS
    I try to use PVII (project seven) Pop Menu Magic for the navigation.

    I added the nav into the header.php of the default theme

    but this gives me only the text. It seems it cannot read the js and or the css.

    Any idea?

    micharo

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <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 bloginfo('name'); ?>
    <?php if ( is_single() ) { ?>
    &raquo; Blog Archive
    <?php } ?>
    <?php wp_title(); ?>
    </title>
    <meta name="generator" content="WordPress <?php bloginfo('version'); ?>" />
    <!-- leave this for stats -->
    <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
    <link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" />
    <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
    <style type="text/css" media="screen">
    
    <?php
    // Checks to see whether it needs a sidebar or not
    if ( !$withcomments && !is_single() ) {
    ?>
    	#page { background: url("<?php bloginfo('stylesheet_directory'); ?>/images/kubrickbg.jpg") repeat-y top; border: none; }
    <?php } else { // No sidebar ?>
    	#page { background: url("<?php bloginfo('stylesheet_directory'); ?>/images/kubrickbgwide.jpg") repeat-y top; border: none; }
    <?php } ?>
    
    </style>
    <?php wp_head(); ?>
    <script type="text/javascript" src="p7pm/p7popmenu.js"></script>
    <style type="text/css" media="screen">
    <!--
    @import url("p7pm/p7pmh0.css");
    -->
    </style>
    </head>
    <body onload="P7_initPM(1,0,1,-20,10)">
    <div id="page">
    
    <div id="header">
    	<div id="headerimg">
    	  <ul id="p7PMnav">
            <li><a href="#">Section 1</a></li>
    	    <li><a href="#" class="p7PMtrg">Section 2</a>
    	        <ul>
                  <li><a href="#">Link 2.1</a></li>
    	          <li><a href="#" class="p7PMtrg">Link 2.2</a>
    	              <ul>
                        <li><a href="#">Link 2.2.1</a></li>
    	                <li><a href="#">Link 2.2.2</a></li>
    	                <li><a href="#">Link 2.2.3</a></li>
                    </ul>
                  </li>
    	          <li><a href="#">Link 2.3</a></li>
              </ul>
            </li>
    	    <li><a href="#" class="p7PMtrg">Section 3</a>
    	        <ul>
                  <li><a href="#">Link 3.1</a></li>
    	          <li><a href="#">Link 3.2</a></li>
    	          <li><a href="#">Link 3.3</a></li>
              </ul>
            </li>
    	    <li><a href="#">Section 4</a></li>
    	    <!--[if lte IE 6]><style>#p7PMnav a{height:1em;}#p7PMnav li{height:1em;}#p7PMnav ul li{float:left;clear:both;width:100%}</style><![endif]-->
    	    <!--[if IE 6]><style>#p7PMnav ul li{clear:none;}</style><![endif]-->
    	    <!--[if IE 7]><style>#p7PMnav a{zoom:100%;}#p7PMnav ul li{float:left;clear:both;width:100%;}</style><![endif]-->
          </ul>
    	  <h1><a href="<?php echo get_option('home'); ?>/"><?php bloginfo('name'); ?></a></h1>
    		<div class="description"><?php bloginfo('description'); ?></div>
      </div>
    </div>
    <hr />
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘wp as CMS – nav using PVII’ is closed to new replies.