Skip Navigation

[Gelöst] Featured Image Displaying Even Though Disabled

Dieser Thread wurde gelöst. Hier ist eine Beschreibung des Problems und der Lösung.

Problem:
How to hide featured image on single post

Solution:
There are many ways to hide the featured image - using CSS, Javascript or by editing theme files etc..etc..

User has fixed the issue by adding simple CSS as described with the following reply:
=> https://toolset.com/forums/topic/featured-image-displaying-even-though-disabled/#post-711444

Relevant Documentation:

This support ticket is created vor 6 Jahren, 6 Monaten. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Heute stehen keine Supporter zur Arbeit im Werkzeugsatz-Forum zur Verfügung. Sie können gern Tickets erstellen, die wir bearbeiten werden, sobald wir online sind. Vielen Dank für Ihr Verständnis.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

Dieses Thema enthält 4 Antworten, hat 2 Stimmen.

Zuletzt aktualisiert von aaronM-9 vor 6 Jahren, 6 Monaten.

Assistiert von: Minesh.

Author
Artikel
#694222

All of a sudden, as if out of the blue, pages in the "Layout-Product-Listing" layout have started displaying their featured image at the top of the page even though I have them explicitly disabled in the layout settings.

#695501

Minesh
Supporter

Sprachen: Englisch (English )

Zeitzone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Could you please share problem URL where I can see the issue.

As well as - in order to minimize the cause of issue and to ensure there is no plugin or theme conflict:

Could you please try to resolve your issue by deactivating all third-party plugins as well as the default theme to check for any possible conflicts with any of the plugins or themes?

If your issue still persists - I would like to know how to disable the featured image on layout so I will try to reproduce the issue on my local test install.

#699528

Hi Minesh,

I am using GeneratePress as my theme and tried switching back to Twenty Seventeen and the problem still persisted. I also deactivated a snippet I'm using to globally deactivate page titles (code below). So, it doesn't appear to be a problem with the theme. Below is a link to the page having the problem:

versteckter Link

You will need a username and password to login, which I can send via private message if you like.

Weirdly, when I went in to edit the layout, the Featured Image attribute was set to "Enabled". When I change it to "Disabled" and preview the page, the featured image is gone. When I change it to "Disabled" and view the live page after saving changes, it shows the featured image. Every time I go back to edit the layout, it revers back to the "Enabled" setting. Another strange thing is when I switch the theme to Twenty Seventeen and try to edit the layout, I don't even get the option to change whether or not the featured image displays or not.

Let me know if you have any ideas. Thanks.

- Aaron

// REMOVE PAGE TITLES BY DEFAULT

add_action( 'after_setup_theme', 'tu_remove_title' );
function tu_remove_title() {
    add_filter( 'generate_show_title', '__return_false' );
}
#700506

Minesh
Supporter

Sprachen: Englisch (English )

Zeitzone: Asia/Kolkata (GMT+05:30)

*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.

I would additionally need your permission to de- and re-activate Plugins and the Theme, and to change configurations on the site. This is also a reason the backup is really important. If you agree to this, please use the form fields I have enabled below to provide temporary access details (wp-admin and FTP).

I have set the next reply to private which means only you and I have access to it.

#711444

Hi Minesh,

I was able to just add some CSS that makes all featured images hidden universally across all site posts, so I think this resolves my issue unless you think this is not an appropriate way to do so. Thanks for the help.

/*REMOVE FEATURED IMAGES */

	.page-header-image-single {display: none;}

- Aaron