{"id":151503,"date":"2022-01-09T17:38:03","date_gmt":"2022-01-09T17:38:03","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/enqueueror\/"},"modified":"2024-07-19T18:38:43","modified_gmt":"2024-07-19T18:38:43","slug":"enqueueror","status":"publish","type":"plugin","link":"https:\/\/fa.wordpress.org\/plugins\/enqueueror\/","author":20164303,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.4.0","stable_tag":"1.4.0","tested":"6.6.5","requires":"5.0","requires_php":"7.1","requires_plugins":null,"header_name":"Enqueueror","header_author":"Panagiotis (Panos) Anastasiadis","header_description":"Assisted WordPress Asset Preprocessing & Enqueueing","assets_banners_color":"0421f2","last_updated":"2024-07-19 18:38:43","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"https:\/\/anastasiadis.me","rating":5,"author_block_rating":0,"active_installs":100,"downloads":4517,"num_ratings":2,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"panastasiadist","date":"2022-01-11 17:17:41"},"1.1.0":{"tag":"1.1.0","author":"panastasiadist","date":"2022-01-15 16:49:36"},"1.1.1":{"tag":"1.1.1","author":"panastasiadist","date":"2022-03-09 18:40:32"},"1.2.0":{"tag":"1.2.0","author":"panastasiadist","date":"2022-05-05 06:56:54"},"1.3.0":{"tag":"1.3.0","author":"panastasiadist","date":"2023-05-25 16:05:30"},"1.3.1":{"tag":"1.3.1","author":"panastasiadist","date":"2023-10-19 12:54:05"},"1.4.0":{"tag":"1.4.0","author":"panastasiadist","date":"2024-07-19 18:38:43"}},"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":2},"assets_icons":{"icon-256x256.png":{"filename":"icon-256x256.png","revision":2654870,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":2654870,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.png":{"filename":"banner-772x250.png","revision":2654870,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0","1.1.0","1.1.1","1.2.0","1.3.0","1.3.1","1.4.0"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":2656024,"resolution":"1","location":"assets","locale":""},"screenshot-10.png":{"filename":"screenshot-10.png","revision":2656024,"resolution":"10","location":"assets","locale":""},"screenshot-11.png":{"filename":"screenshot-11.png","revision":2656024,"resolution":"11","location":"assets","locale":""},"screenshot-12.png":{"filename":"screenshot-12.png","revision":2656024,"resolution":"12","location":"assets","locale":""},"screenshot-13.png":{"filename":"screenshot-13.png","revision":2656024,"resolution":"13","location":"assets","locale":""},"screenshot-14.png":{"filename":"screenshot-14.png","revision":2656024,"resolution":"14","location":"assets","locale":""},"screenshot-15.png":{"filename":"screenshot-15.png","revision":2656024,"resolution":"15","location":"assets","locale":""},"screenshot-16.png":{"filename":"screenshot-16.png","revision":2656024,"resolution":"16","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":2656024,"resolution":"2","location":"assets","locale":""},"screenshot-3.png":{"filename":"screenshot-3.png","revision":2656024,"resolution":"3","location":"assets","locale":""},"screenshot-4.png":{"filename":"screenshot-4.png","revision":2656024,"resolution":"4","location":"assets","locale":""},"screenshot-5.png":{"filename":"screenshot-5.png","revision":2656024,"resolution":"5","location":"assets","locale":""},"screenshot-6.png":{"filename":"screenshot-6.png","revision":2656024,"resolution":"6","location":"assets","locale":""},"screenshot-7.png":{"filename":"screenshot-7.png","revision":2656024,"resolution":"7","location":"assets","locale":""},"screenshot-8.png":{"filename":"screenshot-8.png","revision":2656024,"resolution":"8","location":"assets","locale":""},"screenshot-9.png":{"filename":"screenshot-9.png","revision":2656024,"resolution":"9","location":"assets","locale":""}},"screenshots":{"1":"Load assets \"globally\" as external files, for every kind of content.","2":"Load assets as external files, based on a page's slug or ID.","3":"Load assets as external files, based on a post's slug or ID.","4":"Load assets as external files, based on the slug or ID of content provided by the \"product\" post type.","5":"Load assets as external files, based on the slug or ID of the content, irrespectively of the content's post type.","6":"Load assets as external files, based on the slug or ID of a term belonging in the \"category\" taxonomy.","7":"Load assets as external files, when an arbitrary term in the \"category\" taxonomy is requested.","8":"Load assets as external files, based on the slug or ID of a specific term in the \"product_cat\" taxonomy.","9":"Organize assets in directories by post type and taxonomy.","10":"Load assets as external files, when the Greek (WPML based) translation of an arbitrary page is requested.","11":"Dynamically generate CSS and JavaScript code to be enqueued as external files, for every requested page, using PHP as a preprocessor.","12":"Load JavaScript assets as external files before the closing  tag, for every requested page.","13":"Output JavaScript code contained in the .js file internally before the closing  tag, for every requested page.","14":"Output code contained in the .js and .css files internally within the  HTML section, for every requested page.","15":"Dynamically generate CSS &amp; JavaScript code to be loaded internally within the  HTML section, for every requested page.","16":"Mix of scenarios."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[356,734,229,1141],"plugin_category":[59],"plugin_contributors":[206608],"plugin_business_model":[],"class_list":["post-151503","plugin","type-plugin","status-publish","hentry","plugin_tags-css","plugin_tags-development","plugin_tags-javascript","plugin_tags-theme","plugin_category-utilities-and-tools","plugin_contributors-panastasiadist","plugin_committers-panastasiadist"],"banners":{"banner":"https:\/\/ps.w.org\/enqueueror\/assets\/banner-772x250.png?rev=2654870","banner_2x":"https:\/\/ps.w.org\/enqueueror\/assets\/banner-1544x500.png?rev=2654870","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/enqueueror\/assets\/icon-256x256.png?rev=2654870","icon_2x":"https:\/\/ps.w.org\/enqueueror\/assets\/icon-256x256.png?rev=2654870","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/enqueueror\/assets\/screenshot-1.png?rev=2656024","caption":"Load assets \"globally\" as external files, for every kind of content."},{"src":"https:\/\/ps.w.org\/enqueueror\/assets\/screenshot-2.png?rev=2656024","caption":"Load assets as external files, based on a page's slug or ID."},{"src":"https:\/\/ps.w.org\/enqueueror\/assets\/screenshot-3.png?rev=2656024","caption":"Load assets as external files, based on a post's slug or ID."},{"src":"https:\/\/ps.w.org\/enqueueror\/assets\/screenshot-4.png?rev=2656024","caption":"Load assets as external files, based on the slug or ID of content provided by the \"product\" post type."},{"src":"https:\/\/ps.w.org\/enqueueror\/assets\/screenshot-5.png?rev=2656024","caption":"Load assets as external files, based on the slug or ID of the content, irrespectively of the content's post type."},{"src":"https:\/\/ps.w.org\/enqueueror\/assets\/screenshot-6.png?rev=2656024","caption":"Load assets as external files, based on the slug or ID of a term belonging in the \"category\" taxonomy."},{"src":"https:\/\/ps.w.org\/enqueueror\/assets\/screenshot-7.png?rev=2656024","caption":"Load assets as external files, when an arbitrary term in the \"category\" taxonomy is requested."},{"src":"https:\/\/ps.w.org\/enqueueror\/assets\/screenshot-8.png?rev=2656024","caption":"Load assets as external files, based on the slug or ID of a specific term in the \"product_cat\" taxonomy."},{"src":"https:\/\/ps.w.org\/enqueueror\/assets\/screenshot-9.png?rev=2656024","caption":"Organize assets in directories by post type and taxonomy."},{"src":"https:\/\/ps.w.org\/enqueueror\/assets\/screenshot-10.png?rev=2656024","caption":"Load assets as external files, when the Greek (WPML based) translation of an arbitrary page is requested."},{"src":"https:\/\/ps.w.org\/enqueueror\/assets\/screenshot-11.png?rev=2656024","caption":"Dynamically generate CSS and JavaScript code to be enqueued as external files, for every requested page, using PHP as a preprocessor."},{"src":"https:\/\/ps.w.org\/enqueueror\/assets\/screenshot-12.png?rev=2656024","caption":"Load JavaScript assets as external files before the closing  tag, for every requested page."},{"src":"https:\/\/ps.w.org\/enqueueror\/assets\/screenshot-13.png?rev=2656024","caption":"Output JavaScript code contained in the .js file internally before the closing  tag, for every requested page."},{"src":"https:\/\/ps.w.org\/enqueueror\/assets\/screenshot-14.png?rev=2656024","caption":"Output code contained in the .js and .css files internally within the  HTML section, for every requested page."},{"src":"https:\/\/ps.w.org\/enqueueror\/assets\/screenshot-15.png?rev=2656024","caption":"Dynamically generate CSS &amp; JavaScript code to be loaded internally within the  HTML section, for every requested page."},{"src":"https:\/\/ps.w.org\/enqueueror\/assets\/screenshot-16.png?rev=2656024","caption":"Mix of scenarios."}],"raw_content":"<!--section=description-->\n<p>Enqueueror empowers WordPress developers to manage and develop their CSS &amp; JavaScript files efficiently. It facilitates conditional CSS &amp; JavaScript loading through the use of naming conventions and provides numerous features to enhance the code development workflow.<\/p>\n\n<h4>Quick Start Examples<\/h4>\n\n<ul>\n<li><p>Load a stylesheet globally\nCode a CSS file named <strong>global.css<\/strong> in the <strong>stylesheets<\/strong> directory.<\/p><\/li>\n<li><p>Load a stylesheet only when viewing the page with id = 1\nCode a CSS file named <strong>type-page-id-1.css<\/strong> or <strong>type-id-1.css<\/strong> in the <strong>stylesheets<\/strong> directory.<\/p><\/li>\n<li><p>Load a stylesheet only when viewing the page with slug = 'example-page'\nCode a CSS file named <strong>type-page-slug-example-page.css<\/strong> or <strong>type-slug-example-page.css<\/strong> in the <strong>stylesheets<\/strong> directory.<\/p><\/li>\n<li><p>Load a stylesheet only when viewing the category term with id = 1\nCode a CSS file named <strong>tax-category-term-id-1.css<\/strong> or <strong>term-id-1.css<\/strong> in the <strong>stylesheets<\/strong> directory.<\/p><\/li>\n<li><p>Load a stylesheet only when viewing the category term with slug = 'category1'\nCode a CSS file named <strong>tax-category-term-slug-category1.css<\/strong> or <strong>term-slug-category1.css<\/strong> in the <strong>stylesheets<\/strong> directory.<\/p><\/li>\n<\/ul>\n\n<h4>Guide<\/h4>\n\n<p>You may read the guide at <a href=\"https:\/\/panastasiadist.github.io\/Enqueueror\/\">GitHub<\/a>.<\/p>\n\n<h4>Usage<\/h4>\n\n<ul>\n<li>Install Enqueueror.<\/li>\n<li>Create the <strong>scripts<\/strong> and <strong>stylesheets<\/strong> directories under the active theme's root directory.<\/li>\n<li>Consult the guide at <a href=\"https:\/\/panastasiadist.github.io\/Enqueueror\/\">GitHub<\/a>.<\/li>\n<\/ul>\n\n<!--section=changelog-->\n<h4>1.4.0<\/h4>\n\n<ul>\n<li>Added: Official, direct support for <strong>Polylang<\/strong>.<\/li>\n<li>Added: Support for <strong>async<\/strong> and <strong>defer<\/strong> script loading through the new <strong>Loading<\/strong> flag.<\/li>\n<li>Changed: WordPress 6.6 compatibility update.<\/li>\n<li>Fixed: Preprocessed, PHP-based assets will now be updated when their source files are updated.<\/li>\n<\/ul>\n\n<h4>1.3.1<\/h4>\n\n<ul>\n<li>Fixed: Non string language codes returned by WPML filters are now properly handled.<\/li>\n<\/ul>\n\n<h4>1.3.0<\/h4>\n\n<ul>\n<li>Added: Support for loading CSS internally before the  closing tag.<\/li>\n<li>Added: Support for loading CSS externally before the  closing tag.<\/li>\n<li>Added: Support for using internal CSS &amp; JavaScript assets as dependencies both in  and .<\/li>\n<li>Added: Support for using external CSS assets as dependencies within .<\/li>\n<li>Added: Support for mixing internal and external assets within the asset dependency chain.<\/li>\n<li>Changed: Better support for loading assets before the  closing tag.<\/li>\n<\/ul>\n\n<h4>1.2.0<\/h4>\n\n<ul>\n<li>Added: Local assets and external script and stylesheets may be used as dependencies.<\/li>\n<li>Added: Direct access to PHP preprocessed assets is prevented using .htaccess rules.<\/li>\n<li>Changed: Preprocessed assets are now served from \/wp-content\/uploads\/enqueueror.<\/li>\n<\/ul>\n\n<h4>1.1.1<\/h4>\n\n<ul>\n<li>Fixed: Handling of multiple dependencies.<\/li>\n<\/ul>\n\n<h4>1.1.0<\/h4>\n\n<ul>\n<li>Added: Introduced support for header in assets.<\/li>\n<li>Added: Introduced support for asset dependencies.<\/li>\n<li>Fixed: Asset order rules not always respected.<\/li>\n<li>Fixed: Error if WPML is activated but not set up.<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>First release<\/li>\n<\/ul>","raw_excerpt":"Supercharged CSS &amp; JS Coding for WordPress","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/fa.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/151503","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fa.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/fa.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/fa.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=151503"}],"author":[{"embeddable":true,"href":"https:\/\/fa.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/panastasiadist"}],"wp:attachment":[{"href":"https:\/\/fa.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=151503"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/fa.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=151503"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/fa.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=151503"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/fa.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=151503"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/fa.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=151503"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/fa.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=151503"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}