Background of the issue:
I am trying to ensure that the header and footer on the portfolio page of my site, hidden link, display in the current language using WPML.
Symptoms:
The header and footer on the portfolio page remain global and do not change to the current language.
Questions:
How can I make the header and footer on the portfolio page display in the current languageFor example, there is a problem with Russian portfolio categories, but most importantly, it should show the headers and footers of the language it is switched to.