How to add meta tags in the header??

Home Forums Legacy Support Support queries How-to & Troubleshooting How to add meta tags in the header??

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #42540
    pglms31
    Spectator
    Hi , I'm trying to add few meta tags in the header section of the theme.  I'm adding the meta tags in the header.php file after this; <?php wp_head(); ?> </head> but its not working!! Also I'm unable to find the  "</title> " in the header.php file. Please help.
    #42682
    H.K. Latiyan
    Participant
    If you want to add it for seo purppose, then you can use yoast seo plugin. If you want to add for different purpose, then use this code in the wplms-customizer.php file present in your wplms customizer plugin. add_action('wp_head','custom_add_meta_tags'); function custom_add_meta_tags(){   echo 'Write your meta tag here'; }  
    #147744
    abhay
    Spectator
    yoast seo plugin. not working on this page  (  http://www.zenways.io/all-courses/ )  It not show canonical URL      and Description
    #147806
    H.K. Latiyan
    Participant
    @abhay: Please create your own topic for your issues. This is a buddypress directory page and the buddypress overtakes this page and therefore the yoast seo doesn't work on it.
Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘How to add meta tags in the header??’ is closed to new replies.