# Add button with link post forum

**URL:** https://meta.discourse.org/t/add-button-with-link-post-forum/173668
**Category:** WordPress
**Created:** [December 18, 2020, 12:30am UTC](https://meta.discourse.org/t/add-button-with-link-post-forum/173668 "2020-12-18T00:30:22Z")
**Posts on this page:** 1
**Showing post:** 8

<div class="post-metadata">

### Author: ![Jonathan5](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jonathan5/32/197134_2.png) [@Jonathan5](https://meta.discourse.org/u/Jonathan5)
#### Post date: [December 18, 2020, 9:03am UTC](https://meta.discourse.org/t/add-button-with-link-post-forum/173668/8 "2020-12-18T09:03:30Z")

</div>

You are probably being clear enough for someone who knows more about it 🙂 For me, you’d have to describe the steps you’ve taken, what happens and what you want to happen. But do you think this may be your answer?

> [@Embed Discourse comments on another website via Javascript](https://meta.discourse.org/t/embed-discourse-comments-on-another-website-via-javascript/31963/1):
>
> ### Embedding on more than one page
> 
> In the above example we hard coded our `http://example.com/blog/entry-123.html` URL when embedding the snippet of Javascript. This usually won’t be enough as many sites have many pages that are generated automatically. For example on a blog each entry typically gets its own page. To support this, put the same snippet on each page you want to display comments on, but replace the value passed to `discourseEmbedUrl` with the current page’s URL. On my blog, I use the following value for `discourseEmbedUrl` : `'http://eviltrout.com<%= current_page.url %>'` – as new blog pages are created, new topics will be created for them automatically on Discourse.

---

_[View the full topic](https://meta.discourse.org/t/add-button-with-link-post-forum/173668)._
