because you are using a text widget, this is what I can suggest you do…
if you have links like this on your widget,
<a href="#">link 1</a>
<a href="#">link 2</a>
<a href="#">link 3</a>
<a href="#">link 4</a>
you could add a class to it based on body classes. you can check yours in your browser by viewing page source. If your theme is well written, you should have something like postid-208
in your class of <body
tag.
Now, with that we can add it to your links as class then make css to hide it. If you want link 1 to be hidden it that page, do it like this:
<style>
.postid-208 .postid-208 {
display: none !important;
}
</style>
<a href="#" class="postid-208">link 1</a>
<a href="#">link 2</a>
<a href="#">link 3</a>
<a href="#">link 4</a>
for others, I’ll assume some class, then it would be like this…
<style>
.postid-208 .postid-208,
.postid-209 .postid-209,
.postid-211 .postid-211,
.postid-231 .postid-231 {
display: none !important;
}
</style>
<a href="#" class="postid-208">link 1</a>
<a href="#" class="postid-209">link 2</a>
<a href="#" class="postid-211">link 3</a>
<a href="#" class="postid-231">link 4</a>