Confusing but I think I have the gist of it…
Yes, you’d have to write a bunch of if/elseif
conditionals or a switch, or loop though an array of tag names. This would be a pretty high maintenance approach.
Or you could go to wp-admin->Posts->Tags, fill out the description and use that.
$post_tags = get_the_tags();
// you may have more than one
foreach ($post_tags as $t) {
if (!empty($v->description)) echo $v->description; // or whatever you want to do with it
}
http://codex.wordpress.org/Function_Reference/get_the_tags
I don’t know if there is any pattern to your TEXT
and TAGNAME
strings that might be useful.