mark

running latest classified version 5.3.2 with fishing child theme

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!

Created: January 17, 2020 at 8:44 pm
  • In: Classifieds Theme
  • Started by: markmark
  • 3 members left 8 comments
  • Last reply from: MarieMarie

  • JamesD
    JamesD
    January 18, 2020 at 4:53 am

    Hello mark,

    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_ file and edit it.

    Attachments:
    You must be logged in to view attached files.
  • JamesD
    JamesD
    January 18, 2020 at 4:56 am

    Disregard, this is actually for changing the carousel below it.

  • JamesD
    JamesD
    January 18, 2020 at 5:08 am

    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.

    Note: You may want to keep the number displayed divisible by 4.

    Attachments:
    You must be logged in to view attached files.
  • mark
    mark
    January 18, 2020 at 12:56 pm

    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!

  • JamesD
    JamesD
    January 18, 2020 at 1:39 pm

    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/_ would be needed.

    Note: The PP category widget has all the options I’ve mentioned.

    Hope it helps.

  • JamesD
    JamesD
    January 18, 2020 at 2:07 pm

    @mark

    If you need help then go ahead and email me (customphix @ ) 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.

  • mark
    mark
    January 20, 2020 at 12:18 pm

    Just seeing this JamesD and appreciate your help! Have a great day.

  • Marie
    Marie
    January 22, 2020 at 3:43 am

    Thanks for sharing 🙂


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