Answer the question
In order to leave comments, you need to log in
How to put down certain words with a shortcode?
For example, to get it like this for H1
1. EVL-0015 in [shortcode1]
Result
of EVL-0015 in Tyumen
2. EVL-0015 in [shortcode2]
Result
of EVL-0015 in Ryazan
3. EVL-0015 in [shortcode3]
Result
of EVL-0015 in Samara
Answer the question
In order to leave comments, you need to log in
Let me tell you how it works for me. There is a large excel table with a list of cities and their declensions. A select was made in the customizer with the choice of a city from the title column, the table is parsed using the SimpleXLSX
library The
selected city with all declensions is saved to the database, the shortcode [city type="gde"]
displays the desired case
Most likely, a plugin with geotargeting can help here. - https://techblog.sdstudio.top/luchshie-pluginy-wor... Previously, I used a plugin that changes the title depending on the ip geolocation. But I don't remember the name. I think it can also be implemented through a short code.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question