{"id":105949,"date":"2023-04-07T17:44:45","date_gmt":"2023-04-07T12:14:45","guid":{"rendered":"https:\/\/etemplates.wdesignkit.com\/theplusaddons\/?post_type=documents&amp;p=105949"},"modified":"2023-04-07T17:44:45","modified_gmt":"2023-04-07T12:14:45","slug":"shortcode-based-preloader-animation-in-elementor","status":"publish","type":"documents","link":"https:\/\/etemplates.wdesignkit.com\/theplusaddons\/docs\/shortcode-based-preloader-animation-in-elementor\/","title":{"rendered":"How to Add Shortcode Based Preloader Animation in Elementor?"},"content":{"rendered":"\n<p>If you want to add a preloader animation to your website, you may be interested in using a shortcode-based solution. Shortcodes can be a convenient way to add dynamic content to your website, including preloader animations.<\/p>\n\n\n\n<p>With the Preloader widget from The Plus Addons for Elementor, you can show any content as a preloader through a shortcode.<\/p>\n\n\n\n<p><em>To check the complete feature overview documentation of The Plus Addons for Elementor Preloader widget, <a href=\"\/docs\/preloader-elementor-widget-settings-overview\/\" target=\"_blank\" rel=\"noreferrer noopener\">click here<\/a>.<\/em><\/p>\n\n\n\n<p><strong><em>Requirement&nbsp; &#8211; This widget is a part of The Plus Addons for Elementor, make sure it&#8217;s installed &amp; activated to enjoy all its powers.<\/em><\/strong><\/p>\n\n\n\n<div class=\"wp-block-buttons is-content-justification-center is-layout-flex wp-container-core-buttons-is-layout-a89b3969 wp-block-buttons-is-layout-flex\">\n<div class=\"wp-block-button has-custom-width wp-block-button__width-75 is-style-fill\"><a class=\"wp-block-button__link has-nxt-global-color-8-color has-nxt-global-color-1-background-color has-text-color has-background wp-element-button\" href=\"https:\/\/etemplates.wdesignkit.com\/theplusaddons\/widgets\/pre-loader?utm_source=tpae&amp;utm_medium=docs&amp;utm_campaign=text\" style=\"border-radius:5px\" target=\"_blank\" rel=\"noreferrer noopener\">LIVE WIDGET LINK<\/a><\/div>\n<\/div>\n\n\n\n<p><\/p>\n\n\n\n<p>To do this, add the Preloader widget on the page or template, in the <strong>Content<\/strong> tab, you\u2019ll find an item under <strong>Preloader<\/strong>.<\/p>\n\n\n\n<p>Open the item and select <strong>Shortcode <\/strong>from the <strong>Select<\/strong> dropdown.<\/p>\n\n\n\n<p>In the <strong>Shortcode<\/strong> field, add your shortcode.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img fetchpriority=\"high\" decoding=\"async\" width=\"485\" height=\"646\" src=\"https:\/\/etemplates.wdesignkit.com\/wp-content\/uploads\/sites\/55\/2023\/04\/preloader-shortcode.png\" alt=\"preloader shortcode\" class=\"wp-image-105950\" srcset=\"https:\/\/etemplates.wdesignkit.com\/theplusaddons\/wp-content\/uploads\/sites\/55\/2023\/04\/preloader-shortcode.png 485w, https:\/\/etemplates.wdesignkit.com\/theplusaddons\/wp-content\/uploads\/sites\/55\/2023\/04\/preloader-shortcode-225x300.png 225w\" sizes=\"(max-width: 485px) 100vw, 485px\" \/><\/figure>\n\n\n\n<p>Now for the shortcode, you can use any shortcode, such as custom shortcode or shortcode provided by some plugins, or you can use Elementor template shortcode.<\/p>\n\n\n\n<p>If you use the Elementor template, you can combine multiple elements to create a unique preloader as per your brand.<\/p>\n\n\n\n<p>Once you have created your Elementor template, go to <strong>Templates<\/strong> &gt; <strong>Saved Templates<\/strong>.<\/p>\n\n\n\n<p>If you\u2019re using Elementor Pro, you\u2019ll find the template shortcode beside each template. Copy the shortcode of your template and use it in the Preloader widget.<\/p>\n\n\n\n<p>But if you don\u2019t have Elementor Pro, you can use the <a href=\"https:\/\/wordpress.org\/plugins\/anywhere-elementor\/\" target=\"_blank\" rel=\"noreferrer noopener\">AnyWhere Elementor<\/a> plugin to create a shortcode of your template.&nbsp;<\/p>\n\n\n\n<p>You\u2019ll have to use this shortcode [INSERT_ELEMENTOR id=xxx]. You have to replace the \u2018<strong>xxx<\/strong>\u2019 with your Elementor template id.<\/p>\n\n\n\n<p>To find the template id hover over your Elementor template. In the bottom of the browser, it will show the template edit URL with its id. The number after \u2018<em>post=<\/em>\u2019 is the template id.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1920\" height=\"917\" src=\"https:\/\/etemplates.wdesignkit.com\/wp-content\/uploads\/sites\/55\/2023\/04\/elementor-template-id.png\" alt=\"elementor template id\" class=\"wp-image-105952\" srcset=\"https:\/\/etemplates.wdesignkit.com\/theplusaddons\/wp-content\/uploads\/sites\/55\/2023\/04\/elementor-template-id.png 1920w, https:\/\/etemplates.wdesignkit.com\/theplusaddons\/wp-content\/uploads\/sites\/55\/2023\/04\/elementor-template-id-300x143.png 300w, https:\/\/etemplates.wdesignkit.com\/theplusaddons\/wp-content\/uploads\/sites\/55\/2023\/04\/elementor-template-id-1024x489.png 1024w, https:\/\/etemplates.wdesignkit.com\/theplusaddons\/wp-content\/uploads\/sites\/55\/2023\/04\/elementor-template-id-768x367.png 768w, https:\/\/etemplates.wdesignkit.com\/theplusaddons\/wp-content\/uploads\/sites\/55\/2023\/04\/elementor-template-id-1536x734.png 1536w, https:\/\/etemplates.wdesignkit.com\/theplusaddons\/wp-content\/uploads\/sites\/55\/2023\/04\/elementor-template-id-600x287.png 600w\" sizes=\"(max-width: 1920px) 100vw, 1920px\" \/><\/figure>\n\n\n\n<p>Add the id in the shortcode, so your shortcode should look something like this.<\/p>\n\n\n\n<p>[INSERT_ELEMENTOR id=4900]<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"333\" height=\"661\" src=\"https:\/\/etemplates.wdesignkit.com\/wp-content\/uploads\/sites\/55\/2023\/04\/preloader-shortcode-added.png\" alt=\"preloader shortcode added\" class=\"wp-image-105953\" srcset=\"https:\/\/etemplates.wdesignkit.com\/theplusaddons\/wp-content\/uploads\/sites\/55\/2023\/04\/preloader-shortcode-added.png 333w, https:\/\/etemplates.wdesignkit.com\/theplusaddons\/wp-content\/uploads\/sites\/55\/2023\/04\/preloader-shortcode-added-151x300.png 151w\" sizes=\"(max-width: 333px) 100vw, 333px\" \/><\/figure>\n\n\n\n<p>Add this shortcode in the Preloader widget; now it should show your Elementor template content as the page loading animation.<\/p>\n\n\n\n<p>If you are already using Nexter Theme Pro, using its theme builder, you can create different templates with Elementor. You\u2019ll also get a shortcode for the templates that you can use in the Preloader widget.<\/p>\n\n\n\n<p>To find the templates in Nexter Theme, go to <strong>Nexter Builder<\/strong> &gt; <strong>All Templates<\/strong>.<\/p>\n\n\n\n<p>Beside each template, you\u2019ll find its shortcode.&nbsp;<\/p>\n\n\n\n<p>Add this shortcode in the Preloader widget and it will use your template content for page loading animation.<\/p>\n\n\n\n<p>Also, check <a href=\"https:\/\/etemplates.wdesignkit.com\/theplusaddons\/docs\/custom-css-preloader-animations-in-elementor\/\" target=\"_blank\" rel=\"noreferrer noopener\">How to Add Custom CSS Preloader Animations in Elementor<\/a>.<\/p>\n","protected":false},"author":16,"featured_media":105954,"parent":0,"comment_status":"open","ping_status":"open","template":"","format":"standard","docs":[527,559],"class_list":["post-105949","documents","type-documents","status-publish","format-standard","has-post-thumbnail","hentry","docs-plus-widgets","docs-preloader"],"acf":[],"_links":{"self":[{"href":"https:\/\/etemplates.wdesignkit.com\/theplusaddons\/wp-json\/wp\/v2\/documents\/105949","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/etemplates.wdesignkit.com\/theplusaddons\/wp-json\/wp\/v2\/documents"}],"about":[{"href":"https:\/\/etemplates.wdesignkit.com\/theplusaddons\/wp-json\/wp\/v2\/types\/documents"}],"author":[{"embeddable":true,"href":"https:\/\/etemplates.wdesignkit.com\/theplusaddons\/wp-json\/wp\/v2\/users\/16"}],"replies":[{"embeddable":true,"href":"https:\/\/etemplates.wdesignkit.com\/theplusaddons\/wp-json\/wp\/v2\/comments?post=105949"}],"version-history":[{"count":0,"href":"https:\/\/etemplates.wdesignkit.com\/theplusaddons\/wp-json\/wp\/v2\/documents\/105949\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/etemplates.wdesignkit.com\/theplusaddons\/wp-json\/wp\/v2\/media\/105954"}],"wp:attachment":[{"href":"https:\/\/etemplates.wdesignkit.com\/theplusaddons\/wp-json\/wp\/v2\/media?parent=105949"}],"wp:term":[{"taxonomy":"docs","embeddable":true,"href":"https:\/\/etemplates.wdesignkit.com\/theplusaddons\/wp-json\/wp\/v2\/docs?post=105949"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}