Schalten Sie 'Zeigen Sie vollständigen Beitrag' im WP Discourse Plugin aus

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 „Gefällt mir“

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 „Gefällt mir“

Thanks once again @simon :thumbsup:

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

2 „Gefällt mir“

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 „Gefällt mir“

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.

Gibt es hierfür noch keine Lösung? Genau wie der Ersteller des Beitrags es gewünscht hat, möchte ich nicht, dass Leute den vollständigen Beitrag auf Discourse sehen. Stattdessen möchte ich, dass der Button den Link zu meinem Artikel enthält, damit ich sie dorthin weiterleiten kann, wenn er angeklickt wird. Ist das möglich?

Hallo @cosdesign, hast du die oben vorgeschlagene Lösung ausprobiert? Nämlich:

  1. Stelle sicher, dass “Use Full Post Content” in den WP Discourse Publishing-Einstellungen nicht aktiviert ist.
  2. Stelle sicher, dass “embed truncate” in den Discourse-Seiteneinstellungen nicht aktiviert ist.

Das bedeutet:

  1. WP Discourse sendet nur Auszüge an Discourse.
  2. Der Beitrag in Discourse hat einen Link zurück zum Wordpress-Beitrag.
  3. Es wird keinen Button “Show Full Post” geben.

Ich denke, das würde deine Anforderungen erfüllen?

2 „Gefällt mir“

Hallo Angus, danke für deine schnelle Antwort. Ja, die Option „Embed-Kürzung“ hat tatsächlich den Button entfernt, danke!

Zusätzlich können wir „Ursprünglich veröffentlicht unter“ in alles umbenennen, was du möchtest (ich habe „Lies den vollständigen Leitfaden unter:“ eingegeben), indem du zum Discourse-WP-Plugin > Textinhalt-Tab gehst. Großartig :slightly_smiling_face:

1 „Gefällt mir“

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