Forums

How to edit the HOME page link when using a static welcome page (6 posts)

  1. claytonboen
    Member
    Posted 6 months ago #

    Thanks for reading.

    I have created a static welcome page that greets every visitor to my blog (temp address is http://www.cataxrevolution.com). This seems to be working out well, however, there is a bug.

    Once the visitor has "entered" into the site, if they click on the "HOME" page, it takes them back out into the welcome screen. I need it to take them to the blog page instead, which would be http://www.cataxrevolution.com/DanWarp

    Can someone tell me how to make that change?

    Thanks!

  2. papaskin
    Member
    Posted 6 months ago #

    Check this out - I think it will give you the second step you are looking for - http://www.youtube.com/watch?v=IAi3ZM1h4SY

  3. claytonboen
    Member
    Posted 6 months ago #

    Thank you for suggesting the video, however it does not provide me with the instructions to do what I am asking. It provides me with the instructions to do what I have already done.

    If you visit the site, I already have my static front page. Then, the visitor clicks on the link to visit the blog. On the header I have a list of all my pages in the blog, the first being HOME. That home page link, when clicked, takes the visitor back to my static page. I want that link to take them to the blog page, not the front page.

    Any ideas?

  4. papaskin
    Member
    Posted 6 months ago #

    Only thing I can think of - and I'm not a coder anymore so make a backup first! ;)

    Go to whatever theme you're using - and edit the header.php file near the bottom - there's a code line for the links that looks like :

    code to come - having trouble figuring out how to paste it

  5. a href="<?php echo get_option('home'); ?>">Home
  6. Remember to add the < in front of the a just after the li - but anyhow - replace the php code with "http://www.cataxrevolution.com/DanWarp" and try it

    That 'might' work - I haven't tested, but just my first thought. You just have to remember it's theme independent.

    Before I edit stuff like that, I always make a copy of the original in case I fry something...then just swap the file...Curious if it works though! Since I can't get the backticks to work for posting code - if this doesn't make any sense - give me an email and I'll send you the exact code I was talking about

  • papaskin
    Member
    Posted 6 months ago #

    Just tested this theory and it works fine.

  • claytonboen
    Member
    Posted 6 months ago #

    Worked like a charm! Thank you so much!

  • Reply

    You must log in to post.

    About this Topic

    Tags