CSS to Unhide the Listing Page Title H1


body.sd #geodir_content > header.entry-header {
display: block;

CSS to Unhide the Footer on the Search and Listings Pages

Supreme search and listings pages show the listings in a scroll area on the left with a fixed height to keep the page from scrolling. This requires hiding the footer. If you want to unhide the footer, you can do it with this CSS, but it may result in a scroll bar on the page.

.sd.search.geodir-page .site-footer, .sd.archive.geodir-page .site-footer {
    display: block!important;

Special Content for each Category (Listing) page

Visit your category and add your special content to the “Category Top Description”. Next, visit the listing page for the category and your special content will be displayed at the top of the listings section.

Special Content for each Location (Listing) page

Visit your “Default Location” or GD > Multilocations > Manage Locations and fill in the description of the place. The content will then be displayed at the top of the listings section on the location page.

Set the Hero/Parallax Featured Image for all Listing Pages

All category and location Listing and Archive pages are “Listings” pages, and they all use the same “Posts Page” page template. If you choose to set a featured image for the Listing page, you set that image on the “Posts Page” and then that same featured image will be the same for all categories and location pages.
There are two ways to set the image:
Method 1
– Create a page “123Home” and another called “XYZPosts”
– Visit WP > Settings > Reading > Your Homepage displays
– Set Home page to “123Home”
– Set Posts page to “XYZPosts”
– Go to the “XYZPOsts” page, and edit the page. Set the featured image.
– Done
Method 2
If the Posts page gas no featured image, you can add the following to wp-config.php:

if ( ! defined( 'SD_DEFAULT_FEATURED_IMAGE' ) ) {
    define( 'SD_DEFAULT_FEATURED_IMAGE', "https://MYSITE.com/uploads/2017/11/featured.jpg" );

Change Supreme Directory Listing Page Map Properties

In Supreme the listing page sidebar map is rendered via shortcode, so changes made to a widget will have no effect.

Instead you can use customize the following snippet with the shortcode parameters you want. Add following code snippets in your child theme functions.php file OR add it in via any snippet plugin.

function _gd_custom_supreme_listing_map_args( $args = array() ) {
    $args['maptype']                = 'TERRAIN';    // HYBRID, ROADMAP, SATELLITE, TERRAIN
    $args['zoom']                   = 14;           // number between 1 to 19
    $args['autozoom']               = true;         // true or false
    $args['scrollwheel']            = true;         // true or false
    $args['sticky']                 = true;         // true or false
    $args['enable_marker_cluster']  = true;         // true or false

    return $args;
add_filter ('geodir_map_options_gd_listing_map', '_gd_custom_supreme_listing_map_args', 10, 1 );

Remove the map from Supreme Listing pages

Remove from all listing pages:

.sd.post-type-archive.geodir-page #geodir_content {
    flex-basis: 100%;
    width: 100% !important;
.sd.archive.geodir-page .geodir-listings-sidebar-right {
    display: none;

Customize and target listing pages for each CPT by changing the name of the CPT in the CSS below:

.sd.post-type-archive-gd_place.geodir-page #geodir_content {
    flex-basis: 100%;
    width: 100% !important;
.sd.archive.geodir-page .geodir-listings-sidebar-right {
    display: none;}

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

Category: Supreme Directory Theme

← FAQs