Can I show blogtags with the number for each tag? #117
-
Is it possible to show in sidebar-list (blogtags) how often each tag is given? i.e.: |
Beta Was this translation helpful? Give feedback.
Replies: 0 comments 6 replies
-
For writers there are shortcuts, for example use Hope this helps. 😄 |
Beta Was this translation helpful? Give feedback.
-
not really :) I'm able to let count the tags in the list (=1) or let count all tags in the list (sets the same number to each tag; e.g. 4), but I didn't get it counting each tag itself and show in the list. I'm looking in "php für Dummies" but I didn't get it anyway. I think I have to build an (new) array with values and names of tags.... html & css is easier than php... ;-) |
Beta Was this translation helpful? Give feedback.
-
ha! I found it! gg no big thing - but for me! :) Its only instead of :) this in the plugin-folder blog.php below from |
Beta Was this translation helpful? Give feedback.
-
Good to hear 👍 |
Beta Was this translation helpful? Give feedback.
-
Is a complete template available? I think this is something to document, because I believe, this will be interesting for some more people, using Yellow. |
Beta Was this translation helpful? Give feedback.
-
This is only these two lines modified in the blog.php in the plugin-folder. No need for a complete template; this passage could be designed via css, cause it has its own class ".blogtags" |
Beta Was this translation helpful? Give feedback.
ha! I found it! gg no big thing - but for me! :)
Its only
$output .= htmlspecialchars($key)."</a>\n";
$output .= htmlspecialchars($value)."</li>\n";
instead of
$output .= htmlspecialchars($key)."</a></li>\n";
:)
this in the plugin-folder blog.php below from
if($name=="blogtags" && $shortcut)
(its roundabout line 117)