# Remova as tags \<small\> da frase "Originally published at"

**URL:** <https://meta.discourse.org/t/remove-the-small-tags-of-the-originally-published-at-sentence/80539>\
**Category:** WordPress\
**Created:** [14 Fevereiro , 2018 15:02 UTC](https://meta.discourse.org/t/remove-the-small-tags-of-the-originally-published-at-sentence/80539 "2018-02-14T15:02:38Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![simon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simon/32/339122_2.png) [@simon](https://meta.discourse.org/u/simon)\
**Post date:** [14 Fevereiro , 2018 16:25 UTC](https://meta.discourse.org/t/remove-the-small-tags-of-the-originally-published-at-sentence/80539/2 "2018-02-14T16:25:45Z")

</div>

Yes, possibly the plugin should give some options for what template is used when a post is published to Discourse. It’s possible to customize the template that is used now. Take a look at the [Customize the structure of WP Discourse templates](https://meta.discourse.org/t/wp-discourse-template-customization/50754) topic to see how it’s done.

I like the image that you linked to. It’s possible to publish posts in that format by using a template similar to the one in [this post](https://meta.discourse.org/t/wp-discourse-template-customization/50754/6). If you change the template in that post to this, it should give you what you are looking for.

```php
function wpdc_custom_publish_format_html() {
	ob_start();
	?>
    This topic is to discuss the following lesson on {blogurl}<br>
	<?php
	the_permalink();
	$output = ob_get_clean();
	return $output;
}
add_filter( 'discourse_publish_format_html', 'wpdc_custom_publish_format_html' );

```

You will need to select the Use Full Post Content option on the [WP Discourse](https://github.com/discourse/wp-discourse) publishing options tab, and unselect the embed\_truncate setting on Discourse for this to work.

---

_[View the full topic](https://meta.discourse.org/t/remove-the-small-tags-of-the-originally-published-at-sentence/80539)._
