Increase # of popular categories in featured area

This topic contains 3 replies, has 2 voices, and was last updated by  Guust 7 years, 5 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #420425

    Nigel
    Free User
    Post count: 8

    Hi – I want to change the number of categories on the feature home page from 5 to 6 and have looked for the code:

    echo do_shortcode(‘[gd_popular_post_category category_limit=5]’);

    in:

    /wp-content/themes/supreme-directory/inc/geodirectory-compatibility.php.

    However, for some reason the code is no longer there. Have you recently updated the theme? I did hide the popular categories at one stage by adding the following: .featured-area .geodir-cat-list {display: none;}. Could this have somehow corrupted my geodirectory-compatibility.php file?

    Also, one of my counties is showing http://mysite.co.uk/location/united-kingdom/essex-1/. I can’t see where the duplication of essex has occurred. I did at one time try to set up a dedicated link to Essex in the Widget area but this has been deleted. Is there any way of testing where the duplication has occurred or do I need to delete every place in Essex and start again?

    I look foward to hearing from you.

    #420429

    Guust
    Moderator
    Post count: 29970

    Download a new copy of Supreme from https://en-au.wordpress.org/themes/supreme-directory/,
    extract the files on your computer,
    and then replace the /wp-content/themes/supreme-directory/inc/geodirectory-compatibility.php on your server.
    You will find that puts that code back if it has been deleted.

    Regarding the “-1”, see https://wpgeodirectory.com/docs/faqs/why-do-my-locations-get-a-1-at-the-end/

    Thanks

    #420433

    Nigel
    Free User
    Post count: 8

    Hi Guust – Thanks – I’ll download the file and search out the -1 slug.

    #420440

    Guust
    Moderator
    Post count: 29970

    Let us know how you went. Thanks

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

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount