Let’s try it here with code
and codes
Here is the tag code
: https://bbpress.org/forums/topic-tag/code/ <-That works perfectly
Here is the tag codes
: https://bbpress.org/forums/topic-tag/code/ <-That works perfectly
Here is the search code
: https://bbpress.org/forums/search/code/ <-That works perfectly
Here is the search codes
: https://bbpress.org/forums/search/codes/ <-That works perfectly
is there a way to set up so all the tags appear on a page? e.g. Tags Page? Thanks.
You would need to start modifying your bbPress templates, have a read of some of the docs on the codex that @Robin-W has pointed out to you already.
Thanks Stephen. You’ve been helpful!
In this tag widget, the tag font sizes – are they random sizes? or admin can assign font sizes to different tag word?
https://www.dropbox.com/s/map86g1o2jbibb0/tags.jpg
In the theme here on bbpress.org they are the ‘default’ sizes, it is just a sidebar with the shortcode [bbp-topic-tags].
If you want to add custom sizes to a custom template part then something like this is a goo d start:
<?php wp_tag_cloud( array( 'smallest' => 12, 'largest' => 16, 'number' => 16, 'taxonomy' => bbp_get_topic_tag_tax_id() ) ); ?>
Thanks Stephen. that’s great. Now, I’m still a bit newbie to this coding thing. Would you kindly guide me where (which field) to add this code to?
<?php wp_tag_cloud( array( ‘smallest’ => 12, ‘largest’ => 16, ‘number’ => 16, ‘taxonomy’ => bbp_get_topic_tag_tax_id() ) ); ?>
Thank you so much.
I tried but seem to have no success with this ‘tags’ 🙁
1) on the default ‘topic tags’ widget, how to increase the number of tags display e.g. up to 100 tags?
2) I tried this plugin “Simple Tags” set up, but nothing is displaying. Perhaps I didn’t set up correctly? or any plugin that might work better?
Thank you so much for your help.
This all depends where and how you are customizing your site, that particular piece of code is if you are for example making yourself a custom sidebar.php
template for your site and you wanted to add it there.
Hi Stephen, I like to have it at the ‘sidebar’ please. I tried the code but I must have done it wrong (wrong paste) nothing happens 🙁 help appreciated.
Is there a plugin suitable for this?
hmmm.. tried and tried with no success 🙁 I really like the sidebar tags on https://bbpress.org/forums/ but I can’t seem to do that! help appreciated. In fact, if it can be display not only on different font size but different (random) colour too that would be better for easy search. Thank you so much.
I tried here… bbpress/includes/common/shortcodes.php
though I entered ‘smallest’ => 11, and ‘largest’ => 20,
the font size only show 11 on all – same size. Did I do something wrong? I thought it would randomly display 11 to 20?