'I have a filtered portfolio on a WordPress website, what I want is to link to the filters with URL hash form

I have a website running uncode theme, I have portfolios being filtered, I want to link to those filtered portfolios in the URL so that can be directly added in the menu (this is client's requirement). I have seen this link https://isotope.metafizzy.co/filtering.html#url-hash. but I do not understand how to use it in an already developed filtered page.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source