How to Add city in text [Wordpress]

kwantos

Junior Member
Joined
Jul 29, 2013
Messages
178
Reaction score
78
Hello,

I want to add a visitors city in a text, similar like optinmonster.

example: Hello do you want the best deal in New York.

while the Title is like: Hello do you want the best deal in {{city}}


Is there any plugin for this?
 
Where is the city data coming from? Is it attached to the user meta?

Either way, I can't think of an out-of-the-box plugin for this, but if you have some kind of programming experience you could write a Wordpress filter in either a custom plugin or your child theme that handles this.
 
Back
Top