# בעיה קוסמטית: בלוק הטמעה מוביל לכפילות ב-discourse

**URL:** https://meta.discourse.org/t/cosmetic-issue-embed-block-leads-to-duplicate-in-discourse/194188
**Category:** WordPress
**Created:** [17 ביוני,‏ 2021,‏ 1:31pm UTC](https://meta.discourse.org/t/cosmetic-issue-embed-block-leads-to-duplicate-in-discourse/194188 "2021-06-17T13:31:51Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![jrgong](https://avatars.discourse-cdn.com/v4/letter/j/c57346/32.png) [@jrgong](https://meta.discourse.org/u/jrgong)
#### Post date: [17 ביוני,‏ 2021,‏ 1:31pm UTC](https://meta.discourse.org/t/cosmetic-issue-embed-block-leads-to-duplicate-in-discourse/194188/1 "2021-06-17T13:31:51Z")

</div>

Hey guys

Whenever there is an embed block (in this case a link to another post) in a blog post, it’s printed twice in the forum version:

1. regular text link in a `div > blockquote > p` - which is not desired behaviour ❌
2. as an iframe as embed - which is desired behaviour ✅

 ![Screenshot 2021-06-17 at 15.24.52](https://global.discourse-cdn.com/meta/original/3X/8/3/8344e4056fa4ef989c88e02ece4d6033c38d2302.jpeg)

How can we remove the text link above the embed?

---

<div class="post-metadata">

### Author: ![angus](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/angus/32/341715_2.png) [@angus](https://meta.discourse.org/u/angus)
#### Post date: [18 ביוני,‏ 2021,‏ 6:19am UTC](https://meta.discourse.org/t/cosmetic-issue-embed-block-leads-to-duplicate-in-discourse/194188/2 "2021-06-18T06:19:46Z")

</div>

Hey @jrgong,

The two links are there in the original HTML of the [Wordpress post](https://www.cannabisanbauen.net/bud-rot/) from your screenshot (the first one is just hidden).

 ![Screenshot at Jun 18 16-14-01](https://global.discourse-cdn.com/meta/original/3X/2/a/2a256a20eb7e8e3640fee48629737c9569f16b4a.png)

This one will need to be fixed on the Wordpress side in your editor. Discourse is just displaying what HTML is received from Wordpress.

You can do this using the `wp_discourse_excerpt` filter. See the examples here: [WP Discourse plugin tips and tricks](https://meta.discourse.org/t/wp-discourse-plugin-tips-and-tricks/50757#dealing-with-wordpress-shortcodes)

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [18 ביולי,‏ 2021,‏ 6:20am UTC](https://meta.discourse.org/t/cosmetic-issue-embed-block-leads-to-duplicate-in-discourse/194188/3 "2021-07-18T06:20:34Z")

</div>

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