Hi Guys, how do I increase the number of listing categories displayed on the homepage please. Seems to be stuck at 8 and I need 12 or more. Thank you!
Only two ways I see to edit the homepage. One is to create a new page and create a layout similar to the default page.
The other method (quicker, but editing file required) would be to make a backup copy of the ‘/childtheme_classifieds_fishing/home.php file and edit it.
Disregard, this is actually for changing the carousel below it.
Ok, in the same file, around line #62, add the following line with the ‘show’ value set to the number of cats to display: $settings = array( 'show' => '12' ); See image.
$settings = array( 'show' => '12' );
Note: You may want to keep the number displayed divisible by 4.
This is great! Thanks JamesD. Let me ask a bonus question please…how do I pick which listing categories go in the boxes and how do I put them in the order I want? Thanks again for your help!
Unfortunately, it’s a bit more in-depth than the previous solution. Similar concept, however knowledge with WP_Query would be needed (WP_Query) then custom changes to the query settings in /framework/elementor/_ccats/ccat-8.php would be needed.
Note: The PP category widget has all the options I’ve mentioned.
Hope it helps.
If you need help then go ahead and email me (customphix @ gmail.com) a list of all of the category id’s you want displayed, and the order, and I’ll put something together you can upload to your child theme directory.
Just seeing this JamesD and appreciate your help! Have a great day.
Thanks for sharing 🙂
Build your WordPress Business today with our WordPress Business themes.