How To Display a Popup on a Multiple Language Site
The simplest way to use the free version of Popup Maker on a site with multiple languages is to set a condition that targets selected pages by their specific name. Refer to the 'Pages' or 'Posts' Admin page in the given language you want to target, and pass in the exact 'page' or 'post' name to the Popup Maker 'Conditions' box. Select the 'Pages: Selected' or 'Posts: Selected' condition, and input the page or post title in use on your site. You can input multiple page or post names when setting your condition.
Related article: Create Your First Popup
Related article: Conditions Introduction
Example: Set a 'Selected: Page' Condition
Your site content displays in 3 languages:
- English (EN),
- Italian (IT), and
- German (DE).
It contains 3 separate pages respectively named:
- 'Products' (EN),
- 'Prodotti (IT), and
- 'Produkte (DE).
You want to display a popup
only on the German (DE)
'Produckte' page. In the Popup Editor, go to the 'Popup Settings' box -> 'Targeting' option tab. Within the custom field labeled,
Choose a condition to target your popup to specific content or various other segments.' select the following:
Seiten: Ausgewählt' >> Produkte
(English translation: Pages: Selected >> Products)
If German is not the primary language of the site, then the site URL on the German-language area of the site will probably have a 'query parameter' added to the end of it. A query parameter is an added search term. A URL that includes a query parameter would look something like this:
The Advanced Targeting Conditions (ATC) extension to Popup Maker
allows one to target
any portion of a URL
any query parameter added to a URL
as a 'non-content-based' condition to activate a popup. If the query parameter 'lang=de' or 'produkte' is targeted within a popup condition, then the popup would activate on any page within the site that contained the query '?lang=de' and/or '?produkte' at the end of the URL.