{"id":34800,"date":"2023-02-07T12:40:06","date_gmt":"2023-02-07T12:40:06","guid":{"rendered":"https:\/\/crocoblock.com\/knowledge-base\/?post_type=article&#038;p=34800"},"modified":"2023-07-19T09:45:17","modified_gmt":"2023-07-19T09:45:17","slug":"how-to-create-popup-in-gutenberg","status":"publish","type":"article","link":"https:\/\/crocoblock.com\/knowledge-base\/jetpopup\/how-to-create-popup-in-gutenberg\/","title":{"rendered":"How to Create Popup in Gutenberg"},"content":{"rendered":"\n<p>To create a new pop-up, navigate to the <strong><em>JetPopup &gt; Add New Popup<\/em><\/strong> tab in WordPress Dashboard.<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/02\/add-new-popup-1-1.png\" alt=\"add new popup\">\n\n\n\n<p>Also, you can proceed to the <strong><em>JetPopup &gt; All Popups <\/em><\/strong>tab and press the <strong>\u201cCreate New Popup\u201d <\/strong>button. In the appeared window, select the \u201cBlock editor\u201d <strong>Content Type<\/strong>. You can also enter the <strong>Name<\/strong> and <strong>Choose Preset<\/strong>. When you finish, push the <strong>\u201cCreate\u201d <\/strong>button.<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/02\/create-a-new-popup-window-2-1024x603.png\" alt=\"create a new popup window\">\n\n\n\n<p>You will proceed to the Gutenberg (Block) editor. If you choose a popup preset, the editor page will be filled with some blocks.<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/02\/popup-preset-in-gutenberg-2-1024x603.png\" alt=\"popup preset in Gutenberg\">\n\n\n\n<p>Feel free to use diverse blocks and settings to create the pop-up layout.<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/02\/popup-layout-in-the-block-editor-2-1024x605.png\" alt=\"popup layout in the block editor\">\n\n\n\n<p>Then, click on the <strong>\u201cJetPopup\u201d <\/strong>icon in the top right corner.<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/02\/jetpopup-settings-2-1024x603.png\" alt=\"jetpopup settings\">\n\n\n<div class=\"note-banner d-flex border-bold border-jetsmartfilters rounded overflow-hidden p-20\"><div class=\"mr-12\"><svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path d=\"M1 21H23L12 2L1 21ZM13 18H11V16H13V18ZM13 14H11V10H13V14Z\" fill=\"#FA5450\"\/><\/svg><\/div><div class=\"d-flex flex-column\"><div class=\"text-900 mb-12\">Warning<\/div><p class=\"m-0\">If you hit the <strong>star<\/strong> icon, you unpin the JetPopup settings tab from the toolbar.<\/p><\/div><\/div>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/02\/unpin-from-toolbar.png\" alt=\"unpin from toolbar\">\n\n\n\n<p>If you close the unpinned tab, you can open it again by clicking the <strong>tree-dots <\/strong>icon and hitting the <strong>JetPopup <\/strong>option in the <strong>Plugins <\/strong>section.<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/02\/jetpopup-plugin-in-the-gutenberg-toolbar.png\" alt=\"jetpopup plugin in the Gutenberg toolbar\">\n\n\n\n<p>There are such options in the <strong>Settings <\/strong>section:<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/02\/popup-animation.png\" alt=\"popup animation\">\n\n\n\n<p><strong>Animation. <\/strong>Select an animation effect for the pop-up;<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/02\/popup-open-event.png\" alt=\"popup open event\">\n\n\n\n<ul>\n<li><strong>Open event. <\/strong>Pick the trigger event:\n<ul>\n<li><strong>On page load(s)<\/strong> \u2013 the pop-up will be displayed when the visitor opens the new page. You can also set the <strong>Open delay <\/strong>in seconds;<\/li>\n\n\n\n<li><strong>Inactivity time after(s)<\/strong> \u2013 the pop-up will be displayed after the visitor has been inactive on the page. Set the <strong>User inactivity time <\/strong>in seconds;<\/li>\n\n\n\n<li><strong>Page Scrolled (%)<\/strong> \u2013 the pop-up window appears when the visitor scrolls the page to a certain percent set in the <strong>Scroll Page Progress(%) <\/strong>field;<\/li>\n\n\n\n<li><strong>Try exit<\/strong> \u2013 the pop-up will be shown when the visitor intends to exit the page;<\/li>\n\n\n\n<li><strong>On Date<\/strong> \u2013 define the date and time in the <strong>Open Date <\/strong>field to start showing the pop-up;<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/02\/popup-open-event-on-date.png\" alt=\"popup open event on date\">\n\n\n\n<ul>\n<li><strong>On Time. <\/strong>Define the <strong>Start Time <\/strong>and <strong>End Time<\/strong> to show the pop-up on a specific period every day;<\/li>\n<\/ul>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/02\/popup-open-event-on-time.png\" alt=\"popup open event on time\">\n\n\n\n<ul>\n<li><strong>Custom Selector Click<\/strong> \u2013 you can insert a custom selector from the widget, which will be a trigger for displaying the pop-up. The first one is the <strong>Class<\/strong> selector. To get it, proceed to the front end, push the <strong>F12<\/strong> keyboard button, and copy the selector inside the used widget. When pasting it into the <strong>Custom Selector<\/strong> bar, put a dot before it. The second is a CSS <strong>ID<\/strong>. It is also copied from the code you see after clicking <strong>F12<\/strong>. When pasting this type of selector into the <strong>Custom Selector<\/strong> bar, put a hash symbol before it.<\/li>\n<\/ul>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/02\/prevent-page-scrolling-if-a-popup-is-open-1.png\" alt=\"prevent page scrolling if a popup is open\">\n\n\n\n<ul>\n<li><strong>Disable Page Scrolling<\/strong>. If enabled, users won\u2019t be able to scroll the page after the pop-up appears;<\/li>\n\n\n\n<li><strong>Show Once<\/strong>. If enabled, the pop-up will be shown only once, but you can also set the timeout caching in the <strong>Repeat showing popup in<\/strong> field so that the pop-up will be displayed again;<\/li>\n<\/ul>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/02\/loading-popup-content-with-ajax.png\" alt=\"loading popup content with ajax\">\n\n\n\n<ul>\n<li><strong>Loading content with Ajax<\/strong>. The pop-up context loads using the <strong>AJAX<\/strong> method;<\/li>\n\n\n\n<li><strong>Force loading. <\/strong>The pop-up content loads every time it is opened;<\/li>\n\n\n\n<li><strong>Use close button. <\/strong>If enabled, it adds the button to the pop-up by clicking on which users can close the pop-up;<\/li>\n\n\n\n<li><strong>SVG icon. <\/strong>Here, you can <strong>Select Icon <\/strong>for the close button;<\/li>\n\n\n\n<li><strong>Use overlay<\/strong>. If enabled, cover the screen beyond the pop-up by darkening the background;<\/li>\n\n\n\n<li><strong>Close on overlay click<\/strong>. If enabled, the user can close the pop-up by clicking on the overlay;<\/li>\n\n\n\n<li><strong>Display Conditions<\/strong>. If you push the <strong>\u201cEdit Conditions\u201d<\/strong> button, you will proceed to <strong>JetPopups &gt; All Popup<\/strong> with the <strong>Set the popup visibility conditions pop-up<\/strong> window. You can specify the pages where you want to show the pop-up and where it shouldn\u2019t be displayed using the \u201cInclude\u201d and \u201cExclude\u201d options. Proceed to the following tutorial to learn more: <strong><a href=\"https:\/\/crocoblock.com\/knowledge-base\/features\/popup-conditions-overview\/\" target=\"_blank\" rel=\"noreferrer noopener\">Popup Conditions Overview<\/a><\/strong>.<\/li>\n<\/ul>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/02\/set-the-popup-visibility-conditions-1-2.png\" alt=\"set the popup visibility conditions\">\n\n\n\n<p>Set the needed conditions and hit the <strong>\u201cSave Conditions\u201d <\/strong>button.<\/p>\n\n\n\n<p>Return to the Elementor editing page. To finish the popup customization, proceed to the&nbsp;<strong><a href=\"https:\/\/crocoblock.com\/knowledge-base\/jetpopup\/popup-style-settings-overview-in-gutenberg\/\" target=\"_blank\" rel=\"noreferrer noopener\">Popup Style Settings Overview in Gutenberg<\/a><\/strong>.<\/p>\n\n\n\n<p>When you are done, hit the <strong>\u201cPublish\/Update\u201d <\/strong>button.<\/p>\n\n\n\n<p>Open a page where the pop-up is attached and complete the trigger event to check if the pop-up appears.<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/02\/jetpopup-on-the-front-end-2-1024x602.png\" alt=\"jetpopup on the front end\">\n\n\n\n<p>That\u2019s all. Now you can create different pop-up layouts in the Gutenberg builder with the help of the <em>JetPopup<\/em> plugin.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Follow the guide on how to create a popup template in the Gutenberg (Block editor) builder, style it up, and assign it to the WordPress website using the JetPopup plugin.<\/p>\n","protected":false},"author":8,"featured_media":0,"template":"","format":"standard","builder-category":[],"article-category":[482],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.9 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Create Popup in Gutenberg (Block Editor) | Crocoblock<\/title>\n<meta name=\"description\" content=\"Follow the guide on how to create a popup template in the Gutenberg (Block editor) builder, style it up, and assign it to the WordPress website using the JetPopup plugin.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/crocoblock.com\/knowledge-base\/jetpopup\/how-to-create-popup-in-gutenberg\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Create Popup in Gutenberg (Block Editor) | Crocoblock\" \/>\n<meta property=\"og:description\" content=\"Follow the guide on how to create a popup template in the Gutenberg (Block editor) builder, style it up, and assign it to the WordPress website using the JetPopup plugin.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/crocoblock.com\/knowledge-base\/jetpopup\/how-to-create-popup-in-gutenberg\/\" \/>\n<meta property=\"og:site_name\" content=\"Help Center\" \/>\n<meta property=\"article:modified_time\" content=\"2023-07-19T09:45:17+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/02\/add-new-popup-1-1.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"6 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/jetpopup\/how-to-create-popup-in-gutenberg\/\",\"url\":\"https:\/\/crocoblock.com\/knowledge-base\/jetpopup\/how-to-create-popup-in-gutenberg\/\",\"name\":\"How to Create Popup in Gutenberg (Block Editor) | Crocoblock\",\"isPartOf\":{\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/#website\"},\"datePublished\":\"2023-02-07T12:40:06+00:00\",\"dateModified\":\"2023-07-19T09:45:17+00:00\",\"description\":\"Follow the guide on how to create a popup template in the Gutenberg (Block editor) builder, style it up, and assign it to the WordPress website using the JetPopup plugin.\",\"breadcrumb\":{\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/jetpopup\/how-to-create-popup-in-gutenberg\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/crocoblock.com\/knowledge-base\/jetpopup\/how-to-create-popup-in-gutenberg\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/jetpopup\/how-to-create-popup-in-gutenberg\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/crocoblock.com\/knowledge-base\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Articles\",\"item\":\"https:\/\/crocoblock.com\/knowledge-base\/articles\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"How to Create Popup in Gutenberg\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/#website\",\"url\":\"https:\/\/crocoblock.com\/knowledge-base\/\",\"name\":\"Help Center\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/crocoblock.com\/knowledge-base\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/#organization\",\"name\":\"Help Center\",\"url\":\"https:\/\/crocoblock.com\/knowledge-base\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/04\/invert-crocoblock-logo.svg\",\"contentUrl\":\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/04\/invert-crocoblock-logo.svg\",\"caption\":\"Help Center\"},\"image\":{\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Create Popup in Gutenberg (Block Editor) | Crocoblock","description":"Follow the guide on how to create a popup template in the Gutenberg (Block editor) builder, style it up, and assign it to the WordPress website using the JetPopup plugin.","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:\/\/crocoblock.com\/knowledge-base\/jetpopup\/how-to-create-popup-in-gutenberg\/","og_locale":"en_US","og_type":"article","og_title":"How to Create Popup in Gutenberg (Block Editor) | Crocoblock","og_description":"Follow the guide on how to create a popup template in the Gutenberg (Block editor) builder, style it up, and assign it to the WordPress website using the JetPopup plugin.","og_url":"https:\/\/crocoblock.com\/knowledge-base\/jetpopup\/how-to-create-popup-in-gutenberg\/","og_site_name":"Help Center","article_modified_time":"2023-07-19T09:45:17+00:00","og_image":[{"url":"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/02\/add-new-popup-1-1.png"}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/crocoblock.com\/knowledge-base\/jetpopup\/how-to-create-popup-in-gutenberg\/","url":"https:\/\/crocoblock.com\/knowledge-base\/jetpopup\/how-to-create-popup-in-gutenberg\/","name":"How to Create Popup in Gutenberg (Block Editor) | Crocoblock","isPartOf":{"@id":"https:\/\/crocoblock.com\/knowledge-base\/#website"},"datePublished":"2023-02-07T12:40:06+00:00","dateModified":"2023-07-19T09:45:17+00:00","description":"Follow the guide on how to create a popup template in the Gutenberg (Block editor) builder, style it up, and assign it to the WordPress website using the JetPopup plugin.","breadcrumb":{"@id":"https:\/\/crocoblock.com\/knowledge-base\/jetpopup\/how-to-create-popup-in-gutenberg\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/crocoblock.com\/knowledge-base\/jetpopup\/how-to-create-popup-in-gutenberg\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/crocoblock.com\/knowledge-base\/jetpopup\/how-to-create-popup-in-gutenberg\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/crocoblock.com\/knowledge-base\/"},{"@type":"ListItem","position":2,"name":"Articles","item":"https:\/\/crocoblock.com\/knowledge-base\/articles\/"},{"@type":"ListItem","position":3,"name":"How to Create Popup in Gutenberg"}]},{"@type":"WebSite","@id":"https:\/\/crocoblock.com\/knowledge-base\/#website","url":"https:\/\/crocoblock.com\/knowledge-base\/","name":"Help Center","description":"","publisher":{"@id":"https:\/\/crocoblock.com\/knowledge-base\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/crocoblock.com\/knowledge-base\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/crocoblock.com\/knowledge-base\/#organization","name":"Help Center","url":"https:\/\/crocoblock.com\/knowledge-base\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/crocoblock.com\/knowledge-base\/#\/schema\/logo\/image\/","url":"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/04\/invert-crocoblock-logo.svg","contentUrl":"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/04\/invert-crocoblock-logo.svg","caption":"Help Center"},"image":{"@id":"https:\/\/crocoblock.com\/knowledge-base\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/article\/34800"}],"collection":[{"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/article"}],"about":[{"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/types\/article"}],"author":[{"embeddable":true,"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/users\/8"}],"wp:attachment":[{"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/media?parent=34800"}],"wp:term":[{"taxonomy":"builder-category","embeddable":true,"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/builder-category?post=34800"},{"taxonomy":"article-category","embeddable":true,"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/article-category?post=34800"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}