After trying to think of a way to list the categories in the archives using list_cats, which has an insane amount of display options, an far easier idea came into my head. I left the descriptions for search and archive pages blank for now and simply added the keywords to the static pages. Oh dear, that’s the solution for descriptions as well. Haha, two hours of reading documentation and an unrelated solution that took than less than a minute to implement.
For the specific categories, again I tried playing with the plugin and the various options, but in the end I decided the easiest thing to do would be to simply list the category descriptions in the keywords. Grammar words like ‘and’ or ‘the’ may take weaken my word list, but it should add relevance and at visibility until I figure out a better way.
Here’s the new code on startingrealestate.com:
<meta name="keywords" content="<?php if (is_home()) {echo 'real estate blog training lessons';} elseif (is_category()) {echo category_description();} else {echo get_the_keywords('',' ','','');} ?>" />
Alright, have to run. This optimization business is becoming addictive.