• I have a website with a static front page. I wanted to add a page at the end on which to put posts, which I’ve called blog. I have set the page for posts as “blog” under Reading/Settings. I managed to add a post to the “blog” page, but a link to the post (including the first few words…)appeared at the top of my homepage with a large snowflake icon above it. I have searched in vain through the forum for a way to get rid of this, but I cannot find one. There’s no “showcase theme ” option on this theme, so I don’t have that selected (I’ve seen this may be an issue in other similar posts). I have put the post into a category called “blog” as I thought I could then exclude certain categories from my homepage, but that hasn’t worked as I don’t know how to do that, and I tried downloading two plugins that were meant to help but neither worked. I’m not a coder and I could alter small snippets of code if someone tells me exactly what to do, but am novice… please help. I don’t want any preview of the posts to appear on my homepage ata ll. Thanks in advance.

Viewing 9 replies - 1 through 9 (of 9 total)
  • You should have two separate pages – one for your home page and another for your blog. In Pages > All Pages make sure you have at least two separate pages for those purposes.

    In the Settings > Reading page, select the “A static page” option where it says “Front page displays”. Next, in the Front Page drop down, select the page you created for your home page. On Posts Page drop down, select the page you created for your blog.

    Save changes, and then check your home page again. All of your blog posts should be on the page you created for your blog.

    Also, the “blog” category as you indicated shouldn’t matter, so you can either remove that category or rename it to something else.

    Thread Starter helenblueriver

    (@helenblueriver)

    Hi Scott

    Thanks for answering. I’d already done what you have suggested when I asked this question, but the problem is a preview of the post is still showing on the static front page… that was the issue described above. The category the post is in is irrelevant at the moment as I haven’t done anything but put my one post in a category..I have the page with the blog on it set to “posts page”. I just mentioned the category thing because it seemed like other similar problems posted on this forum suggested eliminating specific categories from the front page. I need to to get the blog post preview off the front static page. I’ve got no idea why it’s appearing there when the pages are set up to static front and posts page selected for the blog. ??

    I’m not familiar with the theme you’re using, but check the “home” page’s Template (on the page edit screen view the Page Attributes box Template drop down.
    Make sure it isn’t set to something like Blog template.

    Thread Starter helenblueriver

    (@helenblueriver)

    Hi. No it isn’t. I only have two options, default tempate and full width template. The full width one basically puts the content text across the whole page and means you can’t use the sidebars. The default one is the same on other pages and they aren’t showing the preview. Am stumped. ??

    I just installed the theme on a demo site, and it doesn’t seem like they give an option to remove the blog posts from the home page. Your options seem to be either (a) contact the theme developer to see if they have a solution (although their free support appears to be limited), (b) modify the theme files to remove that area from the page, or (c) use a different theme. If you choose option (b), be sure to use a child theme so you don’t lose any of your changes if/when the parent theme is updated.

    Thread Starter helenblueriver

    (@helenblueriver)

    Well this is the point. I don’t know what part of the coding to alter. I have tried a few things by searching for the words blog and posts in header file and css file and have tried commenting out sections that look likely but the truth is I don’t really know what I’m doing and it hasn’t made a difference. I don’t really want to use a different theme as I’m very happy with the way my site looks. Do you know anything about coding or can anyone else tell me what to code in and where? Many thanks for your input. Helen

    Here’s a few places to set you in the right direction:

    Child Themes

    When you create a child theme of the existing theme, you’re basically using everything from the existing (parent) theme except for what you tell the theme to override in the child theme.

    In your case, I would copy the front-page.php file to your child theme, and change this:

    <?php if ( 'posts' == get_option( 'show_on_front' ) ) : get_template_part( 'fp-blog' );
    else: get_template_part( 'featured-box' ); get_template_part( 'fcontent' );
    endif;

    To this:

    <?php
    get_template_part( 'fcontent' );

    I think that should do what you’re hoping to accomplish.

    Thread Starter helenblueriver

    (@helenblueriver)

    `Thanks very much Scott. I will let you know how I get on!

    Thread Starter helenblueriver

    (@helenblueriver)

    Hi. this seems to have worked. Thank you so much! ??

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Post on front page Snowfall theme’ is closed to new replies.