Error In Tag Description
-
Am trying to output the description of my hosted WordPress tags, it worked, but the problem is that wherever any post with this same tag comes at the top of the posts list (even in other tags), the Tag & Discription automatically appears.
What i want is if i put a discription for my tag for DOGS, let the discription appear only when i visit …/tag/dogs/ not when i visit …/tag/dog-food/
Please help me (i put all codes in my tag.php template), here is the code:
ID);
foreach ($tags as $tag) {
if ($tag->description) {
echo ‘- term_id ) . ” title=” . sprintf( __( ‘View all posts in %s’ ), $tag->name ) . ” ‘ . ‘>’ . $tag->name.’
- ‘ . $tag->description . ‘
‘;
}
}?>The blog I need help with is: (visible only to logged in users)
-
Hi there,
Looks like you’re in the wrong forum. Your site is using the open source WordPress.org software and you need to seek help at these forums:
https://wordpress.org/support/forums/
These forums are for WordPress.com hosted sites only. If you want to know more about the differences between WordPress.com and WordPress.org you can read this document:
- The topic ‘Error In Tag Description’ is closed to new replies.