Support » Plugin: Code Snippets » meta tag possible?

  • futureyoon

    (@futureyoon)


    Hi

    Is it possible to add meta tag using code snippets?
    something like this
    <meta name=”abc” content=”def” />

    if possible, what would the code look like? can you share some light here?

    Thank you

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Shea Bunge

    (@bungeshea)

    Yep! You can add it using a wp_head hook:

    add_action( 'wp_head', function () {
    	echo '<meta name="abc" content="def">';
    }, 1 );
    Thread Starter futureyoon

    (@futureyoon)

    Awesome!!! Thank you!!!

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.