SubhanUllah Posted September 22, 2022 Report Share Posted September 22, 2022 Add this to the template or, if you want it on all pages on the site, add it to functions.php <?php function rivendellweb_add_to_head(){ ?> <meta name="description" content="This is an example of a meta description. This will often show up in search results."> <?php }; add_action('wp_head', 'rivendellweb_add_to_head'); ?> You may have to play with the opening and closing PHP tags to match your existing ones. The advantage of this is that you can add meta tags and other elements. If you use an SEO plugin this may not be necessary Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.