• I have been toying with trying to remove the default home page from the Greyzed theme. So far I have gone into the settings > reading and selected the “static page” option. I created my own page that will be the “About Me” section and named it Home. I also created a “Blog” page so that all the posts will show up there.

    However the default Home page would still appear in the top nav as the first in the list. The only thing I’ve been able to find in code is this under the header.php from the theme:

    <div id="page">
    	<div id="nav">
    
      		<ul>
    		<?php wp_list_pages('sort_column=post_date&depth=1&title_li='); ?>
      		</ul>
    
      		<ul>
    			<li><a <?php if (is_home()) { echo "class=\"selected\""; } ?> href="<?php echo get_option('home'); ?>/"></a></li>
      		<ul>
    	</div>

    I swapped the two ul so the pages appears before the home button. And I deleted the Home text so now that button just appears as blank. However now when I select the page that I set to be my Blog, where the original Home button would be still highlights along with the Blog page.

    Removing that line of code completely causes a formatting issue and still won’t remove the original home button completely.

    Any ideas?

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘[Theme: Greyzed] Remove Default Home Page’ is closed to new replies.