jonahcoyote

Forum Replies Created

Viewing 15 posts - 46 through 60 (of 85 total)
  • Author
    Posts
  • in reply to: Turn Off Featured Priority #18672

    jonahcoyote
    Expired Member
    Post count: 89

    Adding a sort by added date or title works but then this issue occurs: https://wpgeodirectory.com/support/topic/sorting-by-random-distance/ – seems like something is not right here…

    in reply to: Show All Listings on Map #18664

    jonahcoyote
    Expired Member
    Post count: 89

    Hey Wayne,

    I’m not sure why that code wouldn’t be working for you. Maybe try deactivating all other plugins to make sure no other plugin is interfering with things. You’ll need to troubleshoot on your own to figure it out. It works for me but unfortunately I can’t spend the time to figure out why it doesn’t work for you. Good luck!

    – Jonah

    in reply to: Sorting by Random & Distance #18663

    jonahcoyote
    Expired Member
    Post count: 89

    Hi Stiofan,

    Take a look here: http://distressedmullet.dev/shops/ – I’ve got Random set as the default sorting option and you can see the list reflects this correctly. Now do a search for “Miami” in the “Near” input and search. You’ll see the search results are displayed randomly as well. It seems like if you search by location, it should always show results by distance. And if you search by keyword, it should always show results by relevance. Otherwise it renders those search features kind of useless if you want to sort by random on the main list. Make sense?

    Thanks for your help!
    – Jonah

    in reply to: Show All Listings on Map #18649

    jonahcoyote
    Expired Member
    Post count: 89

    Hey Wayne,

    What version of GD are you running? Are you sure you added it to the currently active child theme? Are you seeing any errors or is it just not working?

    – Jonah

    in reply to: Sorting by Random & Distance #18505

    jonahcoyote
    Expired Member
    Post count: 89

    Thanks Paolo!

    in reply to: Turn Off Featured Priority #17238

    jonahcoyote
    Expired Member
    Post count: 89

    Hi Guust, thanks for the reply. This is not for the widget, this is for all listing – regular, category, search, etc. where featured posts always show as sticky at the top of the list…

    in reply to: Use meta_query w/Custom Fields #16998

    jonahcoyote
    Expired Member
    Post count: 89

    Thanks Jeff, that’s what I figured. I’ll check out the filter options.

    in reply to: Map Listing Widget Class #16728

    jonahcoyote
    Expired Member
    Post count: 89

    Awesome, thanks Stiofan!

    in reply to: Show All Listings on Map #16680

    jonahcoyote
    Expired Member
    Post count: 89

    Sounds good paolo, thanks!

    in reply to: Show All Listings on Map #16575

    jonahcoyote
    Expired Member
    Post count: 89

    No problem. Any thoughts on my question/suggestion/request to be able to show all listings on the map without my code though?

    in reply to: Translate Strings #16543

    jonahcoyote
    Expired Member
    Post count: 89

    Hey paolo, that works. I guess my solution was to do it without doing the whole po file thing. But that’s not too difficult…

    Thanks,
    Jonah

    in reply to: All Dates Showing Incorrectly on Detail #16478

    jonahcoyote
    Expired Member
    Post count: 89
    This reply has been marked as private.
    in reply to: Show All Listings on Map #16449

    jonahcoyote
    Expired Member
    Post count: 89

    If anybody is wanting to adjust how many listings are shown per page or get it so the map will show all listings, just add this code to your themes functions.php file:

    
    
    
    /*-------------------------------------------------------------------------------
    	Show More Posts Per Page
    -------------------------------------------------------------------------------*/
    function show_more_posts($query) {
    	if ( empty( $query->query_vars['suppress_filters'] ) ) {
    		if( geodir_is_page('listing') || geodir_is_page('author') || geodir_is_page('search') ) {
    			$query->set( 'posts_per_page', -1 );
    		}
    	}
    	return $query;
    }
    add_filter( 'pre_get_posts' , 'show_more_posts' );
    

    That will affect listing, search and author GD pages.

    in reply to: Event Date Format #16425

    jonahcoyote
    Expired Member
    Post count: 89

    Sounds good, thanks Stiofan!

    in reply to: Conflict w/Disqus Comments #16424

    jonahcoyote
    Expired Member
    Post count: 89

    Thanks guys!

Viewing 15 posts - 46 through 60 (of 85 total)
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount