Desactiva 'Mostrar publicación completa' en el plugin WP Discourse

I’ve recently noticed that a ‘Read full post’ button has appeared in Discourse topics linked to Wordpress articles.

Is it possible to have this as an option that can be turned off?

2 reasons for this request:

  1. I use Visual Composer in Wordpress to build some posts so they don’t always appear correctly in Discourse
  2. I’d prefer people to have to click the link and visit my Wordpress site rather than staying on the forum

Cheers!

Isn’t that configurable in the wp discourse plugin?

Not that I saw. I did check! Did I miss it?

Edit

There is an option to show the full post instead of an excerpt. However there doesn’t appear to be an option to remove the Show Full Post button when you are only displaying the excerpt.

You need to disable the ‘embed truncate’ setting on Discourse. It’s found under admin/site_settings/category/posting.

2 Me gusta

Thanks.

That has removed the button from my existing topics.

However, does this also have the effect of not truncating my future articles?

I’d like them truncated, but I don’t want to show the button…

No, the setting is a little confusing, Disabling ‘embed truncate’ on Discourse has no effect on what is being published to Discourse from the wp-discourse plugin. As long as the ‘Use full post content’ setting is not enabled on WordPress, only excerpts of your posts will be sent to Discourse.

If you’d like to set the content of the post excerpt on WordPress, make sure that ‘Excerpt’ is enabled under ‘Screen Options’ on the WordPress post-new page. You can then add the content that you would like to be published to Discourse to the ‘Excerpt’ meta-box on that page.

4 Me gusta

Thanks once again @simon :thumbsup:

We should improve the help copy (the setting description text) here if we can.

2 Me gusta

I just fell prey to this myself. The “show full post” button on my site decided to show the privacy policy from my site, and not the full post. So I had to disable it. I went to search admin settings for “show full post” but it is not included in the helper text so shows no result. I had to come back to this post to get the answer. Thanks, @simon!

So… agreeing with @codinghorror that the help copy should be improved, at least to include the keywords “show full post”. For the rest I don’t fully understand how this functionality works and will leave it off on my site for the time being.

3 Me gusta

Just adding to this, since I just had nearly the same experience. The show full post button on our site also displayed only the legal lines of the footer from our website, nothing else. Without this topic, I would not have found how to get rid of the button.

Yes, I think there should be an option to disable this behaviour on the WordPress end, without having to unselect the ‘embed truncate’ setting on Discourse.

If the plugin doesn’t send the embed_url to Discourse when it publishes a post, then the Show Full Post button won’t show up on Discourse.

¿Todavía no hay solución a esto? Tal como solicitó el OP, no quiero que la gente vea la publicación completa en Discourse. En cambio, me gustaría que el botón incluyera el enlace a mi artículo para poder enviarlos allí si se hace clic. ¿Es esto posible?

Hola @cosdesign, ¿has probado la solución sugerida anteriormente? Específicamente:

  1. Asegúrate de que “Usar contenido completo de la publicación” no esté marcado en la configuración de publicación de WP Discourse.
  2. Asegúrate de que “truncar incrustación” no esté marcado en la configuración del sitio de Discourse.

Esto significará que:

  1. WP Discourse solo enviará extractos a Discourse.
  2. La publicación en Discourse tendrá un enlace a la publicación de Wordpress.
  3. No habrá un botón “Mostrar publicación completa”.

¿Creo que esto cumpliría tus requisitos?

2 Me gusta

Hola Angus, gracias por tu rápida respuesta. Sí, la opción de truncamiento de incrustaciones eliminó el botón, ¡gracias!

Además de esto, podemos renombrar “Publicado originalmente en” a lo que quieras (escribí “Lee la guía completa en:”) yendo al plugin de Discourse wp > pestaña Contenido de texto. Impresionante :slightly_smiling_face:

1 me gusta

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.