• hello

    maybe a silly question. i would like to have my blog appearing under a sticky post on the homepage. but i also want to have a separate blog (without then the sticky post)

    or otherwise: a static page with 1 post and underneath the blog roll

    how can I do this?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Theme Author Brian Harris

    (@zgani)

    Hello evadv,

    That would require an extensive knowledge and understanding of how the loop works. You’d essentially be using the WP_Query() and/or the pre_get_posts() function(s) to make it work.

    What is your PHP coding comfort level?

    Thread Starter evadv

    (@evadv)

    Unfortunately I have no php comfort level. I saw some plugins also do this (add posts to page, posts for pages, ..) unfortunately none of them seems to work with the theme.

    I suppose I have to put this loop thing in the functions.php instead of home.php? My home.php appears to be my blog and not my real static homepage.

    There really is no plugin to make this work?

    Theme Author Brian Harris

    (@zgani)

    Let me take a look at implementing this in a child theme.

    The idea I have in mind is to have a front-page.php with the featured section loop plus the top grid loop then the main section would call the standard loop.

    If it works the end result would be:

    Front Page shows the featured section + the top grid + a static page content.

    The blog page shows the remaining posts that are not on the front page.

    Are we on the same page?

    Thread Starter evadv

    (@evadv)

    Personally I really like your featured content theme design, you can put there whatever you want, it looks really nice and draws attention.
    beneath on the frontpage I would like to have 2 sticky posts (items) and under the 3 latest of the blog. And then separate there is a blog menu item and there you have all the blog posts (shown 3-6 or something).
    I would not like to repeat exact the featured content again in blog view under those two sticky posts (or items on the front page), just the latest blog posts. the fact that you can make anything featured is a very strong asset i think. no need to also repeat exact the same below.
    i don’t know whether this is clearly formulated?

    Thread Starter evadv

    (@evadv)

    To point out clearer what I mean (and probably is easier to obtain):

    I want my homepage to be my blog (latest posts) with 2 sticky posts on top: easy and normal.

    I want to have a page in the menu called ‘blog’ which shows exact the same page as the homepage WITHOUT these 2 sticky posts on the frontpage.

    All the rest is perfect, featured content etc as it is already..

    Does this make any sense? Is it doable? i suppose just same loop on this ‘blog’ page as in the ‘front’ page and making these 2 sticky posts blank there?

    (sorry for my earlier complicated question)

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘blog on frontpage AND on blogpage’ is closed to new replies.