You must be logged in to post
Search Forums:


 






Wildcard Usage:
*    matches any number of characters
%    matches exactly one character

Static page for home and featured area disappeared

UserPost

1:54 pm
August 19, 2009


biztips

New Member

posts 2

1

Just discovered this theme, seems pretty cool and am playing around with it.

http://homeimprovementcolumbiamo.com/

How do I make it so that there's static CONTENT – not a blog post – on the home page?

And the featured area below the header has disappeared from the home page – I turned it off, no luck when I tried to turn it back on again.  So reset the theme to its default settings and it wasn't there either.  Right now it's set to display on ALL home, posts and pages, does display on pages but not home – which is where I mostly want it!

Diana

2:29 pm
August 19, 2009


Ryan

Admin

posts 1252

2

You specify a static home page in WP, not the theme.

There's an issue with using a static home page and the feature area.  You can modify the index.php file to show the feature on all pages by changing this:

 <?php if ($flex_feat_display == "no") { ?>
       <?php } else { ?>
       <?php if ( is_front_page())  { ?>
            <div id="feature"><div class="topshadow">
            <?php if ( function_exists('dynamic_sidebar') && dynamic_sidebar('Feature_top') ) : else : ?>
               <?php include (TEMPLATEPATH . '/feature.php'); ?>   
            <?php endif; ?><div style="clear:both;"></div>
    </div></div>
       <?php } else { ?>
    <?php } ?>
    <?php } ?>

To this:

 
            <div id="feature"><div class="topshadow">
            <?php if ( function_exists('dynamic_sidebar') && dynamic_sidebar('Feature_top') ) : else : ?>
               <?php include (TEMPLATEPATH . '/feature.php'); ?>   
            <?php endif; ?><div style="clear:both;"></div>
    </div></div>

11:16 am
August 20, 2009


biztips

New Member

posts 2

3

That's helpful – but am still not sure how to have a static "home" page; under Reading>Settings if you select a static page as your Home page, you're duplicating content. 

For example, right now I have the "Home Improvement Services" page chosen to display as my Home page.  But then I have the same content on THAT page and my HOME page.

How do I add a new page, use it as my static Home page, but not have it also show up separately in the nav bar?

3:03 pm
August 21, 2009


Ryan

Admin

posts 1252

4

You could use a "exclude pages" plugin to remove it from your nav bar, then use a no-index plugin to no-index the duplicate page.