Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Optimizing Matters

    (@optimizingmatters)

    Not entirely sure what your question is @zidanpragata .. the link to the stackexchange post talks about non-autoptimized CSS? Can you clarify what you want to do/ what your problem is?

    Thread Starter Zidan Pragata

    (@zidanpragata)

    thank you for your attention, I want to Autoptimize plugin the css style placement option in the footer.

    Thread Starter Zidan Pragata

    (@zidanpragata)

    and also 100% HTML5 support, like deletion
    <script type=”text/javascript”> becomes <script>
    <style type=”text/css”> becomes <style>

    remove all quotes in tags like this:
    http://prntscr.com/oyub3v

    • This reply was modified 6 years, 8 months ago by Zidan Pragata.
    Plugin Author Optimizing Matters

    (@optimizingmatters)

    CSS placement can be altered using the API, e.g.;

    add_filter('autoptimize_filter_css_replacetag','zidan_css_replacetag',10,1);
    function zidan_css_replacetag($replacetag) {
    	return array("</body>","before");
    	}

    type attributes will be dropped in AO26, you can download the current beta here to try it out.

    removing quotes: unlikely, I’ve seen some issues with that in W3TC.

    hope this helps,
    frank

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘how-to-remove-css-file-in-the-header-using-wordpress-functions’ is closed to new replies.