NattyWP - Community Forum
Welcome, Guest. Please login or register.
NattyWP Community « Configuration and Development « Newsday Theme « How to remove the "blog" page on header
Pages: [1]   Go Down
  Print  
Author Topic: How to remove the "blog" page on header  (Read 1819 times)
webfor
Newbie
*
Karma: 0
Posts: 2
View Profile

Hi all,

I installed this theme at www.guptorino.it

How could I remove che "Blog" page that you can see at the top, just near "Home"?
This page is not listed anywhere... and it seems to be a copy of the home page.

Thanks in advance and regards,

F.
Logged
Dmitry A
NattyWP Team

Sr. Member
*****
Karma: 101
Posts: 243
View Profile

Hello. you can open header.php and remove this line:

Code:
<li <?php if ( is_category() || is_search() || is_single() || is_tag() || is_search() || is_archive() ) { ?> class="current_page_item"<?php ?>><a href="<?php echo get_settings('t_blog_page'); ?>"><span>Blog</span></a></li>
Logged

webfor
Newbie
*
Karma: 0
Posts: 2
View Profile

Hi!

Thanks for your answer! I did not fild the code line you suggested to remove.
This is my header.php


<head profile="http://gmpg.org/xfn/11">
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />

<title><?php wp_title('&laquo;', true, 'right'); ?> <?php bloginfo('name'); ?></title>

<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />

<style type="text/css" media="screen">

<?php
// Checks to see whether it needs a sidebar or not
if ( empty($withcomments) && !is_single() ) {
?>
   #page { background: url("<?php bloginfo('stylesheet_directory'); ?>/images/kubrickbg-<?php bloginfo('text_direction'); ?>.jpg") repeat-y top; border: none; }
<?php } else { // No sidebar ?>
   #page { background: url("<?php bloginfo('stylesheet_directory'); ?>/images/kubrickbgwide.jpg") repeat-y top; border: none; }
<?php } ?>

</style>

<?php if ( is_singular() ) wp_enqueue_script( 'comment-reply' ); ?>

<?php wp_head(); ?>
</head>
<body <?php body_class(); ?>>
<div id="page">


<div id="header" role="banner">
   <div id="headerimg">
      <h1><a href="<?php echo get_option('home'); ?>/"><?php bloginfo('name'); ?></a></h1>
      <div class="description"><?php bloginfo('description'); ?></div>
   </div>
</div>
<hr />


What should I remove?

Thanks again!
Logged
Dmitry A
NattyWP Team

Sr. Member
*****
Karma: 101
Posts: 243
View Profile

Hello,
this is not a NattyWP theme
Logged

Pages: [1]   Go Up
  Print  
 
Jump to: