I don't have access to a specific template that creates a url. It is the directorist plugin in wordpress. It has relative URL's for specific directories as such.
https://wondervegas.com/?directory_type=business-directory
with relative url
/all-listings/?directory_type=business-directory
It has several of these. Since these are located halfway down the page I need the page to go directly to the source by targeting the div ID.
So is there any Jquery or Javascript that I can specify to say
Change /all-listings/?directory_type=business-directory to /all-listings/?directory_type=business-directory#divID
so they will be reloaded to that exact spot on the page? There are three links total.
The ones I would need to change as above are:
/all-listings/?directory_type=business-directory
/all-listings/?directory_type=charity-directory
/all-listings/?directory_type=real-estate
Thanks in advance. All the other examples don't seem to target specific url strings or to rewrite the url which I don't have access to.