how to stop showing other category pins on map

This topic contains 10 replies, has 4 voices, and was last updated by  Stiofan O’Connor 7 years, 6 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #298928

    sylvester vader
    Buyer
    Post count: 151

    hi uhm i have lil question

    how can i make it so,that it will only show the category-pins of selected category

    atm when you have a listing in 2 categories
    for example cat1 and cat2
    cat1 is the main of this listing

    then when you go to cat2 listings it wil show the image of cat1

    i need it to only show the category-pin of wich is selected and not show the one that is the main in that listing

    #298931

    Guust
    Moderator
    Post count: 29970

    On the location map, it will always show the pin of the default category.

    #298966

    sylvester vader
    Buyer
    Post count: 151

    yes but is there a way to change this or do i need to change the module inside the php?

    reason is this
    listing owners wil do anything to get on top and to get more visible

    so if you then select multiple categories you will look more on top of the rest
    that listing wil then standout more, people will try to take advantage of this

    and i dont want to check all the listings every single day 😛

    #299058

    Guust
    Moderator
    Post count: 29970

    Are you asking how to prevent users adding their listing to multiple categories? That is done by limiting the price packages.

    If you are asking how you can prevent users from having to choose a default category (which they all can do, so they all can standout more, so I do not see the issue), I’ll get Paolo to have a look at your question too, but I think that is standard WP behavior.

    #299083

    sylvester vader
    Buyer
    Post count: 151

    more categories on a listing is ok but i want that the site will show only the selected category when going for example to

    https://website.com/location/category1
    then i only want to see that category picture

    i added attachment to show you the problem

    because that listing has a different default category it will show the default
    wich points out cause of different color

    i can fix this, but then i need to change the code, and im trying not to mess up the original code tomuch 🙂
    its anoying when updating 😛

    so im hoping you have a more better way

    #299697

    Paolo
    Site Admin
    Post count: 31206

    Hi,

    that is not possible. It only shows the pin for the default category in maps no matter which category you are browsing.

    Thanks

    #299731

    sylvester vader
    Buyer
    Post count: 151

    ok then i will change the php directly
    then its always possible 😛

    #301298

    sylvester vader
    Buyer
    Post count: 151

    lol uhm im trying to find where this is in the script but i dont seem to be able to find it

    can someone help me a litle

    im looking for the code part that is showing the default pin image on the location map

    #301361

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    This should do what u need:


    Stiofan

    #301841

    sylvester vader
    Buyer
    Post count: 151

    lol thanks, this works 🙂

    #302024

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    You are welcome, feel free to help us grow with a good review if you have not already https://wordpress.org/support/plugin/geodirectory/reviews/ (i think you have?)

    Thanks,

    Stiofan 🙂

Viewing 11 posts - 1 through 11 (of 11 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket