Answer the question
In order to leave comments, you need to log in
How to display specific divs for specific keywords?
There is a site page if the body from <body> to < / body> contains one of the keywords for example "Sale", then show <div class="rasprodja">something here< / div>, if the word is "Discounts", then show <div class="skidki">something here< / div>, etc.
And if the script finds both "Discounts" and "Sale", then respectively <div class="rasprodja">something here< / div> and <div class="skidki">something here< / div>.
Answer the question
In order to leave comments, you need to log in
isotope.metafizzy.co is a ready-made solution, many people use it
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question