Turn off 'Show Full Post' in WP Discourse Plugin

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.

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.

Thanks once again @simon :thumbsup:

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

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.

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.

아직 이 문제에 대한 해결책이 없나요? OP가 요청한 대로, 사람들이 Discourse에서 게시물의 전체 내용을 보는 것은 원하지 않습니다. 대신 버튼에 제 기사의 링크를 포함해서, 클릭하면 해당 기사로 이동할 수 있도록 하고 싶습니다. 이것이 가능한가요?

안녕하세요 @cosdesign, 위에서 제안된 해결 방법을 시도해 보셨나요? 구체적으로 다음과 같습니다.

  1. WP Discourse 게시 설정에서 “Use Full Post Content”(전체 게시 내용 사용)이 체크되지 않았는지 확인하세요.
  2. Discourse 사이트 설정에서 "embed truncate"가 체크되지 않았는지 확인하세요.

이렇게 하면 다음과 같은 결과가 나타납니다:

  1. WP Discourse가 Discourse로 발췌문(excerpts)만 전송합니다.
  2. Discourse의 게시글에는 Wordpress 게시글로 돌아가는 링크가 포함됩니다.
  3. “Show Full Post”(전체 게시글 보기) 버튼이 표시되지 않습니다.

이것이 요구사항을 충족하는 것 같지 않나요?

안거스, 빠른 답변 감사합니다. 네, 임베드 잘림 옵션이 버튼이 제거되었네요. 감사합니다!

이와 별도로, Discourse wp 플러그인 > 텍스트 콘텐츠 탭으로 이동하여 "Originally published at"를 원하는 텍스트로 변경할 수 있습니다(저는 "Read the full guide at:"라고 입력했습니다). 정말 멋지네요 :slightly_smiling_face: