Skip Navigation

[Resuelto] Excerpt picking up category and headline

This support ticket is created hace 7 años. 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
- 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 -
- 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 -

Supporter timezone: Europe/London (GMT+00:00)

Etiquetado: ,

Este tema contiene 8 respuestas, tiene 2 mensajes.

Última actualización por Charles hace 7 años.

Asistido por: Nigel.

Autor
Mensajes
#590105

Support,

My excerpt is picking up the post category and it's headline. Is there a way to remove these two items from the excerpt?

Screenshot showing excerpt (note: "Uncategorized" & "Classic Bourbon Glass" in the excerpt): enlace oculto

Screenshot showing post: enlace oculto

Thanks,
Chuck

#590123

Nigel
Supporter

Idiomas: Inglés (English ) Español (Español )

Zona horaria: Europe/London (GMT+00:00)

Hi Chuck

Can I get details of how you are generating the pages where these screenshots were taken?

If you add a post excerpt to a template using the wpv-post-excerpt shortcode it will simply insert the text of the excerpt, so I suspect this is coming from your theme, but I need to know how it is created.

#590321

Nigel,

I use my theme's pagebuilder to create the Posts. I am using X Theme and Cornerstone.

The URL the displays the excerpts: enlace oculto

Maybe it's possible to give each element a class and then use that class to disregard in the excerpt? More than happy to grant access as this site is under development and not live.

Thanks,
Chuck

#590358

Nigel
Supporter

Idiomas: Inglés (English ) Español (Español )

Zona horaria: Europe/London (GMT+00:00)

Hi Chuck

I think we're in different timezones so let me catch you now to get site credentials from you so that I have them why I start work in the morning, and I can hopefully identify and resolve the problem straightaway so we don't lose too much time back- and forth-ing.

I will mark your next reply as private so that I can get log-in credentials from you—you may want to create a temporary admin user for me to use that you can later delete. And be sure to have a current backup of your site, even though I don't intend to make any changes other than—possibly—to temporarily add a backup plugin to take a snapshot of the site if I need to do some testing.

#590604

Nigel
Supporter

Idiomas: Inglés (English ) Español (Español )

Zona horaria: Europe/London (GMT+00:00)

Hi Chuck

I looked and saw that the issue was only with "Article Test 3", the other posts didn't have the same problem.

I can't account for what is different with that post than with the other two posts.

However, I would say that it is not entirely unexpected.

You are designing each individual post with the page builder (Cornerstone), which means that a lot gets added to the post content by the page builder besides the actual text content of the post itself.

When you insert the excerpt using wpv-post-excerpt, that simply uses the built-in WP function the_excerpt() to retrieve or generate the excerpt.

Retrieve if a post excerpt has been explicitly added, generate automatically from the post content if not. When the post content contains a lot more than just the post content text I wouldn't be surprised if the process generates unexpected text.

To avoid this problem I suggest that you add manual post excerpts. You'll need to use the Screen Option tab at the top of the page to expose the post excerpt metabox on the post edit screens. Then you can add the required text. I did this with the problem article and my manual excerpt now appears as expected on the front end.

We don't currently support using Cornerstone to design Content Templates but it is on our to-do list. When that becomes available, you won't have to design each post with Cornerstone, you will be able to simply add the desired text in the individual posts and use the template to create the design to be used on all posts.

#590657

Got it. I was able add the excerpt manually and looks to be working fine. I'll use this option for now.

Glad to hear Cornerstone is on the to-do list.

Thanks,
Chuck

#590658

I usually use the body paragraphs as my excerpts. Is there going to be an SEO issue if I use the same text, copy and pasted, in the excerpt box?

Thanks,
Chuck

#590666

Nigel
Supporter

Idiomas: Inglés (English ) Español (Español )

Zona horaria: Europe/London (GMT+00:00)

I don't believe so. It is normal practice to list articles with excerpts that lead to the full article, and you will be linking directly from one to the other, it is not like you will have duplicate content on different sites.

#590699

Thanks!