How to Add META Tags to WordPress Head

Spread the love

The reason that WordPress is so developer agreeable is their wonderful snare framework. Contingent upon a post category (or apparently whatever else), you can adjust the substance of the page, the theme formats, and everything else. WordPress is astonishing.

add meta description to wordpress, best meta tag plugin wordpress, how to add meta tag in wordpress, how to add meta tags in wordpress homepage, how to add meta tags in wordpress without plugin, meta tag manager wordpress, meta tags plugin wordpress, wordpress meta description plugin

One late utilize case I had was needing to change the <meta name="robots" content="{index? follow?}" > tag in light of the post’s category : if the post is in category A, utilization noindex,nofollow, generally utilize index,follow. After all not each post is an impression of the general site content.

Finishing the undertaking was simple utilizing the WordPress hook system, particularly the wp_head hook:

You can use this hook to add anything to the site <head> but CSS and JavaScript files have their own methods so don’t use this hook to add styles and scripts.

Take control of your WordPress instances by using the awesome hook system!

Leave a Reply

Your email address will not be published. Required fields are marked *