Finding a really clean wp/woo theme?
-
Hey, so I tried all the optimization plugins and to remove the css/js scripts from function.php, but all the inline CSS bloat and javascript is still there..
How could I really start from scratch with a wp/woo theme that has all the baseline structure for plugins?
I just don’t need any of this bloat.. :/
-
hmm..
Hey @wshop!
I am not sure if I am following you correctly, but just to clarify it a bit, your theme might add a bit of code into your functions.php, depending on its needs, like when adding a new widget area, or just enqueueing your stylesheet!
So, that said, if you want a fresh start, you can reach out directly to your hosting company, to ask them for it, and then install WooCommerce and Storefront as a theme may be a good start.
Also, there’s a link that comes in handy when talking about getting started with WooCommerce:
WooCommerce Getting Started Documentation
My very best!
Thanks,
I was able to remove some of it with webcraftic asset manager, yet a lot of the inline bloat like img.wp-smiley, wp-emoji-release etc. are still there..
Don’t need any of that yet:/
<html lang="en-US"><head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="profile" href="https://gmpg.org/xfn/11"> <title>Blog – DOMAIN</title> <meta name="robots" content="max-image-preview:large"> <link rel="dns-prefetch" href="//s.w.org"> <link rel="alternate" type="application/rss+xml" title="DOMAIN ? Feed" href="https://www.DOMAIN.com/feed/"> <link rel="alternate" type="application/rss+xml" title="DOMAIN ? Comments Feed" href="https://www.DOMAIN.com/comments/feed/"> <script type="text/javascript"> window._wpemojiSettings = {"baseUrl":"https:\/\/s.w.org\/images\/core\/emoji\/13.1.0\/72x72\/","ext":".png","svgUrl":"https:\/\/s.w.org\/images\/core\/emoji\/13.1.0\/svg\/","svgExt":".svg","source":{"concatemoji":"https:\/\/www.DOMAIN.com\/wp-includes\/js\/wp-emoji-release.min.js?ver=5.8.3"}}; !function(e,a,t){var n,r,o,i=a.createElement("canvas"),p=i.getContext&&i.getContext("2d");function s(e,t){var a=String.fromCharCode;p.clearRect(0,0,i.width,i.height),p.fillText(a.apply(this,e),0,0);e=i.toDataURL();return p.clearRect(0,0,i.width,i.height),p.fillText(a.apply(this,t),0,0),e===i.toDataURL()}function c(e){var t=a.createElement("script");t.src=e,t.defer=t.type="text/javascript",a.getElementsByTagName("head")[0].appendChild(t)}for(o=Array("flag","emoji"),t.supports={everything:!0,everythingExceptFlag:!0},r=0;r<o.length;r++)t.supports[o[r]]=function(e){if(!p||!p.fillText)return!1;switch(p.textBaseline="top",p.font="600 32px Arial",e){case"flag":return s([127987,65039,8205,9895,65039],[127987,65039,8203,9895,65039])?!1:!s([55356,56826,55356,56819],[55356,56826,8203,55356,56819])&&!s([55356,57332,56128,56423,56128,56418,56128,56421,56128,56430,56128,56423,56128,56447],[55356,57332,8203,56128,56423,8203,56128,56418,8203,56128,56421,8203,56128,56430,8203,56128,56423,8203,56128,56447]);case"emoji":return!s([10084,65039,8205,55357,56613],[10084,65039,8203,55357,56613])}return!1}(o[r]),t.supports.everything=t.supports.everything&&t.supports[o[r]],"flag"!==o[r]&&(t.supports.everythingExceptFlag=t.supports.everythingExceptFlag&&t.supports[o[r]]);t.supports.everythingExceptFlag=t.supports.everythingExceptFlag&&!t.supports.flag,t.DOMReady=!1,t.readyCallback=function(){t.DOMReady=!0},t.supports.everything||(n=function(){t.readyCallback()},a.addEventListener?(a.addEventListener("DOMContentLoaded",n,!1),e.addEventListener("load",n,!1)):(e.attachEvent("onload",n),a.attachEvent("onreadystatechange",function(){"complete"===a.readyState&&t.readyCallback()})),(n=t.source||{}).concatemoji?c(n.concatemoji):n.wpemoji&&n.twemoji&&(c(n.twemoji),c(n.wpemoji)))}(window,document,window._wpemojiSettings); </script><script src="https://www.DOMAIN.com/wp-includes/js/wp-emoji-release.min.js?ver=5.8.3" type="text/javascript" defer=""></script> <style type="text/css">img.wp-smiley, img.emoji { display: inline !important; border: none !important; box-shadow: none !important; height: 1em !important; width: 1em !important; margin: 0 .07em !important; vertical-align: -0.1em !important; background: none !important; padding: 0 !important; }</style> <link rel="stylesheet" id="wp-block-library-css" href="https://www.DOMAIN.com/wp-includes/css/dist/block-library/style.min.css?ver=5.8.3" type="text/css" media="all"> <link rel="stylesheet" id="wc-blocks-vendors-style-css" href="https://www.DOMAIN.com/wp-content/plugins/woocommerce/packages/woocommerce-blocks/build/wc-blocks-vendors-style.css?ver=6.5.1" type="text/css" media="all"> <link rel="stylesheet" id="wc-blocks-style-css" href="https://www.DOMAIN.com/wp-content/plugins/woocommerce/packages/woocommerce-blocks/build/wc-blocks-style.css?ver=6.5.1" type="text/css" media="all"> <style id="woocommerce-inline-inline-css" type="text/css"> .woocommerce form .form-row .required { visibility: visible; } </style> <link rel="stylesheet" id="skelementor-style-css" href="https://www.DOMAIN.com/wp-content/themes/DOMAIN/style.css?ver=5.8.3" type="text/css" media="all"> <link rel="https://api.w.org/" href="https://www.DOMAIN.com/wp-json/"><link rel="alternate" type="application/json" href="https://www.DOMAIN.com/wp-json/wp/v2/pages/31"><link rel="EditURI" type="application/rsd+xml" title="RSD" href="https://www.DOMAIN.com/xmlrpc.php?rsd"> <link rel="wlwmanifest" type="application/wlwmanifest+xml" href="https://www.DOMAIN.com/wp-includes/wlwmanifest.xml"> <meta name="generator" content="WordPress 5.8.3"> <meta name="generator" content="WooCommerce 6.1.0"> <link rel="canonical" href="https://www.DOMAIN.com/blog/"> <link rel="shortlink" href="https://www.DOMAIN.com/?p=31"> <link rel="alternate" type="application/json+oembed" href="https://www.DOMAIN.com/wp-json/oembed/1.0/embed?url=https%3A%2F%2Fwww.DOMAIN.com%2Fblog%2F"> <link rel="alternate" type="text/xml+oembed" href="https://www.DOMAIN.com/wp-json/oembed/1.0/embed?url=https%3A%2F%2Fwww.DOMAIN.com%2Fblog%2F&format=xml"> <noscript><style>.woocommerce-product-gallery{ opacity: 1 !important; }</style></noscript> </head> <body class="page-template-default page page-id-31 theme-DOMAIN woocommerce-js"> <header id="site-header" class="site-header" role="banner"> <div id="logo"> </div> <h1 class="site-title"> <a href="https://www.DOMAIN.com/" title="Home" rel="home"> DOMAIN </a> </h1> <p class="tagline"></p> <nav> <div class="menu-menu-container"><ul id="menu-menu" class="menu"><li id="menu-item-36" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-36"><a href="https://www.DOMAIN.com/home/">Home</a></li> </ul></div> </nav> </header> <main id="main" class="site-main" role="main"> <header class="page-header"> <h1 class="entry-title">Blog</h1> </header> <div class="page-content"> </div> </main> <footer id="site-footer" class="site-footer" role="contentinfo"> <div id="copyright"> ? 2022 DOMAIN. Theme By: <a href="https://mousebuilt.com.au/">mousebuilt.com.au</a>.</div> </footer> <script type="text/javascript"> (function () { var c = document.body.className; c = c.replace(/woocommerce-no-js/, 'woocommerce-js'); document.body.className = c; })(); </script> <script type="text/javascript" src="https://www.DOMAIN.com/wp-includes/js/wp-embed.min.js?ver=5.8.3" id="wp-embed-js"></script> </body></html>
… How in the world??
To optimize your site properly, we recommend checking out this guide: https://managewp.com/blog/how-to-reduce-the-size-of-your-wordpress-website
- The topic ‘Finding a really clean wp/woo theme?’ is closed to new replies.