WordPress OSINT, maintenance or security needs? Reach out!
TLDWP

Plugin: contact-form-7-dynamic-text-extension (Used by 48 domains)

Contact Form 7 – Dynamic Text Extension

👤 sevenspark 📦 v5.0.5 🔗 Plugin Homepage

Contact Form 7 is an excellent WordPress plugin and one of the top choices of free WordPress plugins for contact forms. Contact Form 7 – Dynamic Text Extension (DTX) makes it even more awesome by adding dynamic content capabilities. While default values in Contact Form 7 are static, DTX lets you create pre-populated fields pulled from other locations. Some examples might include:

  • Auto-filling a URL or just getting the domain name or path
  • Auto-filling a post ID, title, or slug
  • Auto-filling a title, URL, or slug for the current page
  • Pre-populating a product number
  • Referencing other content on the site
  • Populating with post or page info
  • Populating with the current user’s info
  • Populating with custom and meta fields
  • Generating unique identifiers for support tickets
  • Getting a list of post categories or other custom taxonomies
  • Getting a value from a cookie
  • Getting custom theme modifications
  • Any value using custom shortcodes

The possibilities are endless!

View Demo

For over 10 years, DTX only handled and form fields, but version 4 finally introduces more:

  • email
  • URL
  • tel (for phone numbers)
  • number
  • range (slider)
  • textarea (multiline text)
  • drop-down menu (select field)
  • checkboxes
  • radio buttons
  • date
  • submit (yes, a submit button where you can have dynamic text!)

WHAT DOES IT DO?

DTX provides flexibility to WordPress users in creating dynamic forms in Contact Form 7. DTX comes with several built-in shortcodes that will allow the contact form to be populated from HTTPS GET variable or any info from the get_bloginfo() function, among others. See below for included shortcodes.

Don’t see the shortcode you need on the list? You can write a custom one! Any shortcode that returns a string or numeric value can be used here. The included shortcodes just cover the most common scenarios, but DTX provides the flexibility for you to grab any value you have access to programmatically.

Dynamic Value

The bread and butter of this plugin, set a dynamic value! This field can take any shortcode, with two important provisions:

  1. The shortcode should NOT include the normal square brackets ([ and ]). So, instead of [CF7_GET key='value'] you would use CF7_GET key='value'.
  2. Any parameters in the shortcode must use single quotes. That is: CF7_GET key='value' and not CF7_GET key="value"

Dynamic Placeholder

Set a dynamic placeholder with this attribute! This feature accepts static text or a shortcode. If using a shortcode, the same syntax applies from the dynamic value field. However, this field also has a few more needs:

  1. The text/shortcode must first have apostrophes converted to it’s HTML entity code, '
  2. After that, it must be URL encoded so that spaces become %20 and other non-alphanumeric characters are converted.

If you’re using Contact Form 7’s tag generator to create the form tag, those extra needs are already taken care of. Dynamic placeholders are not available for dynamic hidden form tags.

Learn more and see examples from the DTX Knowledge base.

Compatible with Caching Plugins

DTX is cache friendly! You can set a field to be calculated after the page loads by setting the dtx_pageload attribute to any dynamic form tag.

Many websites use caching plugins to optimize for performance. If your website caches the HTML of the form, then any dynamic form fields you have get their first calculated value cached alongside it. This becomes an issue if you’re using DTX to pull values from a cookie or the current URL’s query string.

This is best for dynamic form fields that:

  • gets the current URL
  • gets a value from the URL query
  • gets a value from a cookie
  • gets the current user’s info
  • generates a unique identifier (GUID)

For dynamic fields that are page-specific, it’s perfectly safe to cache those values. For example, dynamic form fields that:

  • getting the page or post’s ID, title, or slug
  • getting post meta for the current page
  • getting the post’s assigned categories, tags, or other custom taxonomy
  • getting site info
  • getting theme modification values

