A simple code that can insert Meta keywords and descriptions to categories
I am not an expert on coding, therefore, I wanted to ask experienced coders about how to do my below request:
I want to insert an html code on the header.php so that it can automatically take text from category details:
<meta name="keywords" content="words to be taken from page title
<meta name="description" content="<"category description
Classipress attributes category name and site description to each category like category name | site description
I want this keyword code to pull category name and site description and put it there automatically. By doing so, all category pages will be automatically updated.
Regarding description code I want to the code to pull category description and put it there automatically. That way, it can update all categories automatically.
Please let me know if I explained well. I can clarify if you need any further explanation.
Those codes will greatly improve Classipress' SEO
capability so it will be highly appreciated.