Hi, I want to hide, or rather, limit the amount of tags visible on posts. I don’t want any tags to be hidden from search engines, just from visitors. I already read some posts here and found that this is the code to hide tags and so far it works:
.tagcloud {
display: none !important;
}
But I wanted to know if there was just a way to limit the amount of tags that are visible to the visitor on each post - without hiding any of the tags from search engines. Thanks in advance for any help!
You will notice in the above code that we are just copying the selector line .post-inner-content .tagcloud a:nth-child(1) and changing the number 1 in to to the tasg number that we want to display which is in this case 2
If you want to display first and third tags only then you can just use the following code
@manizunis This is old topic and old code so this may not work on your site. To help us keep support thread separates could you please create new thread for each of your other questions here https://colorlibsupport.com/c/sparkling/ instead of asking them in your single thread as it makes the thread messy and hard to read.
If you want to you can also add reference of this thread in your newly created thread.
We would be more than happy to help you on your new thread.