Remove the social svg files from twentyseventeen
-
Hello!
How can I get rid of the
<svg style="position: absolute; width: 0; height: 0; overflow: hidden;" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <defs> <symbol id="icon-behance" viewBox="0 0 37 32"> <path class="path1" d="M33 6.054h-9.125v2.214 [...]"></path> </symbol> <symbol id="icon-facebook" viewBox="0 0 19 32"> <path class="path1" d="M17.125 0.214v4.714h [...]"></path> </symbol> [...]
things at the very end of the website? I don’t need the social media bar and therefore these code lines are just junk and probably increasing the loading time of the website.
The footer.php of my child themes looks like this:
</div><!-- #content --> </div><!-- .site-content-contain --> </div><!-- #page --> <?php wp_footer(); ?> </body> </html>
I have also tried the following in my functions.php file:
remove_action( 'wp_footer', 'childtheme_include_svg_icons', 99999 );
Unfortunately nothing works.
I have searched the internet for hours but was not able to find anything that works.Thanks and best regards!
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Remove the social svg files from twentyseventeen’ is closed to new replies.