Change url of "Home" link (5 posts)

  1. visionquest
    Posted 8 years ago #

    Hi I have a template that has a link in the header that says "Home" and points to the blog homepage. I want to the homepage link to point to another url instead. I am guessing the code to change is in header file, I just don't know what to change. Can I get some help??

    relevant code below

    <link rel="Shortcut Icon" href="<?php echo get_settings('home'); ?>/wp-content/themes/vertigo-electrified/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'); ?> ); -->


    <div id="navbar">

    <div id="navbarleft" onclick="location.href='<?php echo get_settings('home'); ?>';" style="cursor: pointer;">

    <div id="navbarright">

    • ">Home
    • <?php wp_list_pages('title_li=&depth=1'); ?>



  2. Root
    Posted 8 years ago #

    This may not be a good idea.

  3. visionquest
    Posted 8 years ago #

    This blog wont have much content. I'm thinking the url change is just a cosmetic redirection.

  4. Samuel B
    Posted 8 years ago #

  5. visionquest
    Posted 8 years ago #

    Thanks I got it going :)

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.