R
R
RobShneider2022-03-21 18:31:11
Google
RobShneider, 2022-03-21 18:31:11

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

2 answer(s)
A
Artem Zolin, 2022-03-22
@RobShneider

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
62391733ef65c087321234.png

T
tamsq, 2022-03-21
@tamsq

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 question

Ask a Question

731 491 924 answers to any question