Forums

Link "Blog Title/Name" to another page rather than homepage (10 posts)

  1. mek32390
    Member
    Posted 2 years ago #

    WordPress 2.9.1
    Theme: Urban Artist by Themelab
    Website: http://www.remix-nation.com

    <!--header -->
    <div id="header">

    <h1 id="logo-text">/" title="<?php bloginfo('name'); ?> Homepage"><?php bloginfo('name'); ?></h1>
    <p id="intro">
    <?php bloginfo('description'); ?>
    </p>

    <div id="nav">

      <li<?php if ( is_home() or is_archive() or is_single() or is_paged() or is_search() or (function_exists('is_tag') and is_tag()) ) { echo ' class="current_page_item"'; } ?>>"><span>Home</span>
      <?php wp_list_pages('title_li=&depth=1'); ?>

    </div>

    <!--header ends-->

    I am trying to make the title of my blog "The Nation", link to any other page of my site, such as above, where I tried to link the TITLE LOGO TEXT (THE NATION), to another page on my blog, and I created a page titled "Blog" rather than linking back to the homepage. I will then set my homepage to a static page, and my "posts page", will be my newly linked page.

    Specifically, I am trying to get my homepage to be http://remix-nation.com/remix/house-playlist/, but it should just say http://www.remix-nation.com, and I am trying to get it so when you click THE NATION, in the header, it will take you to MY BLOG PAGE. Right now THE NATION, in the header, and the home page are set to the same destination, but if its possible to change this, it would be a huge help.

    Thanks in advance, I really do appreciate the help

  2. esmi
    Theme Diva & Forum Moderator
    Posted 2 years ago #

    You can't redirect http://remix-nation.com/remix/house-playlist/ to http://www.remix-nation.com/ by just changing the link on the blog title.

  3. Jonas Grumby
    Member
    Posted 2 years ago #

    I don't know if I understand what you are saying, but from the admin menu in Settings > Reading you can set your home page and your main blog page to be any pages you want them to be. Why not just choose your House Playlist page as Home there?

  4. mek32390
    Member
    Posted 2 years ago #

    Sorry for not clearing things up, but I think this will help. The reason I wanted the "Title" link in the header, to be directed to my blog page, is because I need the blog page to be accessed, one way or another, by clicking somewhere in the header, not where the regular pages are on the top navbar, or in my sidebar. Therefore, I figured making the "Title" link in the header, which is automatically present, and could be linked to another page, where my blog would be located. If its easier, I just want something in the header, that can be clicked, which will link to my "blog page". If its a picture in the header thats linked, or if it has to be the entire header (linked), I would do that as well.

    When visitors arrive at my site, I want them to see the house playlist page, but be able to easily click on the header, in order to access the blog.

    I really hope this helps, and thanks for taking the time to help me out.

  5. esmi
    Theme Diva & Forum Moderator
    Posted 2 years ago #

    What's the current url of your blog page?

  6. mek32390
    Member
    Posted 2 years ago #

    right now, my homepage, http://www.remix-nation.com, is where my latest blog posts are displayed. I can change that if I need to create a new page "Blog", where my blog will be, and then have a static page, (House Playlist), as my home page. This is the url of the blog page I just created: http://remix-nation.com/blog-3/

  7. esmi
    Theme Diva & Forum Moderator
    Posted 2 years ago #

    Try that first and then edit your theme's header.php file and try changing:

    <h1 id="logo-text"><a title="<?php bloginfo('name');?> Homepage" href="<?php bloginfo('url');?>"><?php bloginfo('name');?></a></h1>

    to

    <h1 id="logo-text"><a title="<?php bloginfo('name');?> Homepage" href="<?php bloginfo('url');?>/blog-3/"><?php bloginfo('name');?></a></h1>

  8. mek32390
    Member
    Posted 2 years ago #

    Unfortunately, that didn't work, but I thought that it would. I'm wondering if there's a problem with my header in general, like it cant be edited, or something. I have replaced the header.php file numerous times by using an FTP program called cyberduck, and have changed it back to the original each time, and it doesn't seem to help. For example, if I insert a random picture, in the header.php, just to test to see if it saves, my site doesn't seem to publish the changes I make in the header.php. I can essentially delete the entire content of header.php, within wordpress, click update, and my header will still be exactly the same.

  9. esmi
    Theme Diva & Forum Moderator
    Posted 2 years ago #

    Are you sure you're editing the right theme?

  10. mek32390
    Member
    Posted 2 years ago #

    Yes, I am editing my urban artist theme

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags