• Resolved metusalem

    (@metusalem)


    Hi, I would like to only show a specific category as the opening map before you search. How is that possible?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Tijmen Smit

    (@tijmensmit)

    Yes, you can do this with this filter.

    Copy the code below the “Setting a different category as the selected one can be done with the code below:” and place it in the functions.php inside your active theme folder.

    You do have to change current category ID ( 1 ), to the category ID of the selected category. You can find the category ID’s on the Store Locator -> Store Categories page. Open the category you want to use and look in the url bar in your browser. The url will contain a section like this tag_ID=17, 17 is the ID you need to use.

    Thread Starter metusalem

    (@metusalem)

    Thanks a lot man! I love your fast support and the plugin. It’s awesome.

    Thread Starter metusalem

    (@metusalem)

    Hello again, there is a problem, because the map shows the categories as it should, but then it shows one store that does not have the correct category. It has 2 other categories. Why is that?

    It’s Mariager Efterskole and it shows here: https://frikirkeleder.dk/find-en-frikirkeleder-kirke-taet-paa-dig/

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Show only one category as default’ is closed to new replies.