Home Forums Weaver Xtreme Theme Another FI question

Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #76781
    beethoven
    Participant

    Is it possible to choose an FI for a category, I mean, setting automaticaly the same FI for all posts in a category  ? Thank’s in advance

    #76977
    scrambler
    Moderator

    Not that I know of with weaver, may be a plugin

    #77009
    beethoven
    Participant

    The plugin “Category Featured Image” works and sets an image for all posts of a category. It is then possible to hide the FI on one post but not to replace it. Could that be done with css ?

    #77015
    scrambler
    Moderator

    I am sure we can do it with CSS, we will need a link and specifics about what post to do that for

    #77017
    User
    Moderator

    @beethoven

    I’m sure Scrambler can probably devise a CSS solution for a ‘no-show’ on a list of post IDs.

    Do you have an indication of how many you would want to exempt?  And how often will that list change?   That would help give an idea of the scale of the issue.

    I worry that the job of adding to and maintaining a long list of exempt IDs may make such a solution administration a real burden – or even unworkable in practice.

    #77018
    beethoven
    Participant

    Thank you both @scrambler and @user

    On my site fncta-midipy.fr there is a category “Annonces ” I added (temporarly to try the plugin ) a FI for this category.

    You can see it on that post : https://fncta-midipy.fr/troupe-cherche-metteur-en-scene/

    or on that page with posts : https://fncta-midipy.fr/nouvelles-annonces/

    or on the other page with posts : https://fncta-midipy.fr/actualites/ you have to scroll down to see some “annonces” posts

    The thoretical question (I don’t think it could happen often) is  : How could I change the FI for one of this  posts ?

    The practical more important question is :  how could I hide the FI for this posts on the “annonces” page with posts where it is unnecessary ? But not hide the FI on the “actualites” page with posts where it is necessary ?

     

    #77019
    scrambler
    Moderator

    The thoretical question (I don’t think it could happen often) is  : How could I change the FI for one of this  posts ?

    The plugin would have to allow you to do that, by for example reverting to a post actual FI instead of the category one. If they dont have that option suggest it to them.

    The practical more important question is :  how could I hide the FI for this posts on the “annonces” page with posts where it is unnecessary ? But not hide the FI on the “actualites” page with posts where it is necessary ?

    You can hide the FI on any post just on the annonces page with a CSS rule like below placed in the theme global custom CSS rule box

    .page-id-11809 #post-93409 .wvrx-fi-link {display: none;}

    replacing the numbers by the specific page and post numbers you want to hide the FI from

    As usual you can instead use the post editing page to place the modified rule below in the Plus per post CSS box

    +.page-id-11809  .wvrx-fi-link {display: none;}

    #77020
    beethoven
    Participant

    @scrambler

    .page-id-11809 #post-93409 .wvrx-fi-link {display: none;} in the global custom CSS doesn’t work

    +.page-id-11809  .wvrx-fi-link {display: none;} in the Plus per post CSS box doesn’t work

    But just :  .wvrx-fi-link {display: none;} in the Plus per post CSS box works perfectly  and on other pages it works too.

    So this problem is resolved ! As usual, you are great ! Thank you

    #77022
    scrambler
    Moderator

    It does works as I tested it on my end on your pages.

    Without the page-id class it will hide on other pages too…

    IF needed put one of the rule in and post back so I can see why it does not work for you…

    #77023
    beethoven
    Participant

    I had to change the plugin, a bad plugin (when activated, impossible to add any FI to any new post !!!)

    I’m now using the ‘Quick Featured Images’ plugin.

    With this plugin the rule .page-id-11809 #post-93409 .wvrx-fi-link {display: none;} in the global custom CSS does not work.  I leave it in place, so you can see

    With this plugin the rule  +.page-id-11809  .wvrx-fi-link {display: none;} in the Plus per post CSS box works but I see no difference using only .wvrx-fi-link {display: none;}  I saw no effects on other pages. Since it is a per post CSS why the page-id class is it necessary ?

    #77024
    scrambler
    Moderator

    It does work

    If I go to

    Nouvelles annonces – Théâtre Amateur en Midi Pyrénées

    The middle post on the second row (troupe cherche une comedienne) does not have the featured image and I see the active CSS rule doing it.

    But on the page

    Actualités – Théâtre Amateur en Midi Pyrénées

    The same post does have its featured image.

    If it does not work for you, you must be seeing a cached version, test on a different computer and/or clear all caches

    You had mentioned (I understood) the same post you want no FI on, appears on different pages with posts, and you only wanted to remove the FI in one specific page.
    The two pages above are a case of that where the same post appears on two different pages with posts, yet you only wanted an FI removed on one not the other.

    If this is not the case (or I misunderstood), and the post only appears in one Page with posts, then you dont need the page id class and the simpler rule in the per post CSS is enough

    #77028
    beethoven
    Participant

    Thank you @scrambler . Yes, it works, I was misunderstanding you ! So :

    • In the  the global custom CSS the rule to hide all FI of the “Annonces” page : .page-id-118099 .wvrx-fi-link {display: none;} works
    • In the Plus per page (and not per post, I think that was the cause of my misunderstanding) CSS box the rule to hide all FI on the page: .wvrx-fi-link {display: none;} works.

    Is that right ?

    #77029
    scrambler
    Moderator

    In the  the global custom CSS the rule to hide all FI of the “Annonces” page : .page-id-118099 .wvrx-fi-link {display: none;} works

    Yes that rule is to hide all featured images in a page with the ID 118099 (change the id for other pages

    If you want to use the page editing page Plus per page CSS box, you can indeed REPLACE the rule above by the simpler one below placed in the Plus Per page CSS box

    .wvrx-fi-link {display: none;} 

    #77030
    beethoven
    Participant

    Tout est bien qui finit bien ! Merci @scrambler

Viewing 14 posts - 1 through 14 (of 14 total)
  • You must be logged in to reply to this topic.