{"id":2327,"date":"2021-06-21T10:51:45","date_gmt":"2021-06-21T10:51:45","guid":{"rendered":"https:\/\/elementor.com\/academy\/?p=2327"},"modified":"2023-04-24T13:22:25","modified_gmt":"2023-04-24T13:22:25","slug":"create-a-content-lock-popup-in-wordpress","status":"publish","type":"post","link":"https:\/\/elementor.com\/academy\/create-a-content-lock-popup-in-wordpress\/","title":{"rendered":"Create a Content Lock Popup in WordPress"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-post\" data-elementor-id=\"2327\" class=\"elementor elementor-2327\" data-elementor-post-type=\"post\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-576edda1 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"576edda1\" data-element_type=\"section\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-4dd8a605\" data-id=\"4dd8a605\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-c0f352c elementor-widget elementor-widget-video\" data-id=\"c0f352c\" data-element_type=\"widget\" data-settings=\"{&quot;youtube_url&quot;:&quot;https:\\\/\\\/www.youtube.com\\\/watch?v=hEsoZGyNkCY&quot;,&quot;video_type&quot;:&quot;youtube&quot;,&quot;controls&quot;:&quot;yes&quot;}\" data-widget_type=\"video.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-wrapper elementor-open-inline\">\n\t\t\t<div class=\"elementor-video\"><\/div>\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-5441f385 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"5441f385\" data-element_type=\"section\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-6b22a7e3\" data-id=\"6b22a7e3\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-447dea91 elementor-tabs-view-horizontal elementor-widget elementor-widget-tabs\" data-id=\"447dea91\" data-element_type=\"widget\" data-widget_type=\"tabs.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-tabs\">\n\t\t\t<div class=\"elementor-tabs-wrapper\" role=\"tablist\" >\n\t\t\t\t\t\t\t\t\t<div id=\"elementor-tab-title-1141\" class=\"elementor-tab-title elementor-tab-desktop-title\" aria-selected=\"true\" data-tab=\"1\" role=\"tab\" tabindex=\"0\" aria-controls=\"elementor-tab-content-1141\" aria-expanded=\"false\">Overview<\/div>\n\t\t\t\t\t\t\t\t\t<div id=\"elementor-tab-title-1142\" class=\"elementor-tab-title elementor-tab-desktop-title\" aria-selected=\"false\" data-tab=\"2\" role=\"tab\" tabindex=\"-1\" aria-controls=\"elementor-tab-content-1142\" aria-expanded=\"false\">Transcript<\/div>\n\t\t\t\t\t\t\t<\/div>\n\t\t\t<div class=\"elementor-tabs-content-wrapper\" role=\"tablist\" aria-orientation=\"vertical\">\n\t\t\t\t\t\t\t\t\t<div class=\"elementor-tab-title elementor-tab-mobile-title\" aria-selected=\"true\" data-tab=\"1\" role=\"tab\" tabindex=\"0\" aria-controls=\"elementor-tab-content-1141\" aria-expanded=\"false\">Overview<\/div>\n\t\t\t\t\t<div id=\"elementor-tab-content-1141\" class=\"elementor-tab-content elementor-clearfix\" data-tab=\"1\" role=\"tabpanel\" aria-labelledby=\"elementor-tab-title-1141\" tabindex=\"0\" hidden=\"false\"><p>In this tutorial, we&#8217;ll show you how to create a content lock popup using Elementor&#8217;s Popup Builder. You&#8217;ll also learn how to set a button that triggers a popup, prevent closing on overlay or on the Esc key and more.<\/p><\/div>\n\t\t\t\t\t\t\t\t\t<div class=\"elementor-tab-title elementor-tab-mobile-title\" aria-selected=\"false\" data-tab=\"2\" role=\"tab\" tabindex=\"-1\" aria-controls=\"elementor-tab-content-1142\" aria-expanded=\"false\">Transcript<\/div>\n\t\t\t\t\t<div id=\"elementor-tab-content-1142\" class=\"elementor-tab-content elementor-clearfix\" data-tab=\"2\" role=\"tabpanel\" aria-labelledby=\"elementor-tab-title-1142\" tabindex=\"0\" hidden=\"hidden\"><p>well hello there Cassie from Elementor<br \/>here today I&#8217;ll show you how to use and<br \/>design a Content lock pop-up you know<br \/>for like sites selling alcohol in the<br \/>dashboard under templates add new choose<br \/>pop-up and give it a name that you&#8217;ll<br \/>remember click create template and close<br \/>the library window set the width to 600<br \/>pixels the height to 800 set the content<br \/>position to the center slide the close<br \/>button to hide why so that the pop-up<br \/>won&#8217;t close until the user clicks their<br \/>response in entrance animation let&#8217;s use<br \/>fade in now let&#8217;s add some content to<br \/>our pop-up and later we&#8217;ll finish the<br \/>rest of our settings drag in a heading<br \/>widget compose your text and design it<br \/>the size color box shadow etc drag in a<br \/>button widget fill in your answer text<br \/>as yes and add an icon in style design<br \/>the button border-radius<br \/>padding box shadow and more even add<br \/>some animation on hover now add another<br \/>button and change the text to no here<br \/>you can also personalize it with various<br \/>settings alrighty<br \/>back to setting up the pop-up itself<br \/>click the COG icon in the bottom here<br \/>under style make it transparent and add<br \/>a background image here you can play<br \/>around with further settings in the<br \/>Advanced tab add padding on the right<br \/>and left over to the section settings<br \/>style add a thick border of 15 pixels<br \/>and some<br \/>adding just on the bottom click the<br \/>column handle to design its background<br \/>choose gradient and radio let&#8217;s also add<br \/>some box shadow in advanced let&#8217;s make<br \/>the column jump out of its frame by<br \/>adjusting the margin and padding back to<br \/>the heading let&#8217;s change it from black<br \/>to white as well as the buttons color<br \/>check it out our pop up looks awesome<br \/>we&#8217;re aiming to make the yes button<br \/>close the pop-up first go to the button<br \/>link under dynamic choose pop up and<br \/>press popup again choose close pop up<br \/>and slide don&#8217;t show again<br \/>whoever answers no will be sent to a<br \/>more age-appropriate site to ensure that<br \/>your users respond head on back to popup<br \/>settings in the Advanced tab slide on<br \/>prevent closing on overlay and Escape<br \/>key and click publish<br \/>keep in mind for this example you don&#8217;t<br \/>need conditions triggers or advanced<br \/>rules why not because this pop-up is<br \/>displayed via clicking a button save and<br \/>close so let&#8217;s get into the settings of<br \/>the button that opens the pop-up so on<br \/>our page click on by now<br \/>under link dynamic choose pop-up click<br \/>pop up again for action open pop-up and<br \/>find our pop-up that&#8217;s it let&#8217;s see it<br \/>in action here we see the home page<br \/>click Buy Now and then the pop-up<br \/>appears well done before we finish<br \/>check out this slide trick you can even<br \/>configure a click on a pop-up to open<br \/>yet another pop-up using a whole other<br \/>design not only that within that second<br \/>pop-up add a third pop-up endlessly<br \/>entertaining right but don&#8217;t ever use it<br \/>if you still want any friends happy hour<br \/>Cheers<br \/>subscribe to our YouTube channel for<br \/>more pop-up design tips<\/p><\/div>\n\t\t\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>Overview Transcript Overview In this tutorial, we\u2019ll show you how to create a content lock popup using Elementor\u2019s Popup Builder. You\u2019ll also learn how to set a button that triggers a popup, prevent closing on overlay or on the Esc key and more. Transcript well hello there Cassie from Elementor here today I\u2019ll show you [&hellip;]<\/p>\n","protected":false},"author":8,"featured_media":9718,"comment_status":"closed","ping_status":"open","sticky":false,"template":"elementor_theme","format":"standard","meta":{"footnotes":""},"categories":[4,14],"tags":[41],"class_list":["post-2327","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-design-layout","category-pop-up","tag-guides-tutorials"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Create a Content Lock Popup in WordPress - Academy<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/elementor.com\/academy\/create-a-content-lock-popup-in-wordpress\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Create a Content Lock Popup in WordPress - Academy\" \/>\n<meta property=\"og:description\" content=\"Overview Transcript Overview In this tutorial, we\u2019ll show you how to create a content lock popup using Elementor\u2019s Popup Builder. You\u2019ll also learn how to set a button that triggers a popup, prevent closing on overlay or on the Esc key and more. Transcript well hello there Cassie from Elementor here today I\u2019ll show you [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/elementor.com\/academy\/create-a-content-lock-popup-in-wordpress\/\" \/>\n<meta property=\"og:site_name\" content=\"Academy\" \/>\n<meta property=\"article:published_time\" content=\"2021-06-21T10:51:45+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-04-24T13:22:25+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/elementor.com\/academy\/wp-content\/uploads\/2021\/06\/Content-Lock-Popup.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1920\" \/>\n\t<meta property=\"og:image:height\" content=\"1080\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Hodaya\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Hodaya\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Create a Content Lock Popup in WordPress - Academy","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:\/\/elementor.com\/academy\/create-a-content-lock-popup-in-wordpress\/","og_locale":"en_US","og_type":"article","og_title":"Create a Content Lock Popup in WordPress - Academy","og_description":"Overview Transcript Overview In this tutorial, we\u2019ll show you how to create a content lock popup using Elementor\u2019s Popup Builder. You\u2019ll also learn how to set a button that triggers a popup, prevent closing on overlay or on the Esc key and more. Transcript well hello there Cassie from Elementor here today I\u2019ll show you [&hellip;]","og_url":"https:\/\/elementor.com\/academy\/create-a-content-lock-popup-in-wordpress\/","og_site_name":"Academy","article_published_time":"2021-06-21T10:51:45+00:00","article_modified_time":"2023-04-24T13:22:25+00:00","og_image":[{"width":1920,"height":1080,"url":"https:\/\/elementor.com\/academy\/wp-content\/uploads\/2021\/06\/Content-Lock-Popup.jpg","type":"image\/jpeg"}],"author":"Hodaya","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Hodaya","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/elementor.com\/academy\/create-a-content-lock-popup-in-wordpress\/#article","isPartOf":{"@id":"https:\/\/elementor.com\/academy\/create-a-content-lock-popup-in-wordpress\/"},"author":{"name":"Hodaya","@id":"https:\/\/elementor.com\/academy\/#\/schema\/person\/ff9f2661f3df53ae5842a9ad15853d1c"},"headline":"Create a Content Lock Popup in WordPress","datePublished":"2021-06-21T10:51:45+00:00","dateModified":"2023-04-24T13:22:25+00:00","mainEntityOfPage":{"@id":"https:\/\/elementor.com\/academy\/create-a-content-lock-popup-in-wordpress\/"},"wordCount":607,"publisher":{"@id":"https:\/\/elementor.com\/academy\/#organization"},"image":{"@id":"https:\/\/elementor.com\/academy\/create-a-content-lock-popup-in-wordpress\/#primaryimage"},"thumbnailUrl":"https:\/\/elementor.com\/academy\/wp-content\/uploads\/2021\/06\/Content-Lock-Popup.jpg","keywords":["Guides and Tutorials"],"articleSection":["Design \/ Layout","Pop Up"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/elementor.com\/academy\/create-a-content-lock-popup-in-wordpress\/","url":"https:\/\/elementor.com\/academy\/create-a-content-lock-popup-in-wordpress\/","name":"Create a Content Lock Popup in WordPress - Academy","isPartOf":{"@id":"https:\/\/elementor.com\/academy\/#website"},"primaryImageOfPage":{"@id":"https:\/\/elementor.com\/academy\/create-a-content-lock-popup-in-wordpress\/#primaryimage"},"image":{"@id":"https:\/\/elementor.com\/academy\/create-a-content-lock-popup-in-wordpress\/#primaryimage"},"thumbnailUrl":"https:\/\/elementor.com\/academy\/wp-content\/uploads\/2021\/06\/Content-Lock-Popup.jpg","datePublished":"2021-06-21T10:51:45+00:00","dateModified":"2023-04-24T13:22:25+00:00","breadcrumb":{"@id":"https:\/\/elementor.com\/academy\/create-a-content-lock-popup-in-wordpress\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/elementor.com\/academy\/create-a-content-lock-popup-in-wordpress\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/elementor.com\/academy\/create-a-content-lock-popup-in-wordpress\/#primaryimage","url":"https:\/\/elementor.com\/academy\/wp-content\/uploads\/2021\/06\/Content-Lock-Popup.jpg","contentUrl":"https:\/\/elementor.com\/academy\/wp-content\/uploads\/2021\/06\/Content-Lock-Popup.jpg","width":1920,"height":1080},{"@type":"BreadcrumbList","@id":"https:\/\/elementor.com\/academy\/create-a-content-lock-popup-in-wordpress\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Elementor","item":"https:\/\/elementor.com\/"},{"@type":"ListItem","position":2,"name":"Academy","item":"https:\/\/elementor.com\/academy\/"},{"@type":"ListItem","position":3,"name":"Design \/ Layout","item":"https:\/\/elementor.com\/academy\/design-layout\/"},{"@type":"ListItem","position":4,"name":"Create a Content Lock Popup in WordPress"}]},{"@type":"WebSite","@id":"https:\/\/elementor.com\/academy\/#website","url":"https:\/\/elementor.com\/academy\/","name":"Elementor Academy","description":"Page Builder for WordPress","publisher":{"@id":"https:\/\/elementor.com\/academy\/#organization"},"alternateName":"https:\/\/elementor.com\/academy\/wp-content\/uploads\/2021\/02\/Elementor-Logo.png","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/elementor.com\/academy\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/elementor.com\/academy\/#organization","name":"Elementor Academy","alternateName":"https:\/\/elementor.com\/academy\/wp-content\/uploads\/2021\/02\/Elementor-Logo.png","url":"https:\/\/elementor.com\/academy\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/elementor.com\/academy\/#\/schema\/logo\/image\/","url":"https:\/\/elementor.com\/academy\/wp-content\/uploads\/2022\/11\/e-logo.svg","contentUrl":"https:\/\/elementor.com\/academy\/wp-content\/uploads\/2022\/11\/e-logo.svg","width":490,"height":85,"caption":"Elementor Academy"},"image":{"@id":"https:\/\/elementor.com\/academy\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/elementor.com\/academy\/#\/schema\/person\/ff9f2661f3df53ae5842a9ad15853d1c","name":"Hodaya","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/elementor.com\/academy\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/324f2d5cff44331b747d766f10e31793b1e29ad4f98f129d409760191f88ccc5?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/324f2d5cff44331b747d766f10e31793b1e29ad4f98f129d409760191f88ccc5?s=96&d=mm&r=g","caption":"Hodaya"},"url":"https:\/\/elementor.com\/academy\/author\/hodaya\/"}]}},"_links":{"self":[{"href":"https:\/\/elementor.com\/academy\/wp-json\/wp\/v2\/posts\/2327","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/elementor.com\/academy\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/elementor.com\/academy\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/elementor.com\/academy\/wp-json\/wp\/v2\/users\/8"}],"replies":[{"embeddable":true,"href":"https:\/\/elementor.com\/academy\/wp-json\/wp\/v2\/comments?post=2327"}],"version-history":[{"count":1,"href":"https:\/\/elementor.com\/academy\/wp-json\/wp\/v2\/posts\/2327\/revisions"}],"predecessor-version":[{"id":9486,"href":"https:\/\/elementor.com\/academy\/wp-json\/wp\/v2\/posts\/2327\/revisions\/9486"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/elementor.com\/academy\/wp-json\/wp\/v2\/media\/9718"}],"wp:attachment":[{"href":"https:\/\/elementor.com\/academy\/wp-json\/wp\/v2\/media?parent=2327"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/elementor.com\/academy\/wp-json\/wp\/v2\/categories?post=2327"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/elementor.com\/academy\/wp-json\/wp\/v2\/tags?post=2327"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}