Add a link Button in a topic


I am wondering how can I add a Button in a topic?

Can be merged with the text.

Sorry about the simplicity in my question, but it can be something like this picture below.


You can’t easily do this, for security (and UI consistency) classes on link tags are stripped in the composer.

There is a roundabout way to do something like what you are looking for, but it requires an extra theme component and some extra styling, see Adding classes to links in post body for styling for more details.


For our case we use a workaround using links embedded in images. Looks something like:


Try clicking the image below, it will redirect to


If you don’t want a specified dimension you can leave the box blank.

Could be something you can try. Doesn’t require a theme component or anything. If you are willing to make your own “button”, then this will probably be the best choice.


Thanks for the solutions everyone! I will try them out and let you know which one works better for me.

1 Like

@Chaboi_3000 your suggestion worked well for me, now I can customize images and create links from them.


@Chaboi_3000 how can I create this link for opening a new tab?


It will automatically open a new tab as long as the websites are different. (eg. Going from theme creator->meta discourse will open a new tab). If it shares the same domain/website, then it’ll open that link on the same tab.

1 Like

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