Tag Cloud on page?
Novice with WordPress, been struggling to migrate a defunct Wikispaces site to something and have had some success via HTML export from Wikispaces and then the “HTML Import 2” plugin and Yada Wiki, following the lead of Lectrichead (whose site appears to have settled on MediaWiki which just crashes trying to import mine to a localhost). Wikispaces supported page tags, not categories, which I got them to export as hashtags. The hashtagger plugin batch converted them to the post_tag taxonomy but they were not being picked up by the “Tag Cloud” widget in the sidebar whether set to “Tags” or to “Wiki Tags”. I was able to divine enough understanding of the ws database to batch convert them to the “wiki_tags” taxonomy and now the cloud can show them.
However, the themes I’ve tried only allow the widget in a sidebar. With about 150 tags, I would like to put a tag cloud on a page. I’ve tried a couple of plugins that can do that but only for non-custom taxonomies. Is there a solution that works with Yada Wiki among the 54000 plugins?
Additionally, I would like the option of consolidating all taxonomies and page types (posts, pages, wiki pages,…) in one cloud or give the user the choice.
Thanks for any feedback,
Plugin Author dmccan
Some of the page builders allow you to use WordPress widgets. I tried the free version of Beaver Builder from here (the WP plugin directory), created a page and edited it with Beaver Builder, and was able to add the Tag Cloud widget and select the wiki_tags to show.
I hope that helps. I don’t know of any plugin that allows consolidating everything. I imagine one could do it with PHP and a custom function using the WP codex. If you went that route you’d also need to create a theme template to display it.
Thanks for the lead on Beaver Builder. I was able to put the wiki tag cloud on a page with that. Site building with WordPress is overwhelming, given the thousands of tools, options, themes. Now I have to find where the parameter is that limits the number of tags in the cloud to 45. Wikispaces allowed 100. I have about 150 and need to shrink the list but 45 is too constraining.
I found the defaults for the wp_tag_cloud() function in wp-includes/category-template.php and changed the ‘number’ parameter from 45 to 100 and now get the bigger cloud of wiki_tags. That’s okay for now but I am guessing it won’t survive a wp update. I’m on 4.99.
Let’s call this topic resolved. The title has been met using Beaver Builder. For control of the quantity of tags in the user interface, I understand that is outside the purview of Yada Wiki as is the case for consolidating tags of different types.
With appreciation for your prompt and helpful response,
TomPlugin Author dmccan
Glad you are making progress. Perhaps the answer in this thread might help regarding being update proof:
That looks very helpful, David. I’m guessing that customising either wp-content/themes/sanse/functions.php or wp-includes.php/category-template.php to have a custom function leaves the former vulnerable to an update of the theme or the latter subjected by an update of wordpress. I have read something about creating a child of a theme for customisation so perhaps that would avoid the risk from an update of either the parent theme or the core. Perhaps another path would be a CRON job that would edit either of these files but that means I have to learn PHP and probably other things.
- The topic ‘Tag Cloud on page?’ is closed to new replies.