WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Flex Theme Code Troubles :( (4 posts)

  1. chinamash
    Member
    Posted 8 years ago #

    Hello - The link to "home" that's in the sidebar is broken and I'm having a rough go of fixing it. I've posted the code below..any help would really be appreciated! Thanks

  2. chinamash
    Member
    Posted 8 years ago #

    <!-- begin sidebar -->
    <div id="navcol">
    <h2>Navigate</h2>

    <h2><?php _e('Archives'); ?></h2>

      <?php wp_get_archives('type=monthly'); ?>

    <h2><?php _e('Categories'); ?></h2>

      <?php list_cats(0, '', 'name', 'asc', '', 1, 0, 1, 1, 1, 1, 0,'','','','','') ?>

    <ul id="linkslist">
    <?php wp_list_pages('title_li=<h2>' . __('Pages') . '</h2>' ); ?>
    <?php get_links_list(); ?>

    <?php
    if (function_exists('wp_theme_switcher')){
    echo "<h2>Themes</h2>";
    wp_theme_switcher('');
    }
    ?>
    <div id="searchdiv">
    <form id="searchform" method="get" action="">
    <input type="text" name="s" size="15"/>
    </form>
    </div>
    </div>
    <!-- end sidebar -->

    So that is the code for the sidebar...anyone per chance know what I'd need to change to make the link to home actually go to http://chinamash.com?

  3. yosemite
    Member
    Posted 8 years ago #

    Seems to be fine. Checked both the sidebar link and the header/title link...

  4. chinamash
    Member
    Posted 8 years ago #

    Thanks - I ended up just deleting the whole "Home" portion of the code and creating a different category to put the links in.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags