• Resolved countstoneula

    (@countstoneula)


    Hi, I am using a custom page type which only allows for categories, not tags. I would like to display the categories that are assigned to that page only at the bottom of each page. So you can click the categories and get a list of all the other posts that have that category.

    Is this possible with Cool Tag Cloud?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter countstoneula

    (@countstoneula)

    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”]

    1. 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?
    2. 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.
    3. 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/

    Thread Starter countstoneula

    (@countstoneula)

    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.

    1. 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

    1. Looks good. If you want it centered like the paragraph then replace the position: center; with text-align: center;
    2. If you want them all to be 15 then you can set smallest="15" largest="15"
    3. 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.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Display Post Categories’ is closed to new replies.