Mocha theme – Homepage posts display

Community Forums Forums Design Tips and Tricks Mocha theme – Homepage posts display

This topic is: not resolved

This topic contains 2 replies, has 2 voices, and was last updated by  andoll 4 months, 3 weeks ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #103511

    andoll
    Member
    Post count: 3

    Hi,
    I’m using the mocha child theme and I need the homepage to display the 10 most recent posts, and not only one as default. Also, I’d like to remove the 2 columns where the remaining posts are shown.
    Could you tell me how I can do that ?
    Thank you for your help.

    #103514

    braddalton
    Participant
    Post count: 9802

    Set the WordPress reading Settings to display 10 posts and remove the grid_loop from the home.php file or set the number of features to 10 in the grid loop.

    https://gist.github.com/braddalton/de7c973d6cefc793a71a


    #103571

    andoll
    Member
    Post count: 3

    That works perfectly ! I just set the number to 10 in the grid loop as you advised.
    Thank you very much for your help, Brad !

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.