Note: Enabling a dynamic field to be calculated after the page loads will add frontend JavaScript. Depending on the shortcode used as the dynamic value, an AJAX call to the server may be sent to be processed. The script is minified and loaded in the footer and is deferred, minimizing impact on site performance and the AJAX calls are called asynchronously to avoid being a render-blocking resource and minimizing main-thread work. The script itself can be safely cached too.

Learn more and see examples from the DTX Knowledge base.

Read Only Form Fields

Check this box if you do not want to let users edit this field. It will add the readonly attribute to the input form field. This feature is not available for dynamic hidden form tags.

Obfuscate Values for Enhanced Privacy

If you’re pre-filling a form field with an email address, bots can scrape that value from the page and use it for spam. You can add an additional layer of protecting by obfuscating the value, which turns each character into it’s ASCII code. To the human eye, it looks like the character it’s supposed to be because browsers will render the ASCII code, but for bots, it won’t look like an email address!

HOW TO USE IT

After installing and activating the plugin, you will have 2 new tag types to select from when creating or editing a Contact Form 7 form: the dynamic text field and dynamic hidden field. Most of the options in their tag generators will be familiar to Contact Form 7 users but there have been some upgrades.

How to Obfuscate Values

All of the shortcodes included with the DTX plugin allow the obfuscate attribute that you can set to any truthy value to provide an additional layer of security for sensitive data.

The Contact Form 7 tag with obfuscation turned on would look like this: [dynamictext user_email "CF7_get_current_user key='user_email' obfuscate='on'"]

How to Enable Cache-Friendly Mode

All of the dynamic form tags can be enabled for processing on the frontend of the website, or the client-side, by adding the dtx_pageload attribute to the Contact Form 7 form tag.

In the form editor of Contact Form 7, your form tag would look like: [dynamictext current_url dtx_pageload "CF7_URL"]

If using the tag generator, it’s as simple as checking a box!

INCLUDED SHORTCODES

The plugin includes several shortcodes for use with the Dynamic Text Extension right out of the box. You can write your own as well—any self-closing shortcode will work, even with attributes!

Current URL or Part

Retrieve the current URL: CF7_URL

In the form editor of Contact Form 7, your form tag would look like: [dynamictext dynamicname "CF7_URL"]

Optional parameter: part, which will return a parsed part of the URL. Valid values are host, query, and path

