WordPress.org

Forums

How to remove home page link at home page (7 posts)

  1. ketanco
    Member
    Posted 5 years ago #

    Hello,
    The theme I have is redtime and the site is http://www.robothaber.com

    1-How can I remove the home page link at the home page at the very top? Which folder, which file?
    2-How can I change the bird picture with something I like? And also how can I link it to some page I like? Again which folder, which file?

  2. Rev. Voodoo
    Volunteer Moderator
    Posted 5 years ago #

    2. The bird is in your themes images folder, its called button_twitter.png

    You can link it here

    <div id="board_twitter">
    		<p><a href="#"><img src="<?php bloginfo('template_url'); ?>/images/button_twitter.png" alt="" /></a></p>
    	</div>

    that is found in your header.php (most likely) or index.php I believe (in your theme-the code may look slightly different, I'm guessing from what I can see of your code)

    to link it, just change that # to whatever web address you want the pic linked to

    You can either make a new pic, name it the same thing, and put it in your images folder (deleting the old pic), or name it something different and adjust the code I pasted above.

  3. Rev. Voodoo
    Volunteer Moderator
    Posted 5 years ago #

    to get rid of the home link, you have to go into your header.php file and look for this to start:
    <div id="mainmenu">
    after that will be <ul>
    then some list items <li>
    delete the first list item (the word home will be in the line of code), delete the whole line of code including the tags...
    it'll look something like this (it may be a bit different, but similar)
    <li><a href="<?php bloginfo('url'); ?>">Home</a></li>

    as always, make backups of anything you plan to work on before you start, that way if something goes wrong, you can restore your site to original and try again

  4. Shane G.
    Member
    Posted 5 years ago #

    Hi,

    You need to edit the header.php file of your theme and remove this code:

    <li><a href="”……">Home (Page?)</a></li>

    It will remove the default home page link from the navigation window.

    Thanks,

    Shane G.

  5. ketanco
    Member
    Posted 5 years ago #


  6. ketanco
    Member
    Posted 5 years ago #

    ok for the home page, I did what you said and it is resolved.

    For the twitter picture I also changed the picture with what I wanted.

    However for the link,

    The code is like this when I looked at the header file:

    <div id="board_twitter">
    
    <p> <a href=" <?php echo theme_twitter_link_show(); ?>"><img src="<?php bloginfo('template_url')?>/images/genel_siyah.jpg" alt="" /></p>
    
    </div>

    the question is, I could not find the theme_twitter_link_show() function anywhere, even in the functions file or header file of index file thus can not modify the # link.

    By the way, just for my learning, how were you able to see the source code like you wrote above? All I could see was the code below, when I right clicked to see source code:

    <div id="board_twitter">

    <p><img src="http://www.robothaber.com/wp-content/themes/redtime/images/genel_siyah.jpg" alt="" /></p>
    </div>

  7. AthensWebStudio
    Member
    Posted 4 years ago #

    I can't access the 'redtime options' after updating to WordPress 3.0. I loved the ability to uncheck pages I didn't want to appear in the menu. Any ideas on how/when this will be fixed?

Topic Closed

This topic has been closed to new replies.

About this Topic