So I was able to get only the assigned categories to display using this shortcode:
[cool_tag_cloud on_single_display=”local” taxonomy=”album-category” style=”black” font_weight=”bold”]
- One thing I can’t do is align the tags so they are centered rather than left or right. My page style has all the writing centered. The tags look pretty silly being aligned left or right only…How do I align the tags so they are centered rather than left or right?
- Is there any way to make the font larger? I couldn’t figure that out and saw that it said something about 17px being the largest font size, but I’m not sure that my tags are displaying at 17px. They seem small.
- Is there any way to do custom colors using the color codes.
Here is a page where you can see the tags in action:
https://www.kingswaychurch.ca/worship/recordings/2022-08-06-saturday/
So I think I solved everything now except making custom colours to match my theme perfectly. That would be so sweet, but for now I’m content.
I thought I would update my own post in case someone wants to do something similar in the future.
- To centre my Cool Tag Cloud I added this custom CSS to my theme:
.cool-tag-cloud {
margin-left: auto;
margin-right: auto;
position: centre;
width: 70%;
}
Just change the width percent to make it narrower or wider. It’s not centred perfectly like this paragraph you’re reading now, but it’s good enough for me.
2. My font was indeed smaller than 17px before but when I added the smallest parameter to my shortcode it was fixed. I ended up going down to 15px.
[cool_tag_cloud on_single_display=”local” taxonomy=”album-category” style=”silver” font_weight=”bold” smallest=”15″]
3. I never solved my third point yet to style the tags in a completely custom colour scheme to match my theme… so that isn’t resolved yet, but I’m content for the time being.
Going to mark this off as resolved.
Thanks for making a simple plugin that works!
Plugin Author
WPKube
(@wpkube)
Hi @countstoneula
- Looks good. If you want it centered like the paragraph then replace the
position: center; with text-align: center;
- If you want them all to be 15 then you can set
smallest="15" largest="15"
- At the moment custom colors are not possible since those graphics are images, they aren’t achieved with CSS. So only the predefined set of colors is available. But we are planning on switching that to CSS so it would be possible to go with custom colors.
You’re welcome and thank you.