Since we have many pages under each directory, is there a way so the condition "if" relates to all content of each url (directory), intead of using "If(is_page(´example´)?
Thanks for the prompt reply, we have seen this function has been deprecated, it is recommended to use term_exists() instead. We will work on this one to see if we can solve the issue.
Hi!
We have two directories with different content:
https://miwebenpruebas.com/tenerife
https://miwebenpruebas.com/laspalmas
I would like to use a different logo for all content of each directory "tenerife" and "laspalmas".
I´ve seen in other comments that this can be donde using a php code with conditional, but it regards to the specif page Id.
Since we have many pages under each directory, is there a way so the condition "if" relates to all content of each url (directory), intead of using "If(is_page(´example´)?
Thanks a lot!!
Greg.
Hey Again,
There is a is_term() function as well that you can use : https://developer.wordpress.org/reference/functions/is_term/ .
Best
ThemeNectar Support Team
Hi Tahir,
Thanks for the prompt reply, we have seen this function has been deprecated, it is recommended to use term_exists() instead. We will work on this one to see if we can solve the issue.
Thanks again,
Greg.