ksdasa1
Forum Replies Created
-
I see. I will need to complete work on other parts of my site before making a public url available. So, I will attend to that and later seek further support on this issue once I can provide the necessary.
Thank you for all your help.
Understood. So, practically speaking then, I need someone assess the exact situation happening on my site.
Could you advise how I can arrange that without going outside the rules of this forum?
I am not so naive as to give an unknown person a login to my site, but I perhaps someone could just view the site using a browser inspector and diagnose the problem. Am I wrong?
Thanks again for your help.
Thank you for the moderation and additional advice.
Based on what I understood from your suggestion, I added this code to the “Additional CSS” box inside the customizer options for the site (the post I am working with is #239 and the first two categories I want to hide are numbered 30 and 47).
.postid-239 .cat-item-30, .postid-239 .cat-item-47 {
display: none;
}That didn’t result in the categories getting excluded from display, however, so I am not sure what I have failed to understand or apply to get this to work.
Also, it would seem if this code did work that it would hide these categories from the post entirely, but I actually only want to hide them from one “Categories list block” on the page while including them in another “Categories list block” on the same page.
Any further advice how to achieve this would be greatly appreciated.
Thank you again.
That you for explaining the problem.
I would ideally like to exclude/include specific categories in specific blocks on a particular page and not exclude them from the entirety of a page and/or the entire site, as I believe would happen if I applied the code in the area called APPEARANCE => CUSTOMIZE => ADDITIONAL CSS.
So, I guess I should say now I am looking for some code using CSS classes that would achieve the goal that I can apply in the “ADDITIONAL CLASS(ES)” box in the block editor if that approach is viable.
Can I provide a login to you via email so that you can view my site? I don’t have any pages of the site visible publicly yet.
Thanks again.
My site is not publicly accessible yet. I hope this screen shot showing the situation will suffice to ascertain what code is needed.
Thank you.
Thank you for the suggestion.
I used the appropriate category ids and tried it but it did not work.
I tried it using .cat-item-123 and cat-item.cat-item-123 but neither worked.
I am using only an a HTML category list and not a dropdown.
Any further suggestions?
Thank you for your help.
Forum: Fixing WordPress
In reply to: HTML is stripped from the excerpt block since WordPress 6.3Thank you for explaining this.
It would be great if WordPress could resolve the issue in the next update as including HTML markup in excerpts is crucial to proper display of text in many instances.