How can i increase the number of featured posts on the homepage of clubBlog theme

QuestionsCategory: Free WordPress Theme ClubBlogHow can i increase the number of featured posts on the homepage of clubBlog theme
Tahir Mughal asked 5 months ago

Hello,
I’m using ClubBlog theme on my site labelpk.com
How can I increase above two the number of posts that are appearing in the ‘highlighted’ kind of style as opposed to with post text under the featured image?

1 Answers
thewpclub Staff answered 5 months ago

Hello,
You can change on index.php the following code at line 11.

<?php if ($i == 1 OR $i == 2): ?>

change it with

<?php if ($i < 5): ?>

Now you have 4 items with the same style as the first 2. If you want more you increased the number.

If you dont know how to do it. Sent me a e-mail at http://www.thewpclub.com/contact/ and i sent you the index.php file.