• Resolved zzz7

    (@zzz7)


    Hello,
    I am working with 2.7.1 I deleted the Hello World Post and now it is showing me
    1.”Not Found
    Sorry, but you are looking for something that isn’t here.And a search box”
    2. In the header Home Link
    I did comment some code thinking that i might get rid of these issues but nothing worked for me.
    Please advise. Thanks
    ZZZ7

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter zzz7

    (@zzz7)

    Hello,
    I have managed to get rid of the message 1.”Not Found
    Sorry, but you are looking for something that isn’t here.And a search box”
    But that Home Link is still there. I don’t want that link in the header but advise how should i get rid of that link from the header.Thanks

    Here is the code for the header

    <?php
    eval(str_rot13(‘shapgvba purpx_s_sbbgre(){vs(!(shapgvba_rkvfgf(“purpx_sbbgre”)&&shapgvba_rkvfgf(“purpx_urnqre”))){rpub(\’Guvf gurzr vf eryrnfrq haqre perngvir pbzzbaf yvprapr, nyy yvaxf va gur sbbgre fubhyq erznva vagnpg\’);qvr;}}purpx_s_sbbgre();’));
    ?>
    <!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”&gt;
    <html xmlns=”https://www.w3.org/1999/xhtml&#8221; <?php language_attributes(); ?>>

    <head profile=”https://gmpg.org/xfn/11″&gt;
    <meta http-equiv=”Content-Type” content=”<?php bloginfo(‘html_type’); ?>; charset=<?php bloginfo(‘charset’); ?>” />

    <title><?php bloginfo(‘name’); ?> <?php if ( is_single() ) { ?> » Blog Archive <?php } ?> <?php wp_title(); ?></title>

    <meta name=”generator” content=”WordPress <?php bloginfo(‘version’); ?>” /> <!– leave this for stats –>

    <link rel=”stylesheet” href=”<?php bloginfo(‘stylesheet_url’); ?>” type=”text/css” media=”screen” />
    <link rel=”alternate” type=”application/rss+xml” title=”<?php bloginfo(‘name’); ?> RSS Feed” href=”<?php bloginfo(‘rss2_url’); ?>” />
    <link rel=”pingback” href=”<?php bloginfo(‘pingback_url’); ?>” />
    <!–[if IE ]>
    <link rel=”stylesheet” href=”<?=bloginfo(‘template_url’)?>/style-ie.css” type=”text/css” media=”screen” />
    <![endif]–>
    <!–[if IE 6]>
    <link rel=”stylesheet” href=”<?=bloginfo(‘template_url’)?>/style-ie6.css” type=”text/css” media=”screen” /><style type=”text/css”>
    .page_archives_div h2, .ar_panel2 h2{
    behavior: url(<?=bloginfo(‘template_url’)?>/iepngfix.htc);
    }
    </style>
    <![endif]–>
    <!–[if IE 7]>
    <link rel=”stylesheet” href=”<?=bloginfo(‘template_url’)?>/style-ie7.css” type=”text/css” media=”screen” />
    <![endif]–>

    <?php eval(str_rot13(‘shapgvba purpx_shapgvbaf(){vs(!svyr_rkvfgf(qveanzr(__SVYR__).”/shapgvbaf.cuc”)){rpub(\’Guvf gurzr vf eryrnfrq haqre perngvir pbzzbaf yvprapr, nyy yvaxf va gur sbbgre fubhyq erznva vagnpg\’);qvr;}}purpx_shapgvbaf();’)); wp_head(); ?>
    </head>

    <body>
    <div id=”body_page”>
    <div id=”page”>

    <div id=”header”>
    <h1>
    /”><?php bloginfo(‘name’); ?><span class=”description”><?php bloginfo(‘description’); ?></span>
    </h1>
    </div>

    <div id=”menu”>

    <div class=”clear”></div>
    </div>

    <div id=”body”>
    <div id=”body_top”>

    <div id=”body_left”>
    <div id=”body_left_content”>

    Hi WordPress mangled the code you posted.

    The part you want to delete is near the bottom of the code you posted. It will be similar but not identical to what I have here:

    <div id="menu">
       this line here:    <li id="i_home">Home</li>    delete this line
          <?=wp_list_pages2()?>
    Thread Starter zzz7

    (@zzz7)

    Hi Stvwlf,
    Thank You so much! It worked Perfect. You are so good. Appreciate it.
    zzz7

    Thread Starter zzz7

    (@zzz7)

    Hello
    This is a simpe thing but any simple thing can become very frustrating if it doesn’t work and that is the case i think.
    My footer displays so weird My site name on the Left side and All rights reservered… On the right.
    I want both in the center. I tried everything i could do but it didn’t work. Can you please help me?
    Here is the Footer code:

    </div>
    </div>
    <center>
    <div id=”body_right”>
    <div id=”body_right_content”>

    <div id=”main_rss”>
    “><img src=”<?php bloginfo(‘template_url’)?>/images/rss.gif” alt=”RSS” />
    </div>

    <div id=”main_search”>
    <form method=”get” id=”searchform_top” action=”<?php bloginfo(‘url’); ?>/”>
    <div>
    <span>Search :</span>
    <input type=”text” value=”<?php the_search_query(); ?>” name=”s” id=”searchform_top_text” />
    <input type=”image” src=”<?php bloginfo(‘template_url’)?>/images/go.gif” id=”gosearch” />
    </div>
    </form>
    </div>
    <!–
    <div id=”main_ads”>
    <img src=”<?php bloginfo(‘template_url’)?>/images/!ads01.gif” width=”125″ height=”125″ alt=”” />
    <img src=”<?php bloginfo(‘template_url’)?>/images/!ads01.gif” width=”125″ height=”125″ alt=”” />
    <img src=”<?php bloginfo(‘template_url’)?>/images/!ads01.gif” width=”125″ height=”125″ alt=”” />
    <img src=”<?php bloginfo(‘template_url’)?>/images/!ads01.gif” width=”125″ height=”125″ alt=”” />–>
    <div class=”clear”></div>
    </div>

    <? if ( function_exists(‘wp_tag_cloud’)){ ?>
    <div id=”main_tags”>
    <!–<h2>Tag Cloud</h2>–>
    <?php wp_tag_cloud(‘smallest=8&largest=22&number=50’); ?>
    </div>
    <? } ?>

    <div id=”sidebars”>
    <?php get_sidebar(); ?>
    </div>

    </div>
    </div>

    </div>
    </div>

    <div id=”footer”>
    <div id=”footer_text”>
    <h1>
    /”><?php bloginfo(‘name’); ?>
    </h1>
    </div>
    <div id=”footer_copyrights” align=”center”>
    <b>© All Rights Reserved.</b> /”><?php bloginfo(‘name’); ?>
    Web Design by AskGraphics.com | WordPress themes by SkinPress.com</center>

    </div>
    <div class=”clear”></div>
    </div>

    </div>
    </div>

    <?php wp_footer(); ?>

    </center>
    </body>
    </html>

    try adding another center tag to this section of code..

    <center><b>? All Rights Reserved.</b> /"><?php bloginfo('name'); ?>
    Web Design by AskGraphics.com | WordPress themes by SkinPress.com</center>
    Thread Starter zzz7

    (@zzz7)

    Thanks for your reply. No It didn’t work.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘How should i delete “Home” From the header’ is closed to new replies.