{"id":137700,"date":"2021-03-09T11:21:03","date_gmt":"2021-03-09T11:21:03","guid":{"rendered":"https:\/\/de.wordpress.org\/plugins\/remove-jquery\/"},"modified":"2021-03-09T11:22:18","modified_gmt":"2021-03-09T11:22:18","slug":"remove-jquery","status":"publish","type":"plugin","link":"https:\/\/test.wordpress.org\/plugins\/remove-jquery\/","author":756138,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.0","stable_tag":"trunk","tested":"5.6.17","requires":"5.0","requires_php":"","requires_plugins":"","header_name":"Remove jQuery from Theme","header_author":"Marc T\u00f6nsing","header_description":"Completely remove jQuery from your theme.","assets_banners_color":"","last_updated":"2021-03-09 11:22:18","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/marc.tv\/out\/donate","header_plugin_uri":"https:\/\/github.com\/mtoensing\/remove-jquery","header_author_uri":"https:\/\/marc.tv","rating":5,"author_block_rating":0,"active_installs":100,"downloads":2510,"num_ratings":1,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0":{"tag":"1.0","author":"MarcDK","date":"2021-03-09 11:21:04"}},"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":1},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[202],"plugin_category":[],"plugin_contributors":[84390],"plugin_business_model":[],"class_list":["post-137700","plugin","type-plugin","status-publish","hentry","plugin_tags-jquery","plugin_contributors-marcdk","plugin_committers-marcdk"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/remove-jquery.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>Removes jQuery from your frontend theme if no administrator is logged-in. jQuery will continue to work in you backend and when the admin toolbar is visible. Plugins which depend on jQuery will not be loaded either.<\/p>\n\n<p>This plugin does nothing more but this:<\/p>\n\n<pre><code>function init_without_jquery() {\n    if (!is_admin() AND !is_admin_bar_showing()) {\n        wp_deregister_script('jquery');\n        wp_register_script('jquery', false);\n    }\n}\n\nadd_action('init', 'init_without_jquery');\n<\/code><\/pre>\n\n<!--section=installation-->\n<p>Remove jQuery can be found and installed via the Plugin menu within WordPress administration (Plugins -&gt; Add New). Alternatively, it can be downloaded from WordPress.org and installed manually...<\/p>\n\n<!--section=faq-->\n<dl>\n<dt id='why%20did%20you%20do%20this%3F'><h3>Why did you do this?<\/h3><\/dt>\n<dd><p>Because I needed a simple plugin to do this job and decided to do it on his own. WordPress frontends are is much faster without jQuery.<\/p><\/dd>\n<dt id='jquery%20is%20still%20loading%21%20the%20plugin%20does%20not%20work%21'><h3>jQuery is still loading! The plugin does not work!<\/h3><\/dt>\n<dd><p>You are most likely logged-in as administrator and the admin topbar is visible. Many plugins rely on jQuery for backend features. So I kept it enabled for the admin topbar, too.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0<\/h4>\n\n<ul>\n<li>Initial version.<\/li>\n<\/ul>","raw_excerpt":"Removes jQuery from your frontend theme if no administrator is logged-in. jQuery will still be loaded and continue to work in you backend and when the &hellip;","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/137700","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=137700"}],"author":[{"embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/marcdk"}],"wp:attachment":[{"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=137700"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=137700"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=137700"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=137700"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=137700"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=137700"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}