How to publish a thumbnail image recording

Take a look at the template customization documentation. Adding something like this to your theme’s functions.php file should work.

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' );
3 Likes