MORE THAN 20 HOMEBLOCKS

Support Area Forums Selfie MORE THAN 20 HOMEBLOCKS

This topic contains 3 replies, has 2 voices, and was last updated by  Bill Robbins 2 years, 8 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
URL to the page in question: http://talhouk.cl
  • Author
    Posts
  • #25398

    pablo talhouk
    Participant

    Hi Bill, I just followed the instructions to have more than 20 homeblocks, but it didn’t work to me. Maybe because i am using portafolio groups? I have 40 homeblocks in the category “Todos” here: http://www.talhouk.cl/portfolio/todos/ Can you take a look?

    Thanks,
    Cote

    #25399

    Bill Robbins
    Moderator

    Good Morning Cote,

    We can increase the number for the portfolio groups too. Keep the edits you’ve already made. Next in the editor (Appearance > Editor) choose the queries.php file and find this line:

    
    $query->set( 'posts_per_page', 20 );
    

    Change the 20 to 40 there and save your changes. That should do it.

    If you have any trouble or questions, just let me know.

    Take care,
    Bill

    #25400

    pablo talhouk
    Participant

    Now it works perfect!
    Thanks Master Bill!!

    #25402

    Bill Robbins
    Moderator

    Fantastic 🙂

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

The topic ‘MORE THAN 20 HOMEBLOCKS’ is closed to new replies.