Kiran

Forum Replies Created

Viewing 15 posts - 1,936 through 1,950 (of 6,022 total)
  • Author
    Posts
  • in reply to: Tags still showing after removal #494883

    Kiran
    Moderator
    Post count: 7069

    Hello Jon,

    This has been fixed and it will be in next release.

    Patch available at here: https://github.com/AyeCode/geodirectory/commit/dc1a473e455bc5ef995bf3d8d676f83a32c5bcfa

    Thanks for spotting.

    Regards,
    Kiran

    in reply to: Hiding a CPT from the map #494854

    Kiran
    Moderator
    Post count: 7069

    Hi Greg,

    Use following PHP snippet to hide/disable CPT from map.

    
    
    /**
     * Remove map post types.
     */
    function gd_snippet_260619_map_post_types( $post_types = array() ) {
    	if ( is_front_page() ) {
    		if ( isset( $post_types['gd_accommodation'] ) ) {
    			unset( $post_types['gd_accommodation'] ); // Disable gd_accommodation
    		}
    	} elseif ( is_page() && is_singular() ) {
    		if ( isset( $post_types['gd_destination'] ) ) {
    			unset( $post_types['gd_destination'] ); // Disable gd_destination
    		}
    	}
    
    	return $post_types;
    }
    add_filter( 'geodir_map_post_types', 'gd_snippet_260619_map_post_types', 10, 1 );

    Kiran

    in reply to: Custom Post Type Search Results number #494852

    Kiran
    Moderator
    Post count: 7069

    Hello alex5252,

    Please check this https://github.com/AyeCode/geodirectory/blob/master/templates/loop/pagination.php#L54

    This template file contains all the pagination related code.

    Kiran

    in reply to: Can't save multi select options #494755

    Kiran
    Moderator
    Post count: 7069

    Hi Kimberly,

    Please check and let us know.

    There was conflict with field name “type”.

    Thanks,

    in reply to: Invoicing & Payments #494749

    Kiran
    Moderator
    Post count: 7069

    Hello,

    3. The “Downgrade to” setting only shows the “Expire” option – it is not showing/allowing me to select the free package upon expiry of the paid package?

    Recurring packages are not allowed in “Downgrade to” list. Recurring package can be assigned to listing via add listing > checkout process only, because recurring listing status handled via payment gateway subscription based notifications.

    Kiran

    in reply to: sidebar problem #494739

    Kiran
    Moderator
    Post count: 7069

    Hello,

    I have applied patch on your site.

    Please check and let us know.

    Kiran

    in reply to: sidebar problem #494703

    Kiran
    Moderator
    Post count: 7069

    Hi José,

    We are checking to fix sidebar issue for Avada theme.

    Please provide FTP credentials so we can apply patch on your site.

    Kiran

    in reply to: Maps not working, can't add listing, Tags not working #494622

    Kiran
    Moderator
    Post count: 7069

    Hi Alison,

    I checked into your site and found following things.
    – There is a JavaScript error due to conflict of select2 jQuery plugin between GeoDirectory & Traveler theme. This JavaScript error breaks rest of JavaScript functionality on the page.
    “Traveler” theme overwrites the select2 JavaScript included by GeoDirectory plugin. GeoDirectory plugin includes full version(with additional features) of select2 where as “Traveler” theme includes only basic version(with basic features) of select2. “Traveler” theme uses older select2 library version of 3.5.2 and GeoDirectory uses select2 v4.0.5.

    Please ask “Traveler” theme developer to update select2 JavaScript file in their theme and also ask them to use full version of select2.

    – Update theme Traveler to recent because it is too old(might be developer have updated select2 library in recent version).
    – Your site is running with PHP version of 5.5.38, it is recommended a minimum PHP version of 5.6.
    – Update WordPress core and some outdated plugins.

    Let us know how it goes so we can assist you more.

    Best Regards,
    Kiran

    in reply to: Enter your location translation #494616

    Kiran
    Moderator
    Post count: 7069

    Hello MOUYSSET,

    I have checked .po files under /languages/ directory and found that .po files are too old. It also missing “X-Poedit-KeywordsList” parameter in .po file.

    I have added those keywords(X-Poedit-KeywordsList) and re-scan & saved .po file.
    See for more details: https://wpgeodirectory.com/support/topic/some-translations-dont-work-2/#post-484624

    Please check and let us know.

    Regards,
    Kiran

    in reply to: Issue with get_post_info v2 #494610

    Kiran
    Moderator
    Post count: 7069

    Hello Emlyn,

    By default WP Query returns 25 results on first page. You need to add posts_per_page parameter in query args.

    Try following args.

    
    
    $args = array(
    	'post_type' => 'gd_place',
    	'post_status'=>'publish',
    	'posts_per_page' => -1
    );

    Regards,
    Kiran

    in reply to: GeoDirectory Search Not Working Correctly #494482

    Kiran
    Moderator
    Post count: 7069

    Hello,

    Post distance only visible on search pages when searched by location. [gd_post_distance] should be in archive item template and in a loop. Same like post image, post title etc.

    Kiran

    in reply to: GD > Listings links not working #494481

    Kiran
    Moderator
    Post count: 7069
    This reply has been marked as private.
    in reply to: GeoDirectory Search Not Working Correctly #494471

    Kiran
    Moderator
    Post count: 7069

    Hello,

    We have already this feature available that shows distance between listing address and searched location. See https://ppldb.com/v2/searchx/?geodir_search=1&stype=gd_place&sselect_field_search%5B%5D=&spost_category%5B%5D=9&s=+&snear=Philadelphia&sort_by=&sgeo_lat=39.9525839&sgeo_lon=-75.16522150000003

    This distance is displayed via shortcode [gd_post_distance]. Make sure you have not removed it from GD Archive Item page template, or have not disabled via customization.

    Kiran

    in reply to: New CTP is not linking to another CTP #494456

    Kiran
    Moderator
    Post count: 7069
    This reply has been marked as private.
    in reply to: GeoDirectory Search Not Working Correctly #494454

    Kiran
    Moderator
    Post count: 7069

    Hello Tracy,

    If you look up MI for Michigan instead of Michigan it has not shown as many listings, Is there a way for us to Short name instead of the long form and state abbreviations?

    Searching by just “MI” it is difficult to find correct address. But if directory is limited to country/region then you can set near address at GeoDirectory > Settings > General > Search > Search near additional. If you set Search near additional to “United States” the near field will search results within United States. Ex: searching for “MI” will find listings near to Michigan.

    Can we add the exact mileage/distance per each listing? So, it would have 10 miles or 200 miles next to their name per search?

    Do you want to search within exact mileage/distance? If so please check this documentation: https://wpgeodirectory.com/docs-v2/places/search/#search-by-distance
    If this is not what you asking then clarify with more details.

    Best Regards,
    Kiran

Viewing 15 posts - 1,936 through 1,950 (of 6,022 total)
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount