Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter adamhakes

    (@adamhakes)

    Hello Shane

    I have no real idea on how to do that, so below I have pasted both bits of code… Ok, below is the header.php, and below that is the sidebar.php – hope you can help…

    Kind regards…

    Adam

    <!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”&gt;
    <html xmlns=”https://www.w3.org/1999/xhtml”&gt;
    <head profile=”https://gmpg.org/xfn/11″&gt;
    <meta http-equiv=”Content-Type” content=”<?php bloginfo(‘html_type’); ?>; charset=<?php bloginfo(‘charset’); ?>” />
    <meta name=”distribution” content=”global” />
    <?php
    echo ‘<meta name=”robots” content=”index,follow” />’;

    ?>
    <meta name=”language” content=”en, sv” />

    <title><?php if (is_home()) {bloginfo(‘name’) ;} else { wp_title(‘ ‘);} ?></title>
    <meta name=”generator” content=”WordPress <?php bloginfo(‘version’); ?>” />
    <!– leave this for stats please –>

    <link rel=”Shortcut Icon” href=”<?php echo get_settings(‘home’); ?>/wp-content/themes/blue-zinfandel-3column/images/favicon.ico” type=”image/x-icon” />
    <link rel=”alternate” type=”application/rss+xml” title=”RSS 2.0″ href=”<?php bloginfo(‘rss2_url’); ?>” />
    <link rel=”alternate” type=”text/xml” title=”RSS .92″ href=”<?php bloginfo(‘rss_url’); ?>” />
    <link rel=”alternate” type=”application/atom+xml” title=”Atom 0.3″ href=”<?php bloginfo(‘atom_url’); ?>” />
    <link rel=”pingback” href=”<?php bloginfo(‘pingback_url’); ?>” />
    <?php wp_get_archives(‘type=monthly&format=link’); ?>
    <?php wp_head(); ?>
    <style type=”text/css” media=”screen”>
    <!– @import url( <?php bloginfo(‘stylesheet_url’); ?> ); –>
    </style>
    </head>

    <body>

    <div id=”header”>
    <?php
    if(is_single() || is_page() || is_archive()){
    ?>
    /”><?php bloginfo(‘name’); ?>
    <?php
    } else
    { ?><h1>“><?php bloginfo(‘name’); ?></h1>
    <?php } ?>
    <?php bloginfo(‘description’); ?>
    </div>

    <div id=”navbar”>

    • “>Home
    • <?php wp_list_pages(‘title_li=&depth=1’); ?>

    </div>

    <div id=”wrap”>

    Sidebar.php

    <!– begin l_sidebar –>

    <div id=”l_sidebar”>
    <ul id=”l_sidebarwidgeted”>
    <?php if ( function_exists(‘dynamic_sidebar’) && dynamic_sidebar(1) ) : else : ?>

    <li id=”Recent”>
    <div class=”sidebar_header”>Recently Written</div>

      <?php get_archives(‘postbypost’, 10); ?>

    <li id=”Categories”>
    <div class=”sidebar_header”>Categories</div>

      <?php wp_list_cats(‘sort_column=name’); ?>

    <li id=”Archives”>
    <div class=”sidebar_header”>Archives</div>

      <?php wp_get_archives(‘type=monthly’); ?>

    <li id=”Admin”>
    <div class=”sidebar_header”>Admin</div>

      <?php wp_register(); ?>

    • <?php wp_loginout(); ?>
    • WordPress
    • <?php wp_meta(); ?>

    • XHTML

    <li id=”Search”>
    <div class=”sidebar_header”>Search</div>
    <form id=”searchform” method=”get” action=”<?php echo $_SERVER[‘PHP_SELF’]; ?>”>
    <input type=”text” name=”s” id=”s” size=”30″ value=”search this site…”/></form>

    <?php endif; ?>

    <img src=”https://www.undergroundtraininglab.com/images/utl_120x60_mmm.jpg&#8221; border=”0″ />
    </div>

    <!– end l_sidebar –>

    Thread Starter adamhakes

    (@adamhakes)

    Thankyou kindly, and apologies for the cross posting – am only new to the posting scene, but yes, can imagine that it could get a little annoying… Sorry…

    Kind regards

    Adam

Viewing 2 replies - 1 through 2 (of 2 total)