Write custom featured_link to discourse topic?

Hey guys

Is there any way to write a custom URL to the featured_link of the topic with WP Discourse?

My use case: WP CPT products which have an affiliate link. Instead of the post URL, I want to write the product affiliate URL (set via custom field) to the featured_link of the discourse topic.

Cheers
Jr

1 Like

Yes, that will be possible. I’ll add a wordpress filter that lets you modify the featured link the WP Discourse plugin sends to Discourse in the next version of the plugin (2.5.8).

1 Like

Hey @angus

did you have a chance to take a look at this? I can take it for a test ride if you need feedback :slight_smile:

Hey, I’m planning to push the next version up for review next week.

1 Like