Is there a way to limit the number of tags that show up?

Home Forums Jevelin Theme Is there a way to limit the number of tags that show up?

Home Forums Jevelin Theme Is there a way to limit the number of tags that show up?

This topic contains 9 replies, has 3 voices, and was last updated by  Shufflehound Support 2 months ago.

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
  • Hello,

     

    I’ve been uploading a bunch of content to my site and love how it’s turning out. (Thank you!)

     

    One issue I’m running into now is the list of tags for blog posts… it’s getting really long, especially in the footer. Is there a way to limit the tags list to actually only display the most popular? Or just put a hard cap on it, like 10? I know as I keep adding content, the list of tags will just get longer.

     

    Thanks for the help as always,

     

    Patrick

     

    Hi Patrick,

     

    I hope you are well today and thank you for your question.

     

    You can limit it to 10 by adding the following CSS code in the Custom CSS code option of your theme on the below path.

    Admin Area -> Appearance -> Theme Settings -> Custom Code -> CSS Code

     

    .blog-single a.sh-blog-tag-item:nth-child(1n+10) {
        display:none;
    }

     

    Best regards,
    Shufflehound team

    Hi there,

    Thanks.
    I tried adding that custom code. But all tags are still displayed.
    I want to limit the tags to the 5 most popular ones in both the blog side widget and footer widget please.
    Thanks.

    @zelda Could you please share me the page URL from your site where it is displaying so that I can help you to hide it?

    Hi there,

     

    I do not want to totally hide these tags.

    Just limit all of them to the first five most popular ones.
    Please see attached.

    Unfortunately, this website is not public, so no access can be given.
    Kindest regards.

    Attachments:
    You must be logged in to view attached files.

    I need to access your site to provide you CSS solution as there isn’t any option to achieve this.

     

    If your site is not accessible then you can try achieving this using Yellow Pencil editor as described in the below page.

     

    https://support.shufflehound.com/how-to-change-almost-any-element/

    Hi there,

    Here are the two yellow pencil printscreens.

    Does that help for the custom code to add please?
    Thanks and kindest regards.

    Attachments:
    You must be logged in to view attached files.

    @zelda Please try using below custom CSS code.

    .tagcloud .tag-cloud-link:nth-child(1n+5) {
        display:none !important;
    }

    Zelda
    Participant

    Ok, thanks.

    But that just dsiplays the 1st 4 tags alphabetically.
    What I need is the 4 most used tags.

    Thanks and kindest regards.

    What I need is the 4 most used tags.

    The theme doesn’t provide this functionality as it is plugin territory.

     

    To achieve this, you have to develop custom code.

     

    Developing custom code for custom functionality is beyond the scope of support that we provide here. Please see https://themeforest.net/item/jevelin-multipurpose-premium-responsive-wordpress-theme/14728833/support

     

    If you are not a developer then you can consider hiring a developer to develop it for you. You can hire a developer from any freelance site. Shufflehound recommends the developer https://www.upwork.com/freelancers/~011652ffec8865c6d5

Viewing 10 posts - 1 through 10 (of 10 total)