Home › Forums › Weaver Xtreme Theme › Showing FI on a post when hiding is set by defautl
- This topic has 14 replies, 4 voices, and was last updated 3 months, 2 weeks ago by
beethoven.
-
AuthorPosts
-
April 28, 2026 at 09:34 UTC - Views: 90 #76778
beethoven
ParticipantAs I said in my precedent post, I wanted to hide FI on single page posts by default. That works. But now how could I overwrite that and unhide the FI on some posts. Is that possible ?
May 2, 2026 at 10:39 UTC - Views: 81 #76805User
ModeratorPerhaps the result may vary depending on how you restricted the FI in the first place, but as far as I know (which is not a lot) I thought that the FIs were off on all posts by WP design/default until an image was selected….
Does selecting a FI on one of the posts where you want it, not initiate it and turn it on?
If not, can you please share how you turned them off for a certain group of posts, so I can give it a try?
May 2, 2026 at 13:01 UTC - Views: 80 #76806beethoven
Participant@user I’m not sure to understand your questions. I can hide the FI on all posts on a single page (only on single page, not on full post) by default. That works with legacy and with composer. But if I do that, is it possible to ovewrite that, I mean unhide the FI, on one or some single posts ? On legacy and composer there is an option to change the position of the FI but not to unhide it if it is hidden by default. That is my question. Could that be resolved with css ?
May 2, 2026 at 17:23 UTC - Views: 76 #76808User
ModeratorI’m sorry, but what do you mean by “legacy and composer” as I’m not familiar with these terms?
May 3, 2026 at 06:38 UTC - Views: 72 #76812beethoven
Participantsorry ! legacy and customizer of course !
May 4, 2026 at 20:27 UTC - Views: 66 #76818Weaver
KeymasterWhen editing a post with the Classic Editor, there is an Weaver Xtreme option called: Single Page View: Featured Image near the bottom of the Weaver options section below the post’s content edit window. It has a few options on how to display the FI, including none. That, of course, is a per post setting. That applies to all views.
And of course, one could simply not have a feature image defined for a post.
May 6, 2026 at 13:01 UTC - Views: 58 #76829beethoven
ParticipantThank’s @Weaver, but I know that. My problem is other. I want to show by default the featured image on blog posts or pages with posts. That works (exemple : https://fncta-midipy.fr/spectacles-annonces/)
I want to hide the FI by defaut on single page view. That works too with “Hide FI single page on all devices” (actually not set on my site).
But on some individual posts I would like to show, unhide the FI and that is not an option in the per post settings.
Do you see a solution to workaround that problem, perhaps with css ?
May 6, 2026 at 16:38 UTC - Views: 52 #76832User
ModeratorNo, I believe CSS can’t “unhide” something that WordPress/Weaver Xtreme never outputs to the page.
CSS can work, if the featured image is still present in the HTML but hidden with CSS (e.g. display:none;, visibility:hidden;, or a theme class like .hide-featured). Then yes, you can override it for specific posts.
WordPress automatically adds post-specific classes like: .postid-123
So you could do something like:
.postid-123 .featured-image {display: block !important;}Or more generally:
.postid-123 img.wp-post-image {display: block !important;}But this only works if the image exists in the DOM.
Hope this helps.
May 6, 2026 at 22:52 UTC - Views: 46 #76836Weaver
KeymasterHmm… there is some bug with the Hide FI in the post options. When the post is displayed in a blog page, The FI is not hidden. But when the post itself is displayed, it is not only hidden, it is not there. This will take some investigation. But for now, I don’t know of a way to hide sometimes, and not others. But I think there might be a CSS solution, but I don’t have it at the moment.
May 6, 2026 at 22:59 UTC - Views: 45 #76837Weaver
KeymasterActually, I figured it out. When do you want to hide it? With Weaver Xtreme Plus, there are in fact two options, one for Post/Archive display, and one for Post Single page options. You can set the FI to not be displayed on one, and not displayed on the other. The image is in fact not include when that option is used, and not hidden by CSS.
These options are provided when editing a post.
May 7, 2026 at 08:40 UTC - Views: 42 #76841beethoven
Participant@weaver and @user, if I understand your solutions (I’m not sure !) they are per post solutions.
On my site FI are present on all posts
What I try to do is hiding the FI per default on single page view (weaver xtreme admin/main options/post specifics/Featured image – post/FI location single page/Hide Fi single page/Hide on all devices) That works
And then show the FI on some posts on a per page basis. (Single page view – featured image/ with content top) that doesn’t work
Every better would be an option to show the FI on single page view on some categories but not on others… But that option not exists or I didn’t find it
May 7, 2026 at 11:20 UTC - Views: 39 #76842User
ModeratorMy searches show there appear to be no plugins that automatically handle category-based conditional display for featured images in single views without custom coding. So I guess this is a pretty rare need case.
To get some perspective on the scale of this, approximately how many categories, single pages, posts and different FI are involved on your site?
May 7, 2026 at 13:24 UTC - Views: 31 #76843beethoven
Participant@User, hundreds of posts are involved ! Thank you for trying to help but if there is no solution there is no solution ! Inshallah !
May 26, 2026 at 08:06 UTC - Views: 32 #76976scrambler
ModeratorSorry @beethoven I am late to the game I was not seeing new posts on the forum….
When you use the theme option to hide the Featured image on single post page, this actually removes its HTML, so you cant undo that for one post.
The solution is to set the featured image TO BE displayed for single post pages in the theme option, then use the rule below to hide them on single post page using CSS
.single-post .wvrx-fi-link {display:none;}
Then if you want to undo that for a specific post, you can add an overriding CSS rule like below for that post, replacing xxxx by the post ID number
.single-post.postid-xxxx .wvrx-fi-link {display:block;}
If you have the plus plugin, you can instead put the CSS rule below in the post editing page “Xtreme options for this post” section > “Xtreme Plus” tab > “per post CSS” box, to display the hidden Featured image
+.single-post .wvrx-fi-link {display:block;}
As usual, if it does not work leave the rules in (saying which you used) and post back so we can see what is going on
May 27, 2026 at 08:06 UTC - Views: 14 #77001beethoven
ParticipantBonjour @scrambler, I’m glad you are back ! I resolved that without css with setting the FI to be diplayed for single pages in the page option as you say and then hiding the FI on specific posts. The result is the same. Advantage : it is quicker. Inconvenient : There are more posts concerned (more posts not showing FI as posts schowing FI)
Belonging my other question, how setting the same FI to all posts of a category (something like a category logo) , I will test différent plugins.
Thank you so much for your help
-
AuthorPosts
- You must be logged in to reply to this topic.

