WordPress.org

Support

Support » Themes and Templates » raindrops » Too much stuff in the header

Too much stuff in the header

  • For the theme raindrops, I am seeing an absolute ton of data in the headers, like:

    “<!–/*<! [CDATA[*/
    .gallery { margin: auto; overflow: hidden; width: 100%; }

    It goes on and on, and seems to be generated in the wp_head section. If this is CSS code, is there not some more simple way to include a file rather than write all this stuff out? I am actually getting complaints from Google webmaster tools that there is too much stuff in the headers.

    Any ideas?

Viewing 1 replies (of 1 total)
  • Theme Author nobita

    @nobita

    Hi rawalex

    If your design finished.

    copy from header embed css and paste style.css last line.

    next Remove header embed css

    add to functions.php first line(<?php before)

    <?php
    add_filter( 'raindrops_wp-head-callback','remove_raindrops_embed_meta' );
    
    function remove_raindrops_embed_meta( $function ) {
    	return 'dummy';
    }
    function dummy(){
    
    }
    ?>

    Thank you.

Viewing 1 replies (of 1 total)
  • The topic ‘Too much stuff in the header’ is closed to new replies.
Skip to toolbar