Host: Just the domain name and tld
[dynamictext host “CF7_URL part=’host'”]

Query: The query string after the ?, if one exists
[dynamictext query “CF7_URL part=’query'”]

Path: The URL path, for example, /contact, if one exists
[dynamictext path “CF7_URL part=’path'”]

Learn more and see examples from the DTX Knowledge base.

Referrer URL

Get the referral URL, if it exists. Note that this is not necessarily reliable as not all browsers send this data.

CF7 Tag: [dynamictext dynamicname "CF7_referrer"]

Learn more and see examples from the DTX Knowledge base.

Current Page Variables

Retrieve information about the current page that the contact form is displayed on. Works great for use in templated areas like the site header, footer, widget, or sidebar! The shortcode works as follows:

Built-in shortcode: CF7_get_current_var

Required attribute: key

Possible values for key include:

  • id
  • title
  • url (an alias for CF7_URL)
  • slug
  • featured_image
  • terms (an alias for CF7_get_taxonomy)

For pages that use a WP_POST object, this acts as an alias for CF7_get_post_var so those attributes work here as well.

For author pages, this acts as an alias for CF7_get_current_user so those attributes work here as well.

In the form editor of Contact Form 7, your form tag’s value could look like: CF7_get_current_var key='title'

And then the full form tag would be: [dynamictext dynamicname "CF7_get_current_var key='title'"]

Learn more and see examples from the DTX Knowledge base.

Post/Page Info

Retrieve information about the current post or page (must be for a WP_POST object) that the contact form is displayed on. The shortcode works as follows:

CF7_get_post_var key='title'      <-- retrieves the Post's Title
CF7_get_post_var key='slug'       <-- retrieves the Post's Slug

You can also retrieve any parameter from the global $post object. Just set that as the key value, for example post_date

The Contact Form 7 Tag would look like: [dynamictext dynamicname "CF7_get_post_var key='title'"]

Need to pull data from a different post/page? Not a problem! Just specify it’s post ID like this:

Dynamic value: CF7_get_post_var key='title' post_id='245'

Contact Form 7 Tag: [dynamictext dynamicname "CF7_get_post_var key='title' post_id='245'"]

Learn more and see examples from the DTX Knowledge base.

Post Meta & Custom Fields

Retrieve custom fields from the current post/page. Just set the custom field as the key in the shortcode.

Note: You must add any meta keys that you want to allow access to to the allow list in your admin panel > Contact > Dynamic Text Extension > Meta Key Allow List. More Information

The dynamic value input becomes: CF7_get_custom_field key='my_custom_field'

And the tag looks like this: [dynamictext dynamicname "CF7_get_custom_field key='my_custom_field'"]

For the purposes of including an email address, you can obfuscate the custom field value by setting obfuscate=’on’ in the shortcode like this:
[dynamictext dynamicname “CF7_get_custom_field key=’my_custom_field’ obfuscate=’on'”]

Learn more and see examples from the DTX Knowledge base.

Featured Images & Media Attachments

Retrieve the current post’s featured image, the featured image of a different page, or any attachment from the Media Library with this shortcode!

The base shortcode is simply: CF7_get_attachment which returns the absolute URL of the current page’s featured image.

By setting the post_id attribute to a post ID, you can get the featured image of another page.

By setting the id attribute to an attachment ID, you can get the absolute URL of any image uploaded to your WordPress website.

By setting the size attribute to any size registered on your website, you can get a specific image size.

Want to return the attachment ID instead of the URL? Also not a problem! Just set return='id' in the shortcode.

Most of the optional attributes can be used at the same time. For example, if I wanted to retrieve the attachment ID of a featured image for a different post, then the dynamic text form tag would look like this:
[dynamictext input_name “CF7_get_attachment post_id=’123′ return=’id'”]

If I wanted to get a specific image at a specific size, I can use this:
[dynamictext input_name “CF7_get_attachment id=’123′ size=’thumbnail'”]

The only two attributes that can’t play together is id and post_id. If both are specified, it will get the attachment specified by id and completely ignore the post_id attribute. If neither are specified, then it looks to the current featured image assigned to the global $post object.

Learn more and see examples from the DTX Knowledge base.

Current User Info & User Meta

Get data about the current logged-in user.

Dynamic value: CF7_get_current_user key='user_displayname'
CF7 Tag: [dynamictext dynamicname "CF7_get_current_user"]

Note: You must add any user keys that you want to allow access to to the allow list in your admin panel > Contact > Dynamic Text Extension > User Data Key Allow List. More Information

Valid values for key include:

  • ID
  • user_login
  • display_name
  • user_email
  • user_firstname
  • user_lastname
  • user_description

But also custom meta user keys!

For the purposes of including an email address, you can obfuscate the value by setting obfuscate=’on’ in the shortcode like this:
[dynamictext dynamicname “CF7_get_current_user key=’user_email’ obfuscate=’on'”]

Learn more and see examples from the DTX Knowledge base.

Site/Blog Info

Want to grab some information from your blog like the URL or the site name? Use the CF7_bloginfo shortcode. For example, to get the site’s URL:

Enter the following into the “Dynamic Value” input: CF7_bloginfo show='url'

Your Content Form 7 Tag will look something like this: [dynamictext dynamicname "CF7_bloginfo show='url'"]

Your form’s dynamicname text input will then be pre-populated with your site’s URL

Learn more and see examples from the DTX Knowledge base.

Theme Options

Want to retrieve values from your active theme’s Customizer? Now you can with the CF7_get_theme_option shortcode.

Learn more and see examples from the DTX Knowledge base.

HTTP GET Variables

Want to use a variable from the PHP $_GET array? Just use the CF7_GET shortcode. For example, if you want to get the foo parameter from the url
http://mysite.com?foo=bar

Enter the following into the “Dynamic Value” input: CF7_GET key='foo'

Your Content Form 7 Tag will look something like this: [dynamictext dynamicname "CF7_GET key='foo'"]

Your form’s dynamicname text input will then be pre-populated with the value of foo, in this case, bar

Learn more and see examples from the DTX Knowledge base.

HTTP POST Variables

Grab variables from the PHP $_POST array. The shortcode is much like the GET shortcode:

Dynamic value: CF7_POST key='foo'

Your Content Form 7 Tag will look something like this: [dynamictext dynamicname "CF7_POST key='foo'"]

Learn more and see examples from the DTX Knowledge base.

Cookie Values

If your WordPress website uses cookies, you might want to pull the value of a specific cookie into a form. You can do that with the CF7_get_cookie shortcode. It only needs a key attribute.

Dynamic value: CF7_get_cookie key='foo'

Your Content Form 7 Tag will look something like this: [dynamictext dynamicname "CF7_get_cookie key='foo'"]

Learn more and see examples from the DTX Knowledge base.

GUID

Generate a globally unique identifier (GUID) in a form field. This is a great utility shortcode for forms that need unique identifiers for support tickets, receipts, reference numbers, etc., without having to expose personally identifiable information (PII). This shortcode takes no parameters: CF7_guid

In the form editor of Contact Form 7, your form tag would look like: [dynamictext dynamicname "CF7_guid"]

Learn more and see examples from the DTX Knowledge base.

DomainExposuresHeadersLast Checked
e*k*f.ru (WP 6.9.4) F 2026-05-01 12:48:38
h*r*e*s*o*e*.c*.nz (WP 6.8.3) F 2026-05-01 05:41:39
s*i*i*e*l*h*a*e.com (WP 6.9.4) F 2026-04-30 11:50:36
r*b*k.com F 2026-04-30 09:58:51
g*o*t*a*e.ru F 2026-04-30 06:43:36
o*c*e*i*.c*m.co (WP 6.9.4) F 2026-04-29 17:17:41
n*x.ru D 2026-04-29 09:20:01
c*p*i*c*s*l.com (WP 6.8.1) F 2026-04-29 09:16:22
p*c*l*m.com (WP 6.9.4) F 2026-04-26 11:18:16
t*a*w*o*m*.com (WP 6.2) ⚠️ F 2026-04-26 03:32:26
t*-*f*r*.com F 2026-04-25 12:31:06
u*a*k*d.com F 2026-04-24 23:18:32
s*m*t*v.ru (WP 6.9.4) F 2026-04-21 04:11:42
p*t*o*m*r*e*.ru F 2026-04-21 03:24:51
g*e*d*2.ru D 2026-04-20 14:02:51
d*n*a*i*e.com A 2026-04-18 18:20:51
r*n*a*e*p*b*l*r*d*.com (WP 6.9.4) F 2026-04-17 14:03:47
d*e*s*r.com D 2026-04-17 08:41:01
l*n*a*o*n*t*r*.it (WP 6.9.4) F 2026-04-16 13:40:28
a*g*e*l*.com (WP 6.9.4) A 2026-04-16 07:33:59
m*s*e*d*s*p.com (WP 6.9.4) F 2026-04-15 11:07:08
g*z*i*e*r*.com (WP 6.4.8) ⚠️ F 2026-04-11 11:39:19
e*k*f.com (WP 6.9.4) F 2026-04-11 02:02:13
q*a*t*e*h*r*z*n.com F 2026-04-10 17:35:23
a*i*a*a*o*e*.com 🔓 F 2026-04-10 05:26:06
p*u*-*x*i*i*i*n*t*n*s.com B 2026-04-08 09:59:33
l*n*a*o*n*t*r*.com (WP 6.9.4) F 2026-04-05 21:23:35
s*i*l*c*n*e*t.com (WP 6.9.4) A 2026-04-05 02:12:59
c*a*s*i*.com (WP 6.9.4) F 2026-04-03 13:10:39
g*e*d*.ru 2026-03-27 03:01:19
g*e*d*.online 2026-03-27 03:01:19
s*m*l*c*o.it 2025-11-12 06:56:39
c*l*e*t*f*f*n*a*n*u*.fr 2025-11-12 04:35:08
w*h*m*s*n*.com 2025-11-11 10:28:37
w*n*e*a*t*a*l*r*.com 2025-11-11 10:05:07
s*c*e*i*i*r.com 2025-11-10 09:15:06
s*c*e*o*t*n*.com 2025-11-10 09:15:06
p*o*e*t*-*e*.com 2025-11-09 22:56:08
p*p*o*l*g*.com 2025-11-09 18:27:43
m*s*i*i*e*c*.com 2025-11-09 08:23:24
j*t*h*r*e*r*v*e*.com 2025-11-08 11:33:40
j*t*h*r*e*d*n*e*.com 2025-11-08 11:33:40
j*t*h*r*e*b*z*m*n.com 2025-11-08 11:33:40
j*c*s*n*o*e*e*c*a*t*r.com 2025-11-08 10:22:13
g*v*-*p*.com 2025-11-07 21:10:36
e*e*r*i*e*o*r*s*.com 2025-11-07 09:38:04
e*c*c*v*r*n*.com 2025-11-07 09:20:08

Top 50 Plugins

Plugin Count
elementor 2,296,020
contact-form-7 2,112,077
elementor-pro 1,301,171
woocommerce 1,070,876
revslider 781,706
js_composer 518,037
jetpack 482,316
wp-rocket 381,369
essential-addons-for-elementor-lite 349,387
header-footer-elementor 291,450
gravityforms 284,103
gutenberg-core 272,914
elementskit-lite 271,276
instagram-feed 268,809
complianz-gdpr 265,852
google-analytics-for-wordpress 265,230
google-site-kit 259,072
cookie-law-info 257,387
sitepress-multilingual-cms 233,298
bluehost-wordpress-plugin 218,977
wpforms-lite 199,893
astra-sites 192,059
litespeed-cache 176,653
gutenberg 160,754
gtranslate 155,830
cookie-notice 151,715
coblocks 146,372
the-events-calendar 136,756
popup-maker 128,842
astra-addon 114,404
bb-plugin 113,855
premium-addons-for-elementor 111,878
LayerSlider 111,644
tablepress 110,511
wp-smushit 110,210
mailchimp-for-wp 109,003
duracelltomi-google-tag-manager 101,084
cleantalk-spam-protect 97,693
creame-whatsapp-me 97,207
woocommerce-gateway-stripe 97,148
akismet 96,811
honeypot 96,681
woocommerce-payments 95,836
megamenu 93,649
pro-elements 92,375
smart-slider-3 92,146
fusion-builder 91,637
custom-fonts 91,230
click-to-chat-for-whatsapp 90,345
pixelyoursite 89,088

Top 50 Themes

Theme Count
hello-elementor 749,021
Divi 619,957
astra 591,577
pub 183,940
generatepress 141,028
Avada 140,230
flatsome 140,135
h4 106,308
oceanwp 102,921
kadence 92,273
enfold 80,783
salient 77,863
bb-theme 71,767
twentytwentyfour 69,986
blocksy 66,299
cocoon-master 65,434
twentytwentyfive 63,491
twentyseventeen 63,269
betheme 62,812
dt-the7 52,398
woodmart 48,531
neve 45,836
twentytwentyone 39,697
bridge 38,979
Avada-Child-Theme 38,038
gox 35,732
swell 34,805
twentytwenty 34,767
lightning 34,356
twentytwentythree 32,116
bricks 28,436
Impreza 28,338
Newspaper 25,729
twentytwentytwo 25,275
epik-redesign 22,537
pro 21,126
storefront 21,025
extendable 20,913
uncode 20,832
twentysixteen 20,585
sydney 19,106
yith-wonder 18,999
themify-ultra 17,749
Total 17,025
twentyfifteen 15,697
porto 15,268
hestia 15,066
yootheme 14,187
twentynineteen 14,182
thrive-theme 14,115