Mixfolio theme, posts on static pages

  • Unknown's avatar

    Hello, I have the Mixfolio theme. I wanted to use have a posts page for my blog entries and a static page with the secondary menu, but I understand I can only have the secondary menu with a non-static page.

    I will have two sticky posts and one blog post (my latest entry) on the homepage. My question is, how can I create a page on the main menu that contains all of my blog posts in one go?

    Thanks.

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar

    To clarify, I would like my blog post to appear in two places — on the main home page (or in the older posts section) and also on a “blogs” page that I created in the main menu. Thanks.

  • Unknown's avatar

    Hi there, I think I have a couple of options for you. The first one would be to use the display posts shortcode on a page you publish. With CSS, things can be styled to look similar to a normal blog page, but there is a display limit of 100 posts, so if you had over 100 posts, only the first 100 would display. Second issue is that with the display shortcode, there would be no next/previous navigation at the bottom of the page to get to the additional posts. You can create a page and paste the following into the “text” tab in the page editor and then preview it.
    [display-posts image_size="thumbnail" include_excerpt="true" posts_per_page="10" wrapper="div" include_date="true"]
    Also, pop the following CSS into your Custom CSS, which contains a bit of styling to make the displayed posts look more like normal blog posts.

    .display-posts-listing span.excerpt {
        display: block;
        margin-top: 10px;
        margin-bottom: 40px;
    }
    .display-posts-listing .listing-item .title {
        font-size: 170%;
    }
    .display-posts-listing .excerpt-dash {
        display: none;
    }
    .listing-item .date {
    	display: block;
    	margin-top: 10px;
    }

    The second option, and this would probably by my recommendation, would be to create a category called something like “Blog” and then assign that to all posts. Then you can put that category page into your navigation using a Custom Menu.

  • The topic ‘Mixfolio theme, posts on static pages’ is closed to new replies.