{"id":20949,"date":"2026-11-20T23:29:03","date_gmt":"2026-11-20T17:59:03","guid":{"rendered":"https:\/\/www.fast2sms.com\/help\/add-otp-verification-wordpress-without-plugin\/"},"modified":"2026-11-20T23:29:03","modified_gmt":"2026-11-20T17:59:03","slug":"add-otp-verification-wordpress-without-plugin","status":"publish","type":"post","link":"https:\/\/www.fast2sms.com\/help\/add-otp-verification-wordpress-without-plugin\/","title":{"rendered":"Add OTP verification to WordPress without a plugin (Custom HTML block, Elementor, forms)"},"content":{"rendered":"<p>You can add <strong>WordPress OTP verification without a plugin<\/strong>: create a free OTP widget in Fast2SMS, then paste two lines of code into a Custom HTML block or your page builder&#8217;s HTML element. Visitors verify their mobile number by SMS or WhatsApp through Fast2SMS Smart OTP. Nothing is installed on your WordPress site, no API key goes into WordPress, and you pay only for each OTP sent.<\/p>\n<p>This page covers the block editor, page builders, adding the script once for the whole site, and the Popup button and Mobile field modes for contact and signup forms you already have.<\/p>\n<aside class=\"f2s-cta\" aria-label=\"Get started with Fast2SMS\"><div class=\"f2s-cta__copy\"><strong class=\"f2s-cta__title\">Add OTP to WordPress in minutes<\/strong><p>Create a free Fast2SMS account, make an OTP widget and paste it into any WordPress page.<\/p><\/div><div class=\"f2s-cta__actions\"><a class=\"f2s-cta__btn f2s-cta__btn--primary\" href=\"https:\/\/www.fast2sms.com\/\"><span>Sign up free<\/span> <span class=\"f2sh-btn__arrow\" aria-hidden=\"true\">&rarr;<\/span><\/a><a class=\"f2s-cta__btn f2s-cta__btn--ghost\" href=\"https:\/\/www.fast2sms.com\/meet\/\" target=\"_blank\" rel=\"noopener\">Book a free meeting<\/a><\/div><\/aside>\n<h2>Before you start<\/h2>\n<ul>\n<li>A Fast2SMS account with wallet balance and an approved Smart OTP template (an OTP ID) for SMS or WhatsApp.<\/li>\n<li>An OTP widget with your WordPress domain in <strong>Websites<\/strong>. Add it with and without www, for example demotraders.in and www.demotraders.in. The <a href=\"https:\/\/www.fast2sms.com\/help\/free-otp-widget-for-website\/\">free OTP widget guide<\/a> walks through creating one.<\/li>\n<li>A WordPress login that is allowed to save script code, usually an Administrator. More on this below.<\/li>\n<\/ul>\n<figure class=\"f2s-shot\"><img src=\"https:\/\/www.fast2sms.com\/help\/wp-content\/uploads\/2026\/11\/otpw-sms-setup-hd-1-scaled.webp\" width=\"1440\" height=\"900\" loading=\"lazy\" decoding=\"async\" alt=\"Widget Setup tab with name Website signup, SMS OTP ID b35f0e7a91 with sender DMTRDS, and websites demotraders.in, www.demotraders.in and localhost\"><figcaption>List every domain the widget will run on. localhost lets you test a WordPress copy on your own computer.<\/figcaption><\/figure>\n<h2>Add WordPress OTP verification without a plugin<\/h2>\n<ol class=\"f2s-steps\">\n<li>\n<h3>Copy the widget code<\/h3>\n<p>In Fast2SMS, open <strong>Smart OTP<\/strong> &gt; <strong>My Widgets<\/strong>, open your widget and go to <strong>Install<\/strong> &gt; <strong>Widget<\/strong>. Click <strong>Copy<\/strong>. You get two lines with your own widget key:<\/p>\n<pre><code class=\"language-html\">&lt;script src=\"https:\/\/www.fast2sms.com\/widget\/otp-js?v=1.0.5\" defer&gt;&lt;\/script&gt;\n&lt;div data-f2s-otp-widget=\"YOUR_WIDGET_KEY\"&gt;&lt;\/div&gt;<\/code><\/pre>\n<figure class=\"f2s-shot\"><img src=\"https:\/\/www.fast2sms.com\/help\/wp-content\/uploads\/2026\/11\/otpw-install-simple-hd-3-scaled.webp\" width=\"1440\" height=\"900\" loading=\"lazy\" decoding=\"async\" alt=\"Install tab with the Widget sub-tab open, showing the script tag, the div with the widget key and a Copy button\"><figcaption>The Widget sub-tab of Install, with the Copy button.<\/figcaption><\/figure>\n<\/li>\n<li>\n<h3>Block editor: paste it into a Custom HTML block<\/h3>\n<p>Open the page in the WordPress editor, click the + button and add a <strong>Custom HTML<\/strong> block where the OTP box should appear. Paste both lines into it. Use Preview to check, then update or publish the page. In the editor you may see only the code. The box itself shows in the page preview and on the live page.<\/p>\n<figure class=\"f2s-shot\"><img src=\"https:\/\/www.fast2sms.com\/help\/wp-content\/uploads\/2026\/11\/otpw-site-signup-hd-1.webp\" width=\"768\" height=\"468\" loading=\"lazy\" decoding=\"async\" alt=\"Sample Create your account page with the OTP widget: title Verify your mobile number, a +91 mobile field and a Send OTP button, Secured by Fast2SMS\"><figcaption>How the widget looks on a sample signup page.<\/figcaption><\/figure>\n<\/li>\n<li>\n<h3>Elementor and other page builders: use an HTML element<\/h3>\n<p>Most page builders have an HTML widget or element for custom code. Drag it into the section where the box should go, paste the two lines and save. Some builders do not run scripts inside their editor, so check the result in the builder&#8217;s preview or on the live page, not only in the editing screen.<\/p>\n<\/li>\n<li>\n<h3>Test it<\/h3>\n<p>Use the <strong>Test<\/strong> tab of the widget in Fast2SMS to check your OTP template, then open the live page in a private window and verify your own number. Both send a real OTP and both are charged.<\/p>\n<figure class=\"f2s-shot\"><img src=\"https:\/\/www.fast2sms.com\/help\/wp-content\/uploads\/2026\/11\/otpw-sms-test-number-hd-1-scaled.webp\" width=\"1440\" height=\"900\" loading=\"lazy\" decoding=\"async\" alt=\"Test tab of the Website signup widget with the number 9000000001 typed and a Send OTP button, with the note Try it with your own number. A real OTP is sent and charged.\"><figcaption>The Test tab runs the real widget before you touch WordPress.<\/figcaption><\/figure>\n<\/li>\n<\/ol>\n<h2>Add the script once for the whole site, or on each page<\/h2>\n<p>The first line, the script tag, is the same for all your widgets. The second line is what places the box. You can keep both lines together on each page, or load the script once for the whole site and then paste only the second line where you need a box.<\/p>\n<div class=\"f2s-facts\">\n<table>\n<thead>\n<tr>\n<th>Way<\/th>\n<th>Where the script goes<\/th>\n<th>Good for<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>Per page<\/td>\n<td>Both lines in the same Custom HTML block or HTML element<\/td>\n<td>One or two pages, such as a signup or COD page<\/td>\n<\/tr>\n<tr>\n<td>Site-wide<\/td>\n<td>Your theme&#8217;s header or footer code option, or the footer of a child theme<\/td>\n<td>Many pages or forms with an OTP box<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p>Avoid editing the main theme files directly, because a theme update can overwrite them. A child theme or the theme&#8217;s own custom code option keeps the script after updates. Either way, one script tag per page is enough.<\/p>\n<aside class=\"f2s-cta\" aria-label=\"Get started with Fast2SMS\"><div class=\"f2s-cta__copy\"><strong class=\"f2s-cta__title\">Verify numbers on every form<\/strong><p>One free widget, many pages. Each OTP is charged at your normal Smart OTP rate.<\/p><\/div><div class=\"f2s-cta__actions\"><a class=\"f2s-cta__btn f2s-cta__btn--primary\" href=\"https:\/\/www.fast2sms.com\/\"><span>Sign up free<\/span> <span class=\"f2sh-btn__arrow\" aria-hidden=\"true\">&rarr;<\/span><\/a><a class=\"f2s-cta__btn f2s-cta__btn--ghost\" href=\"https:\/\/www.fast2sms.com\/meet\/\" target=\"_blank\" rel=\"noopener\">Book a free meeting<\/a><\/div><\/aside>\n<h2>OTP verification for a WordPress contact form or signup form<\/h2>\n<p>If you already have a form, you may not want a separate OTP box. The widget has four ways to work with a form, all on the <strong>Install<\/strong> tab. Which one fits depends on how much of the form&#8217;s code you can change.<\/p>\n<h3>Mobile field: a Verify button next to your phone field<\/h3>\n<p>Add <code>data-f2s-otp-attach=\"YOUR_WIDGET_KEY\"<\/code> to your phone input. A <strong>Verify<\/strong> button appears next to it and opens the widget in a popup, and the form submits only after that number is verified. This works when you write the form in a Custom HTML block yourself, or when your form tool lets you add a custom attribute to the phone field.<\/p>\n<figure class=\"f2s-shot\"><img src=\"https:\/\/www.fast2sms.com\/help\/wp-content\/uploads\/2026\/11\/otpw-install-attach-hd-1-scaled.webp\" width=\"1440\" height=\"900\" loading=\"lazy\" decoding=\"async\" alt=\"Install tab, Mobile field sub-tab, with a Popup position picker set to Center and sample form code with data-f2s-otp-attach on the mobile input\"><figcaption>Mobile field mode: one attribute on your own phone input.<\/figcaption><\/figure>\n<figure class=\"f2s-shot\"><img src=\"https:\/\/www.fast2sms.com\/help\/wp-content\/uploads\/2026\/11\/otpw-site-attach-hd-1.webp\" width=\"768\" height=\"504\" loading=\"lazy\" decoding=\"async\" alt=\"Sample Sign up form with Your name, Mobile number 9000000001, a green Verify button under the field and a Sign up button\"><figcaption>The Verify button appears next to the mobile field.<\/figcaption><\/figure>\n<figure class=\"f2s-shot\"><img src=\"https:\/\/www.fast2sms.com\/help\/wp-content\/uploads\/2026\/11\/otpw-site-attach-open-hd-1.webp\" width=\"768\" height=\"580\" loading=\"lazy\" decoding=\"async\" alt=\"The widget open in a popup over the Sign up form, with the mobile number already filled in and a Send OTP button\"><figcaption>Clicking Verify opens the widget with the number already filled in.<\/figcaption><\/figure>\n<h3>Popup button: your own button opens the widget<\/h3>\n<p>Paste a button such as <code>&lt;button type=\"button\" data-f2s-otp-popup=\"YOUR_WIDGET_KEY\"&gt;Verify mobile&lt;\/button&gt;<\/code> in a Custom HTML block. Clicking it opens the widget in a popup. Pick the <strong>Popup position<\/strong> on the Install tab: centre, top, bottom, left, right or a corner. This mode needs nothing from your form plugin, so it works next to almost any form.<\/p>\n<figure class=\"f2s-shot\"><img src=\"https:\/\/www.fast2sms.com\/help\/wp-content\/uploads\/2026\/11\/otpw-site-popup-open-hd-1.webp\" width=\"768\" height=\"580\" loading=\"lazy\" decoding=\"async\" alt=\"Sample Cash on delivery page with a Verify mobile and place order button, and the OTP widget open in a popup below it\"><figcaption>A &#8220;Verify mobile and place order&#8221; button opening the widget in a popup.<\/figcaption><\/figure>\n<h3>Form mode, and what to do when your form plugin does not allow it<\/h3>\n<p>Form mode adds <code>data-f2s-otp-protect<\/code> to the <code>&lt;form&gt;<\/code> tag, so the form submits only after verification and gets a hidden <code>f2s_token<\/code> field. Many form plugins build the form tag themselves and do not let you add attributes to it. In that case use the Mobile field or Popup mode, or place the plain widget on the page and turn on one of these in the widget&#8217;s <strong>Settings<\/strong>:<\/p>\n<ul>\n<li><strong>After verify, open a page<\/strong>: the visitor goes to your page, for example a thank-you or next-step page, and that page gets the f2s_token.<\/li>\n<li><strong>Send verified numbers to my webhook<\/strong>: every verified number is posted to your https URL.<\/li>\n<\/ul>\n<figure class=\"f2s-shot\"><img src=\"https:\/\/www.fast2sms.com\/help\/wp-content\/uploads\/2026\/11\/otpw-settings-on-redirect-hd-scaled.webp\" width=\"1440\" height=\"900\" loading=\"lazy\" decoding=\"async\" alt=\"Widget Settings with After verify, open a page switched on with a thank-you page URL, Send verified numbers to my webhook switched on with a webhook URL, Show webhook secret link and Widget secret with a New secret button\"><figcaption>After verify page and webhook in the widget&#8217;s Settings.<\/figcaption><\/figure>\n<p>Test any form mode on the live page: try to submit once without verifying and once after verifying. Forms that send by AJAX can behave differently from plain forms, so check that the result is what you expect. For accounts, orders or anything that depends on the number, confirm the token on your server as shown in <a href=\"https:\/\/www.fast2sms.com\/help\/otp-widget-verify-token-webhook\/\">verify token and webhook<\/a>. Each mode is explained in more detail in <a href=\"https:\/\/www.fast2sms.com\/help\/otp-widget-popup-button-mobile-field\/\">popup button and mobile field<\/a>.<\/p>\n<h2>Who can paste scripts in WordPress<\/h2>\n<p>WordPress removes script tags from posts and pages saved by users who are not allowed to post unfiltered HTML. On a normal single site, Administrators and Editors can save the widget code, while Authors and Contributors cannot. On a multisite network only Super Admins can. If the box vanishes after you save, ask an Administrator to add the code. Some hosted WordPress plans do not allow custom scripts at all; check with your host.<\/p>\n<h2>Plugin or no plugin<\/h2>\n<p>Pasting the widget suits any page or form and needs no updates on your site. If you prefer a plugin, Fast2SMS has those too: see <a href=\"https:\/\/www.fast2sms.com\/help\/fast2sms-wordpress-plugin-setup-guide\/\">mobile OTP verification with the Fast2SMS WordPress plugin<\/a>, <a href=\"https:\/\/www.fast2sms.com\/help\/woocommerce-otp-verification\/\">WooCommerce OTP verification<\/a> for store login and checkout, and the <a href=\"https:\/\/www.fast2sms.com\/help\/otp-widget-wordpress-plugin-fast2sms\/\">OTP widget kit plugin with a shortcode<\/a> if you want to host the code yourself with your own API key.<\/p>\n<h2>What it costs<\/h2>\n<p>The widget is free to create and use. There is no setup or monthly fee. Each OTP is charged from your Fast2SMS wallet at your normal Smart OTP rate, including tests and resends. Rates are on the <a href=\"https:\/\/www.fast2sms.com\/otp-sms\">Smart OTP page<\/a>.<\/p>\n<div class=\"f2s-note f2s-volume\"><p><strong>Sending in bulk?<\/strong> For high OTP volumes our team offers discounted rates. <a href=\"https:\/\/www.fast2sms.com\/meet\/\" target=\"_blank\" rel=\"noopener\">Talk to our team<\/a> or see <a href=\"https:\/\/www.fast2sms.com\/bulk-sms-pricing\">OTP pricing<\/a>.<\/p><\/div>\n<h2>Common problems and fixes<\/h2>\n<div class=\"f2s-facts\">\n<table>\n<thead>\n<tr>\n<th>Problem<\/th>\n<th>Fix<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>The page shows &#8220;Mobile verification is not available on this page right now.&#8221;<\/td>\n<td>Add the exact domain to Websites, with and without www, plus any staging domain. Check that the widget is switched on.<\/td>\n<\/tr>\n<tr>\n<td>The box does not appear at all<\/td>\n<td>The script may have been removed on save (user role), or a caching or script optimisation plugin may be delaying it. Clear the cache and test again. If your site sends a Content Security Policy, allow https:\/\/www.fast2sms.com in script-src and frame-src.<\/td>\n<\/tr>\n<tr>\n<td>The form submits without OTP<\/td>\n<td>Your form tool may not have kept the attribute. Use the Popup mode, or the plain widget with the after-verify page or webhook.<\/td>\n<\/tr>\n<tr>\n<td>The widget stopped sending for the rest of the day<\/td>\n<td>A daily cap in Settings was reached. It starts again after midnight IST, or raise the cap.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<section class=\"f2s-faq\">\n<h2>Frequently asked questions<\/h2>\n<h3>Can I add OTP login to WordPress without a plugin?<\/h3>\n<p>Yes. Paste the widget code into a Custom HTML block or an HTML element. For a real login, your site also needs to check the f2s_token on the server and sign the user in, which needs a developer or a plugin.<\/p>\n<h3>Does it work with Elementor?<\/h3>\n<p>Yes, through the builder&#8217;s HTML widget. Check the result in preview or on the live page.<\/p>\n<h3>Can I add OTP verification to a WordPress contact form?<\/h3>\n<p>Yes. Use Mobile field mode if you can add an attribute to the phone field, otherwise a Popup button next to the form, or the plain widget with an after-verify page or webhook.<\/p>\n<h3>Can I use WhatsApp OTP on WordPress?<\/h3>\n<p>Yes. Pick a WhatsApp OTP ID when you create the widget. See the <a href=\"https:\/\/www.fast2sms.com\/help\/whatsapp-otp-widget-for-website\/\">WhatsApp OTP widget<\/a> guide.<\/p>\n<h3>Is my API key stored in WordPress?<\/h3>\n<p>No. The page only has the widget key. The widget runs in a frame from www.fast2sms.com.<\/p>\n<h3>How many sites can one widget cover?<\/h3>\n<p>Up to 20 websites per widget, and up to 20 widgets per account.<\/p>\n<\/section>\n<aside class=\"f2s-cta\" aria-label=\"Get started with Fast2SMS\"><div class=\"f2s-cta__copy\"><strong class=\"f2s-cta__title\">Put OTP on your WordPress site<\/strong><p>Sign up free, create a widget and paste two lines into a Custom HTML block.<\/p><\/div><div class=\"f2s-cta__actions\"><a class=\"f2s-cta__btn f2s-cta__btn--primary\" href=\"https:\/\/www.fast2sms.com\/\"><span>Sign up free<\/span> <span class=\"f2sh-btn__arrow\" aria-hidden=\"true\">&rarr;<\/span><\/a><a class=\"f2s-cta__btn f2s-cta__btn--ghost\" href=\"https:\/\/www.fast2sms.com\/meet\/\" target=\"_blank\" rel=\"noopener\">Book a free meeting<\/a><\/div><\/aside>\n<h2>Related guides<\/h2>\n<ul>\n<li><a href=\"https:\/\/www.fast2sms.com\/help\/otp-verification-signup-form\/\">OTP verification for signup forms<\/a><\/li>\n<li><a href=\"https:\/\/www.fast2sms.com\/otp-sms\">Smart OTP: SMS and WhatsApp OTP<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>You can add WordPress OTP verification without a plugin: create a free OTP widget in Fast2SMS, then paste two lines of code into a Custom HTML block or your page builder&#8217;s HTML element. Visitors verify their mobile number by SMS or WhatsApp through Fast2SMS Smart OTP. Nothing is installed on your WordPress site, no API [&hellip;]<\/p>\n","protected":false},"featured_media":20941,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,27],"tags":[],"class_list":["post-20949","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-otp","category-wordpress-plugin"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.9 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>WordPress OTP Verification Without Plugin | Fast2SMS<\/title>\n<meta name=\"description\" content=\"Add OTP verification to WordPress without a plugin: paste the free Fast2SMS OTP widget in a Custom HTML block, Elementor or your contact form. SMS or WhatsApp.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.fast2sms.com\/help\/add-otp-verification-wordpress-without-plugin\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"WordPress OTP Verification Without Plugin | Fast2SMS\" \/>\n<meta property=\"og:description\" content=\"Add OTP verification to WordPress without a plugin: paste the free Fast2SMS OTP widget in a Custom HTML block, Elementor or your contact form. SMS or WhatsApp.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.fast2sms.com\/help\/add-otp-verification-wordpress-without-plugin\/\" \/>\n<meta property=\"og:site_name\" content=\"Fast2SMS\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/Fast2SMS\/\" \/>\n<meta property=\"article:published_time\" content=\"2026-11-20T17:59:03+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.fast2sms.com\/help\/wp-content\/uploads\/2026\/11\/otpw-sms-setup-hd-1-scaled.webp\" \/>\n\t<meta property=\"og:image:width\" content=\"2560\" \/>\n\t<meta property=\"og:image:height\" content=\"1600\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/webp\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@fast2sms\" \/>\n<meta name=\"twitter:site\" content=\"@fast2sms\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/add-otp-verification-wordpress-without-plugin\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/add-otp-verification-wordpress-without-plugin\\\/\"},\"author\":{\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/#organization\"},\"headline\":\"Add OTP verification to WordPress without a plugin (Custom HTML block, Elementor, forms)\",\"datePublished\":\"2026-11-20T17:59:03+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/add-otp-verification-wordpress-without-plugin\\\/\"},\"wordCount\":1657,\"publisher\":{\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/add-otp-verification-wordpress-without-plugin\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/otpw-sms-setup-hd-1-scaled.webp\",\"articleSection\":[\"OTP\",\"WordPress Plugin\"],\"inLanguage\":\"en-IN\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/add-otp-verification-wordpress-without-plugin\\\/\",\"url\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/add-otp-verification-wordpress-without-plugin\\\/\",\"name\":\"WordPress OTP Verification Without Plugin | Fast2SMS\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/add-otp-verification-wordpress-without-plugin\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/add-otp-verification-wordpress-without-plugin\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/otpw-sms-setup-hd-1-scaled.webp\",\"datePublished\":\"2026-11-20T17:59:03+00:00\",\"description\":\"Add OTP verification to WordPress without a plugin: paste the free Fast2SMS OTP widget in a Custom HTML block, Elementor or your contact form. SMS or WhatsApp.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/add-otp-verification-wordpress-without-plugin\\\/#breadcrumb\"},\"inLanguage\":\"en-IN\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/add-otp-verification-wordpress-without-plugin\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-IN\",\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/add-otp-verification-wordpress-without-plugin\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/otpw-sms-setup-hd-1-scaled.webp\",\"contentUrl\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/otpw-sms-setup-hd-1-scaled.webp\",\"width\":2560,\"height\":1600,\"caption\":\"Widget Setup tab with name Website signup, SMS OTP ID b35f0e7a91 with sender DMTRDS, and websites demotraders.in, www.demotraders.in and localhost\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/add-otp-verification-wordpress-without-plugin\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"OTP\",\"item\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/otp\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Add OTP verification to WordPress without a plugin (Custom HTML block, Elementor, forms)\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/#website\",\"url\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/\",\"name\":\"Fast2SMS\",\"description\":\"Help\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/#organization\"},\"inLanguage\":\"en-IN\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/#organization\",\"name\":\"Fast2SMS\",\"url\":\"https:\\\/\\\/www.fast2sms.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/#logo\",\"url\":\"https:\\\/\\\/www.fast2sms.com\\\/Fast2SMS.png\",\"contentUrl\":\"https:\\\/\\\/www.fast2sms.com\\\/Fast2SMS.png\",\"caption\":\"Fast2SMS\"},\"image\":{\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/#logo\"},\"email\":\"support@fast2sms.com\",\"telephone\":\"+91-6262778822\",\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/Fast2SMS\",\"https:\\\/\\\/www.instagram.com\\\/fast2sms\",\"https:\\\/\\\/x.com\\\/fast2sms\",\"https:\\\/\\\/www.youtube.com\\\/Fast2SMSofficial\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/fast2sms\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"WordPress OTP Verification Without Plugin | Fast2SMS","description":"Add OTP verification to WordPress without a plugin: paste the free Fast2SMS OTP widget in a Custom HTML block, Elementor or your contact form. SMS or WhatsApp.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.fast2sms.com\/help\/add-otp-verification-wordpress-without-plugin\/","og_locale":"en_US","og_type":"article","og_title":"WordPress OTP Verification Without Plugin | Fast2SMS","og_description":"Add OTP verification to WordPress without a plugin: paste the free Fast2SMS OTP widget in a Custom HTML block, Elementor or your contact form. SMS or WhatsApp.","og_url":"https:\/\/www.fast2sms.com\/help\/add-otp-verification-wordpress-without-plugin\/","og_site_name":"Fast2SMS","article_publisher":"https:\/\/www.facebook.com\/Fast2SMS\/","article_published_time":"2026-11-20T17:59:03+00:00","og_image":[{"width":2560,"height":1600,"url":"https:\/\/www.fast2sms.com\/help\/wp-content\/uploads\/2026\/11\/otpw-sms-setup-hd-1-scaled.webp","type":"image\/webp"}],"twitter_card":"summary_large_image","twitter_creator":"@fast2sms","twitter_site":"@fast2sms","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.fast2sms.com\/help\/add-otp-verification-wordpress-without-plugin\/#article","isPartOf":{"@id":"https:\/\/www.fast2sms.com\/help\/add-otp-verification-wordpress-without-plugin\/"},"author":{"@id":"https:\/\/www.fast2sms.com\/#organization"},"headline":"Add OTP verification to WordPress without a plugin (Custom HTML block, Elementor, forms)","datePublished":"2026-11-20T17:59:03+00:00","mainEntityOfPage":{"@id":"https:\/\/www.fast2sms.com\/help\/add-otp-verification-wordpress-without-plugin\/"},"wordCount":1657,"publisher":{"@id":"https:\/\/www.fast2sms.com\/#organization"},"image":{"@id":"https:\/\/www.fast2sms.com\/help\/add-otp-verification-wordpress-without-plugin\/#primaryimage"},"thumbnailUrl":"https:\/\/www.fast2sms.com\/help\/wp-content\/uploads\/2026\/11\/otpw-sms-setup-hd-1-scaled.webp","articleSection":["OTP","WordPress Plugin"],"inLanguage":"en-IN"},{"@type":"WebPage","@id":"https:\/\/www.fast2sms.com\/help\/add-otp-verification-wordpress-without-plugin\/","url":"https:\/\/www.fast2sms.com\/help\/add-otp-verification-wordpress-without-plugin\/","name":"WordPress OTP Verification Without Plugin | Fast2SMS","isPartOf":{"@id":"https:\/\/www.fast2sms.com\/help\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.fast2sms.com\/help\/add-otp-verification-wordpress-without-plugin\/#primaryimage"},"image":{"@id":"https:\/\/www.fast2sms.com\/help\/add-otp-verification-wordpress-without-plugin\/#primaryimage"},"thumbnailUrl":"https:\/\/www.fast2sms.com\/help\/wp-content\/uploads\/2026\/11\/otpw-sms-setup-hd-1-scaled.webp","datePublished":"2026-11-20T17:59:03+00:00","description":"Add OTP verification to WordPress without a plugin: paste the free Fast2SMS OTP widget in a Custom HTML block, Elementor or your contact form. SMS or WhatsApp.","breadcrumb":{"@id":"https:\/\/www.fast2sms.com\/help\/add-otp-verification-wordpress-without-plugin\/#breadcrumb"},"inLanguage":"en-IN","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.fast2sms.com\/help\/add-otp-verification-wordpress-without-plugin\/"]}]},{"@type":"ImageObject","inLanguage":"en-IN","@id":"https:\/\/www.fast2sms.com\/help\/add-otp-verification-wordpress-without-plugin\/#primaryimage","url":"https:\/\/www.fast2sms.com\/help\/wp-content\/uploads\/2026\/11\/otpw-sms-setup-hd-1-scaled.webp","contentUrl":"https:\/\/www.fast2sms.com\/help\/wp-content\/uploads\/2026\/11\/otpw-sms-setup-hd-1-scaled.webp","width":2560,"height":1600,"caption":"Widget Setup tab with name Website signup, SMS OTP ID b35f0e7a91 with sender DMTRDS, and websites demotraders.in, www.demotraders.in and localhost"},{"@type":"BreadcrumbList","@id":"https:\/\/www.fast2sms.com\/help\/add-otp-verification-wordpress-without-plugin\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.fast2sms.com\/help\/"},{"@type":"ListItem","position":2,"name":"OTP","item":"https:\/\/www.fast2sms.com\/help\/otp\/"},{"@type":"ListItem","position":3,"name":"Add OTP verification to WordPress without a plugin (Custom HTML block, Elementor, forms)"}]},{"@type":"WebSite","@id":"https:\/\/www.fast2sms.com\/help\/#website","url":"https:\/\/www.fast2sms.com\/help\/","name":"Fast2SMS","description":"Help","publisher":{"@id":"https:\/\/www.fast2sms.com\/#organization"},"inLanguage":"en-IN"},{"@type":"Organization","@id":"https:\/\/www.fast2sms.com\/#organization","name":"Fast2SMS","url":"https:\/\/www.fast2sms.com\/","logo":{"@type":"ImageObject","@id":"https:\/\/www.fast2sms.com\/#logo","url":"https:\/\/www.fast2sms.com\/Fast2SMS.png","contentUrl":"https:\/\/www.fast2sms.com\/Fast2SMS.png","caption":"Fast2SMS"},"image":{"@id":"https:\/\/www.fast2sms.com\/#logo"},"email":"support@fast2sms.com","telephone":"+91-6262778822","sameAs":["https:\/\/www.facebook.com\/Fast2SMS","https:\/\/www.instagram.com\/fast2sms","https:\/\/x.com\/fast2sms","https:\/\/www.youtube.com\/Fast2SMSofficial","https:\/\/www.linkedin.com\/company\/fast2sms"]}]}},"_links":{"self":[{"href":"https:\/\/www.fast2sms.com\/help\/wp-json\/wp\/v2\/posts\/20949","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.fast2sms.com\/help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.fast2sms.com\/help\/wp-json\/wp\/v2\/types\/post"}],"replies":[{"embeddable":true,"href":"https:\/\/www.fast2sms.com\/help\/wp-json\/wp\/v2\/comments?post=20949"}],"version-history":[{"count":0,"href":"https:\/\/www.fast2sms.com\/help\/wp-json\/wp\/v2\/posts\/20949\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.fast2sms.com\/help\/wp-json\/wp\/v2\/media\/20941"}],"wp:attachment":[{"href":"https:\/\/www.fast2sms.com\/help\/wp-json\/wp\/v2\/media?parent=20949"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.fast2sms.com\/help\/wp-json\/wp\/v2\/categories?post=20949"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.fast2sms.com\/help\/wp-json\/wp\/v2\/tags?post=20949"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}