Alejandro Posted January 24, 2018 at 11:16 PM Share Posted January 24, 2018 at 11:16 PM WordPress doesn't have built-in functionality to add meta tags to pages. If you have setup a static homepage using a WordPress page there's no simple way to add a meta description to this page without installing a 3rd party plugin. In this case you can add the code below to the iReview theme functions.php file to easily add the meta description tag to the homepage without the need for extra plugins. function homepage_meta_description() { if ( is_front_page() ):?> <meta name="description" content="Meta description text here" /> <?php endif; } add_action( 'wp_head', 'homepage_meta_description' ); Raymond Ringston 1 Link to comment
Raymond Ringston Posted January 25, 2018 at 12:51 AM Share Posted January 25, 2018 at 12:51 AM This section is only visible with a valid subscription. If you have a valid subscription, please login. Link to comment
Alejandro Posted January 25, 2018 at 12:48 PM Author Share Posted January 25, 2018 at 12:48 PM This section is only visible with a valid subscription. If you have a valid subscription, please login. Raymond Ringston 1 Link to comment
Recommended Posts