# How to publish a thumbnail image recording

**URL:** <https://meta.discourse.org/t/how-to-publish-a-thumbnail-image-recording/58212>\
**Category:** WordPress\
**Created:** [2017年三月2日 08:46 UTC](https://meta.discourse.org/t/how-to-publish-a-thumbnail-image-recording/58212 "2017-03-02T08:46:41Z")\
**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:** [2017年三月2日 10:23 UTC](https://meta.discourse.org/t/how-to-publish-a-thumbnail-image-recording/58212/2 "2017-03-02T10:23:20Z")

</div>

Take a look at the template customization [documentation](https://meta.discourse.org/t/wp-discourse-template-customization/50754). Adding something like this to your theme’s `functions.php` file should work.

```plaintext
function my_namespace_publish_format( $input ) {
    ob_start();
    ?>
    Originally published at: {blogurl}<br><br>
    {thumbnail}
    {excerpt}

    <?php
    $output = ob_get_clean();

    // Note: the call to apply_filters() that was in the original function has been removed.
    return $output;
}

add_filter( 'discourse_publish_format_html', 'my_namespace_publish_format' );

```

---

_[View the full topic](https://meta.discourse.org/t/how-to-publish-a-thumbnail-image-recording/58212)._
