Hi,
Would it be possible to use a shortcode that automatically generates the assigned topic URL of Discourse to WordPress?
So let’s say, I have a WordPress post and I do like to directly link to this assigned topic, how do I do this?
Hi,
Would it be possible to use a shortcode that automatically generates the assigned topic URL of Discourse to WordPress?
So let’s say, I have a WordPress post and I do like to directly link to this assigned topic, how do I do this?
Hello @Festinger,
Please see
If you want more granular control, you can retrieve the discourse permalink directly from the post meta:
get_post_meta( $post->ID, 'discourse_permalink', true );
Alternatively you can use the shortcodes in