• Resolved zestpush

    (@dhaka11021)


    hey i added this code remove_action( ‘wp_head’, ‘_wp_render_title_tag’, 1 ); to remove title tag but it also removed the css link tag. can you tell me how can i get css file link so i can add it manual

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

    (@optimizingmatters)

    AO’s CSS file is indeed injected relative to the title tag, but you can change this with a code snippet, e.g.

    function my_ao_override_css_replacetag( $replacetag ) {
        return array( '<head>','after' );
    }

    where the first parameter is an existing HTML tag and the 2nd is before or after. you can also use replace as 2nd parameter, but in that case you should add something like <!--cssgoeshere--> to the HTML and replace that.

    hope this helps,
    frank

Viewing 1 replies (of 1 total)
  • The topic ‘how to get css file link’ is closed to new replies.