Skip Navigation

[Resuelto] Disable Featured Image in Layouts Theme Options is not working

Este hilo está resuelto. Aquí tiene una descripción del problema y la solución.

Problem: I have selected "disable featured image" in Layouts Theme Options, but I am seeing inconsistent results on the front-end of the site.

Solution: Make sure there are no Content Templates applied to these posts by disabling Layouts temporarily, then editing the posts. After reactivating Layouts, you may have to modify the setting to trigger an update. Our developers are aware of some issues that happen when Theme Options in Content Templates and Layouts conflict with one another, and are looking into some ways to improve this experience.

This support ticket is created hace 6 años, 6 meses. 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.

Hoy no hay técnicos de soporte disponibles en el foro Juego de herramientas. Siéntase libre de enviar sus tiques y les daremos trámite tan pronto como estemos disponibles en línea. Gracias por su comprensión.

Sun Mon Tue Wed Thu Fri Sat
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

Este tema contiene 16 respuestas, tiene 2 mensajes.

Última actualización por Christian Cox hace 6 años, 5 meses.

Asistido por: Christian Cox.

Autor
Mensajes
#904643
Image%202018-05-27%20at%2012.36.07%20PM[1].png

I am trying to: Remove the featured image in a post single view using layouts

Link to a page where the issue can be seen: enlace oculto

I expected to see: No featured Image

Instead, I got: Featured image displayed by the theme.

My Layout includes the Content Template specifically for the post type single.
The theme I'm using is GeneratePress Version: 2.1.2
All of my Toolset plugins are updated to the latest versions.

I know I can use the GeneratePress via the customizer to remove the featured image but I don't want to do that for all post types.

#904648

My Layout includes the Content Template specifically for the post type single.
This might be the problem, because Content Templates have Theme Options settings that may be causing problems with the Layout Theme Options. In general, I do not recommend having a Content Template applied to a post type and a Template Layout assigned to the same post type. Please try these steps:
- Temporarily deactivate the Layouts plugin
- Edit the Content Template applied to this post type and change the usage so that it is no longer assigned to the Event single post.
- Edit this Event post and unassign any Content Template that is applied to this Event.
- Reactivate Layouts and test the Event post again.

Let me know the results and we can go from there.

#904677

Followed along with your instructions but there was no change.

#904678

Can you please take a screenshot showing the Layout Editor screen in wp-admin for the Events single post Layout?

#907093
Image%202018-05-31%20at%2011.29.35%20AM[1].png
Image%202018-05-31%20at%2011.29.09%20AM[1].png
Image%202018-05-31%20at%2011.28.39%20AM[1].png

attached

#907115

Please remove the Content Template cell from this Layout, then save and test again. If the problem is resolved, then you can edit the Content Template, copy all the code, and paste it in the Layout in a Visual Editor cell instead of using a Content Template cell.

If the problem is not resolved, I will have to take a closer look.

#907192

Content template cell deleted.

I have two events, both still show the title and image.

#907193

May I log in and take a look at your wp-admin area? I will activate private reply fields here.

#907893

Thank you, I see now. The GP Premium plugin seems to be causing the conflict here. If I go to Appearance > GeneratePress I see several options here. If I deactivate Blog or Page Header, the featured image display Theme Options work as expected. So are both of these settings required for other features on your site? If not, then disabling one should resolve the problem. If so, then another option is to go to Appearance > Customize > Layout > Blog and you can deactivate Featured Images for Posts. Again, this has an effect on the rest of your site so it may not be appropriate. Let me know your thoughts and we can go from there.

#908494

I'm a little confused 🙂
As I said in my first post, I understand that I can disable the title and featured image using the GeneratePress Pro feature but that does it for all post types.

Since Layouts has the option to disable the featured image and/or post title, I assumed that I could do so on a per Layout or per post type basis. If not, then I'm unsure why Layout has the option.

Or, are you saying that Layouts has the feature for GeneratePress without Pro and the Pro module is causing the problem?

I *think* it's a bug so if I could just report it, work around it, then move on that would be great. It's not really a massive deal to me but if it worked the way I think it should work that would be nice.

#908979

Or, are you saying that Layouts has the feature for GeneratePress without Pro and the Pro module is causing the problem?
Correct. Layouts can manage the featured image display on a per-Layout basis using the Theme Options panel if either the GP Premium plugin is deactivated, or if the global setting in the GP Premium plugin is disabled for Blog and Page Header.

#911554

With GP Pro enabled, the results are completely inconsistent.
If the Layout options to disable the title and featured image are going to work that way (seemingly random) then perhaps those options should be removed?

I spent quite a bit of time trying to figure out why this doesn't work with the answer being "it doesn't work".

#911825

With GP Pro enabled, the results are completely inconsistent.
Please show me specific examples of this inconsistency, or step-by-step instructions for me to replicate it. I'll take a look and see if there's anything we can do to make this more predictable.

#911957

The title display is inconsistent when an featured image is used or not.

#912091

The login credentials I was using no longer work, can you check? I will reactivate private reply fields here. Please provide login credentials that work, and specific example posts where I can see the inconsistency problem.