If-So Dynamic Keyword Insertion lets you insert keywords into your webpages using a simple shortcode.
With If-So DKI you can display:
Display value of a query string
[ifsoDKI type="querystring" parameter="YOUR-PARAMETER" fallback="Default value - optional"]
*In our example, the value of the parameter “YOUR-PARAMETER” will be displayed. For the URL example.com?YOUR_PARAMETER=Awesome, the word Awesome will be displayed instead of the shortcode.
Note not to use WordPress reserved terms as parameters
Insert the user’s name (for logged-in users)
[ifsoDKI type="username" fallback="Default value - optional"]
Learn more about the User Details shortcode
Display a login/logout link:
[ifso_login_link login_redirect="https://example.com/account" ]
Learn more about the Login Link shortcode
Insert the user’s country
[ifsoDKI type='geo' show='country']
Insert the user’s state
[ifsoDKI type='geo' show='state']
Insert the user’s city
[ifsoDKI type='geo' show='city']
*Depending on the country, ISP, device, and other factors, the accuracy at the city level might not be high. Learn more.
Insert the user’s continent
[ifsoDKI type='geo' show='continent']
Insert the user’s timezone
[ifsoDKI type='geo' show='timezone']
Insert the referrer source
[ifsoDKI type='referrer' fallback="Default value - optional"]
Insert only the domain of the referrer source, without permalinks
[ifsoDKI type='referrer' show='domain-only' fallback="Default value - optional"]
Insert the user’s primary browser language
[ifsoDKI type='language' show='primary-only']
Insert a list of the user’s non-primary browser languages
[ifsoDKI type='language' show='all-except-primary']
Insert a list of the user’s browser languages
[ifsoDKI type='language' show='all']