Shortcode for generating topic link on WordPress?

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

2 Likes