Coder Social home page Coder Social logo

ayecode / supreme-directory Goto Github PK

View Code? Open in Web Editor NEW

This project forked from geodirectory/supreme-directory

1.0 1.0 4.0 1.52 MB

Download this awesome Directory Theme here: https://wordpress.org/themes/supreme-directory/ - Supreme directory is the fastest and best looking Directory Theme for WordPress, powered by GeoDirectory https://wpgeodirectory.com/downloads/supreme-directory/

License: Other

PHP 98.29% CSS 1.71%

supreme-directory's People

Contributors

1naveengiri avatar kprajapatii avatar stiofan avatar viruthagiri avatar wpdev10 avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

supreme-directory's Issues

ER: Show map button not hidden on search page for CPT with no location

Currently map is being hidden on desktop and mobile if CPT has no address, but, there is still the show map button on mobile view on the Search page

LINK (view in mobile) https://ppldb.com/v2/search/?geodir_search=1&stype=gd_nolo&s=+&snear=&sgeo_lat=&sgeo_lon=

screenshot 2018-09-28 at 12 13 21 pm

screenshot 2018-09-28 at 12 18 45 pm

Reported here:
https://wpgeodirectory.com/support/topic/remove-show-map-for-no-address/#post-448039
(This was reported on V1, but the CSS fixes are hard for members to maintain. They would appreciate a theme fix to support CPTs with no physical location)

ER Post type select in featured area refreshes, on location page, then GD Category refreshes with location in URLs

Member requests that when Post type select in location page featured area refreshes, on location page, then GD Category refreshes with location in URLs.

Go to city location page
check GD categories below search bar, they have location
Use the CPT selector to change CPT
The GD Categories below the select field will reload (to categories for the selected CPT)
But, when reloaded, the links don't have the location in them (anymore)

The fact that GD Categories reloads at all is a feature of Supreme. Normally it would not do that, but reloading with the location, that is the request.

Instructions for map param

Previously we provided a snippet to adjust listing page integrated map shortcode parameters.

How will this be done with V2?

Old snippet for v1:


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 );

Listing page map zoom

Map zoom on global directory listing page makes for a super small map;

https://ppldb.com/v2/doctor/

screenshot 2018-09-27 at 1 55 50 pm

If the map settings are still going to be in the template file they cannot easily adjust the zoom setting.

I am not sure if there is a fix for this, but, some advice for users might be appropriate.

ER - Page Template featured area image only

Member reports they are seeing SEO penalty from double h1 entry when using featured area with geodirectory single template.

There is no way to disable one of the two H1 entry titles without disabling the image in the featured area

The featured area does not have an option "Parallax Image Only" - the Auto setting is the same as the "Parallax with image
image

image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.