# Request to delay post from wordpress

**URL:** <https://meta.discourse.org/t/request-to-delay-post-from-wordpress/98588>\
**Category:** WordPress\
**Created:** [October 2, 2018, 11:48pm UTC](https://meta.discourse.org/t/request-to-delay-post-from-wordpress/98588 "2018-10-02T23:48:44Z")\
**Posts on this page:** 1\
**Showing post:** 6

<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:** [October 26, 2018, 1:45am UTC](https://meta.discourse.org/t/request-to-delay-post-from-wordpress/98588/6 "2018-10-26T01:45:25Z")

</div>

> [@davidkingham](#):
>
> Can anyone confirm that the discourse plugin is using `the_content` ?

No, it isn’t. I’ll look into it some more as to whether or not it should be applying that filter. The main problem I see with it is that if shortcodes get parsed there can be a lot of display issues on Discourse.

For the moment, you can apply the filter yourself, or apply the `as3cf_filter_post_local_to_s3` filter. You can do this by hooking into the `wp_discourse_excerpt` filter that the plugin applies to the post content that’s published from WordPress to Discourse. Only try this if you have someway of accessing the backend of your site in case something goes wrong when adding the code. Try one or the other of these code snippets to your theme’s `functions.php` file.

```plaintext
add_filter( 'wp_discourse_excerpt', 'wpdc_custom_excerpt' );
function wpdc_custom_excerpt( $content ) {
    
    return apply_filters( 'as3cf_filter_post_local_to_s3', $content );
}

```

```plaintext
add_filter( 'wp_discourse_excerpt', 'wpdc_custom_excerpt' );
function wpdc_custom_excerpt( $content ) {

    return apply_filters( 'the_content', $content );
}

```

---

_[View the full topic](https://meta.discourse.org/t/request-to-delay-post-from-wordpress/98588)._
