Search results for: Smart Tags

Create a Smart Tag for the Current Time

This snippet will create a new Smart Tag for you that you can use anywhere in…

100+

Creating a Smart Tag from an ACF Field

/** * Register the Smart Tag so it will be available to select in the form…

60+

WPForms: add several new smart tags for newly submitted CPT: ID, title and URL.

Mainly useful when the Post Submissions addon is used. Several new smart tags are registered to…

WP Simple Pay: Custom Smart Tag

Register a custom Smart Tag with PHP, and control the output.

WPForms: new smart tag - Current Unix Time

Using wp_date() function to output a Unix time where the smart tag is used.

Add WPCode Custom Field Smart Tag

Add a custom smart tag for the WPCode scripts metabox that outputs the value of a…

<10

WPForms: new smart tag - Current Date/Time

It's a localized date/time in this format: Y-m-d H:i:s

Using Smart Tags in Your WordPress Rewrite Rules

This code snippet converts messy query string URLs into clean, user-friendly URLs while preserving functionality

40+

Add WPCode Permalink Smart Tag

Add a custom smart tag for WPCode to output the value of the current page permalink.

<10

Sending Form Fields as Smart Tags to Square

The snippet makes Smart Tags usable with Square payments. It allows you to include form fields…

<10

Unique Order ID

Creates a unique order ID

Processing Smart Tags in HTML Field

This snippet makes WPForms Smart Tags usable in the HTML field

100+

Payment Method Smart Tag

This code only has handling for klarna, us_bank_account and card (default). The other available types are…

registering query args as smart tag on campaign load

document.addEventListener('om.Campaign.load', function(event) { const queryString = window.location.search; // capture all query args // Registers a custom…

1 2