• Hello I want this page to load more posts on first open, 2 or 3 more should be fine, there is a simple way to do this? should I edit HTML?
    Thanks!

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Theme Author Erik

    (@codekraft)

    Hi @aldeavfx,
    actually it’s not possible, sorry! But if you want you can override the function modul_r_category_query inside modul-r/inc/masonry.php.

    By default 3 posts are loaded if it’s a category and 5 posts if it’s home page (your case)… I think in the next version I’ll create a filter to manage the number of posts, do you think it’s an acceptable solution?

    Thank you for using my template, the website you made is very nice I’m glad it’s being used like that! Erik

    Theme Author Erik

    (@codekraft)

    Ciao @aldeavfx,
    I noticed that in posts the black color of the header text is hiding with the background. But there is a trick for this:
    The “page observer” adds the class “.top” to body when you are at the top of the page, so if you want to change text color when the header in at the top of the page you can use

    body.top #masthead a, /* menu links */
    body.top #masthead h1 a, /* website headline */
    body.top #masthead p /* website subtitle */
    {
        color: var(--wp--preset--color--white) !important;
    }

    Alternatively you could set the header background color on white and use “customizer>modul-r options>header>Transparent Header”. In this way the white background will be visible only below the posts header (but not in homepage or categories where the background is yet white)

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘posts per page’ is closed to new replies.