CSS to add text after the home page search bar

CSS

.sd-homepage .geodir-search:after {
    content:"My Custom Text";
    color:#fff!important;
    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]');

and change it to

echo do_shortcode('[gd_popular_post_category category_limit=5 parent_only=true]');

Please log in to rate this.
0 people found this helpful.


Category: Supreme Directory Theme

← FAQs