+ Reply to Thread
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 17

Thread: Static Home Page?

  1. #1

    Default Static Home Page?

    I found this cool iteration of the cutline http://kohayoga.org/

    I was curious to know if one can elude to how they made the home page static and repositioned the blog to a secondary page..

    If this is a question for the general wordpress forums, I apologize profusely.

    Many thanks!
    Aaron

    [URL="http://www.internetce.com"]Insurance Continuing Education[/URL]

    [URL="http://blog.internetce.com"]Tools For Sales Professionals Blog[/URL]

  2. #2

    Cool

    I was lazy and I'm sorry. I found this on the wordpress site....I'll retunr with th erest of the mods to get rid of any widgets, etc on everything except the blog when i figure it out

    http://codex.wordpress.org/Creating_a_Static_Front_Page
    Aaron

    [URL="http://www.internetce.com"]Insurance Continuing Education[/URL]

    [URL="http://blog.internetce.com"]Tools For Sales Professionals Blog[/URL]

  3. #3
    Join Date
    Feb 2009
    Posts
    605

    Default

    Looking at the WordPress help site first is always a good idea.

  4. #4
    Join Date
    Aug 2009
    Posts
    4

    Red face Moving Subscribe/RSS button from header to sidebar?

    I'm still nervous about mucking around with the php files and don't want to completely screw up anything. Is there a simple way to move the code that allows people to subscribe to my blog out of the header area and down to the sidebar where I have links to stuff like Facebook and Twitter?

    here's what I'm talking about: http://housewifehacks.com

    Thanks so much!

  5. #5
    Join Date
    Feb 2009
    Posts
    605

    Default

    It looks like you already have your blog subscription link in your sidebar and out of the header. Did you need to fix anything else?



    Quote Originally Posted by amyindm View Post
    I'm still nervous about mucking around with the php files and don't want to completely screw up anything. Is there a simple way to move the code that allows people to subscribe to my blog out of the header area and down to the sidebar where I have links to stuff like Facebook and Twitter?

    here's what I'm talking about: http://housewifehacks.com

    Thanks so much!

  6. #6

    Default Removing the sidebar?

    So I figured out how to make the home page static and I have it working as I like.

    Now I just need to get rid of the sidebar placeholders for the "pages". I didnt see any "get sidebar" action in the page template file and am not sure where to go next. I thought about making a new page template file but wasnt sure if that would be the best route.

    Any ideas?
    Aaron

    [URL="http://www.internetce.com"]Insurance Continuing Education[/URL]

    [URL="http://blog.internetce.com"]Tools For Sales Professionals Blog[/URL]

  7. #7
    Join Date
    Feb 2009
    Posts
    605

    Default

    What do you mean by sidebar placeholders? And did you mean you wanted to not show the sidebar column?

    Here's the page.php file:

    PHP Code:
    <?php get_header(); ?>

        <div id="content_box">
        
            <div id="content" class="pages">

                <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
                
                <div id="post-<?php the_ID(); ?><?php post_class(); ?>>
                    <h2><?php the_title(); ?></h2>    
                    <div class="entry">        
                        <?php the_content('<p>Read the rest of this page &rarr;</p>'); ?>
                        <?php link_pages('<p><strong>Pages:</strong> ''</p>''number'); ?>
                    </div>
                    <?php if ('open' == $post-> comment_status) { ?>
                    <p class="tagged"><a href="<?php the_permalink() ?>#comments"><?php comments_number('No Comments''1 Comment''% Comments'); ?></a></p>
                    <div class="clear"></div>
                    <?php } else { ?>
                    <div class="clear rule"></div>
                    <?php ?>
                </div>
                
                <?php endwhile; endif; ?>
                
                <?php if ('open' == $post-> comment_status) { comments_template(); } ?>

            </div>

            <?php get_sidebar(); ?>

        </div>

    <?php get_footer(); ?>
    Just take out <?php get_sidebar(); ?>, save the file as a page template, edit the width of the main column, and you should be all set.




    Quote Originally Posted by adell50 View Post
    So I figured out how to make the home page static and I have it working as I like.

    Now I just need to get rid of the sidebar placeholders for the "pages". I didnt see any "get sidebar" action in the page template file and am not sure where to go next. I thought about making a new page template file but wasnt sure if that would be the best route.

    Any ideas?

  8. #8

    Default

    genius, i tell you! genius!!

    thanks for your help!!
    Aaron

    [URL="http://www.internetce.com"]Insurance Continuing Education[/URL]

    [URL="http://blog.internetce.com"]Tools For Sales Professionals Blog[/URL]

  9. #9

    Default Static Front Page Hiding?

    I'm not worth, or I'm missing something fundimental, which I willfully accept:

    on my site: http://www.peterhollander.com

    I've implimented all this:

    http://codex.wordpress.org/Creating_a_Static_Front_Page

    With the setting of the Static Button, etc. to Home and Blog

    But I now have across the top : FRONT PAGE HOME BLOG REEL PORTFOLIO

    How do I get HOME to meld into FRONT PAGE?

    Also, if I preview the HOME page in the edit page function, I see the test type I inserted in there as a place holder, but it's not what shows up in the published HOME page?

    Once this problem is solved, is this what I use to safely get rid of the side widgets?:

    <?php

    add_filter( 'sidebars_widgets', 'disable_all_widgets' );

    function disable_all_widgets( $sidebars_widgets ) {

    if ( is_home() )
    $sidebars_widgets = array( false );

    return $sidebars_widgets;
    }

    ?>

    All the best--
    ______________________________
    peter hollander... edit | shoot | motion

    917-686-3960
    New York ('nü yôrk), NY

    [email]phollander@mac.com[/email]
    [url]http://www.peterhollander.com[/url]

  10. #10
    Join Date
    Feb 2009
    Posts
    605

    Default

    (1)

    You could edit the hardcoded link to the homepage in header.php by finding the line with "front page" in it and deleting it.

    I think you need to check what you want to do with your HOME page and your BLOG page. If you want a static page for your homepage it should be something other than BLOG, otherwise you shouldn't need to. Anyway, the only thing Cutline has to do with this is the way the links are displayed including the hardcoded "front page" link.



    (2)

    What do you mean get rid of widgets? No widgets will appear on your sidebar if you remove them in the Widgets panel in your admin. You don't need to add any code to the theme but I guess that code would work anyway.



    Quote Originally Posted by phollander View Post
    I'm not worth, or I'm missing something fundimental, which I willfully accept:

    on my site: http://www.peterhollander.com

    I've implimented all this:

    http://codex.wordpress.org/Creating_a_Static_Front_Page

    With the setting of the Static Button, etc. to Home and Blog

    But I now have across the top : FRONT PAGE HOME BLOG REEL PORTFOLIO

    How do I get HOME to meld into FRONT PAGE?

    Also, if I preview the HOME page in the edit page function, I see the test type I inserted in there as a place holder, but it's not what shows up in the published HOME page?

    Once this problem is solved, is this what I use to safely get rid of the side widgets?:

    <?php

    add_filter( 'sidebars_widgets', 'disable_all_widgets' );

    function disable_all_widgets( $sidebars_widgets ) {

    if ( is_home() )
    $sidebars_widgets = array( false );

    return $sidebars_widgets;
    }

    ?>

    All the best--

+ Reply to Thread

Similar Threads

  1. Title not showing on front static page
    By antorera in forum Bugs & Fixes
    Replies: 10
    Last Post: 02-01-2010, 12:40 PM
  2. side bars on home page messed up
    By johnhenderson in forum Sidebar
    Replies: 2
    Last Post: 11-02-2009, 04:29 AM
  3. How do I link to home page from masthead image
    By bergie812 in forum Header & Nav Bar
    Replies: 2
    Last Post: 08-19-2009, 01:35 PM
  4. Clickable Link on Home Page
    By rossgill in forum Community Exchange
    Replies: 1
    Last Post: 08-14-2009, 12:37 PM
  5. Template version on home page
    By Robert_R in forum Community Exchange
    Replies: 1
    Last Post: 05-30-2009, 06:53 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts