• I have my homepage looking exactly as I want it to look. The URL is upon3thing.templeshalom.org. I really like my slideshow at the top and the three links/pics at the bottom. I want the blog to be a totally separate page. Please can someone tell me how to do this?

    I tried to make the front page a static page but it wiped out all of my stuff on the homepage and I’m not sure if I am doing it wrong or missing a step.

    Thanks, in advance for your help!

Viewing 6 replies - 1 through 6 (of 6 total)
  • upon3thing.templeshalom.org is giving me a 404 error. Is that the right URL?

    Here’s a couple of functions with their respective hooks that achieve what you need. Don’t forget to replace your-page-slug-or-id with the actual slug or id of the page that you want your blog posts displayed on. Replace it in both functions.

    This code should go in functions.php of your child theme:

    add_action('__before_loop', 'replace_page_query_with_blog');
    function replace_page_query_with_blog() {
    	if (is_page('your-page-slug-or-id') && is_main_query() && !is_admin()) {
    		query_posts('post_type=post&paged='. get_query_var('paged'));
    	}
    }
    add_action('__after_loop', 'reset_my_custom_query');
    function reset_my_custom_query() {
    	if (is_page('your-page-slug-or-id') && is_main_query() && !is_admin()) {
    		wp_reset_query();
    	}
    }

    Cathy

    (@cathy-dentz)

    You can add the “Category” blog to your menu…see You Tube video by Katrina on using the Customizr theme (77webstudio.com)

    Thread Starter temshalom

    (@temshalom)

    Andy, no, it is upon3things.templeshalom.org. thank you!!!

    Thread Starter temshalom

    (@temshalom)

    Acub, Im sorry but I don’t know what a child theme is. Please can you help some more. Im so confused!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘How do I make a blog page in Customizr without making my homepage a blogpage?’ is closed to new replies.