Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter thompsonaire

    (@thompsonaire)

    Add a description to the <head> section of the page source: <meta name=’description’ content=’Descriptive, keyword-rich text that talks about the page content goes here.’>.

    How do I do this??

    Hi @thompsonaire There are 3 ways to do this:

    1. You can create a child theme and copy header file in your child theme and search for <head> tag and then anything you want in that

    2. You can use plugin for that as well. If you are using Elementor in your site then Elementor provide this feature already.

    3. You can add via functions.php using the following code

    add_action('wp_head', 'your_function_name');
    function your_function_name(){
    ?>
    PASTE HEADER CODE HERE
    <?php
    };

    Hope this will help!

    Thread Starter thompsonaire

    (@thompsonaire)

    Thank you!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Edit Head tag’ is closed to new replies.