CSS to add text after the home page search bar

.sd-homepage .geodir-search:after {
content:"My Custom Text";
width: 100%!important;

Adjust Popular Categories to show parent categories only

There are no options for adjusting the Popular Categories shortcode on the Home and Location pages, but there is a way to customize it.
Changes will be overwritten if the theme is updated.
To show parent categories only, edit the following file: Edit the following file /wp-content/themes/supreme-directory/inc/geodirectory-compatibility.php on line #1116

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

and change it to

echo do_shortcode(‘[gd_popular_post_category category_limit=5 parent_only=true]’);[/css]

Please log in to rate this.
1 person found this helpful.

Category: Supreme Directory Theme

← FAQs