- kevinmartel March 29, 2015 at 4:10 pm
Hi there
Iām looking to have all staff on the home page and not only 4 persons in rotation as now. How can I change that ?
Thanks a lot
Kevin
Juanfra Aldasoro March 29, 2015 at 6:39 pmHi Kevin,
Thanks for writing.
We’re working on that for the upcoming version.
At this moment the only way to achieve that would be modifying the code of the file template-home.php
Are you comfortable with modifying code?
Best,
Juankevinmartel March 29, 2015 at 9:42 pmHi Juan
Not really but I can try š
Could you just help me with the structure of the code ?
Thanks a lot for support
KevinJuanfra Aldasoro March 30, 2015 at 10:30 pmHello Kevin,
Ok, look for the file template-home.php, which is inside the theme folder (/paeon/).
Open the file in order to edit it, and look for the following part:
array( 'post_type' => 'staff', 'orderby' => $nice_staff_order, 'posts_per_page' => 4, 'order' => 'ASC');
Replace the number 4, with a -1
Yes, a minus one. Save the file and re upload it to your server.
That should do the trick.
Best,
Juan.
This topic is marked as resolved
Only the topic author can re-open this thread.