Publish error on WP-Discourse

Hey @Canapin,

The featured image in Wordpress and the featured link in Discourse are different things.

The featured link is a link that’s applied to Discourse topics, which appears below the topic title in a topic, and next to the title in a topic list. You can set the featured link in posts published from Wordpress using the Add Featured Links publishing setting. To see this working on the latest code of both WP Discourse and Discourse, see

You can add the featured image of a Wordpress post to the full text of a post published on Discourse following the steps outlined here.

Your log error

It looks like the error you’re getting there for the featured link request is an authorisation error. The code 403 and the message “Forbidden” (which comes from Discourse itself, not WP Discourse) is telling us that the user who you’ve set in your WP Discourse connection settings doesn’t have permission to use the Topic update endpoint (which is used to update a topic to add the featured link).

I would first try refreshing the API token (set it as a “Global Key” when you generate it in Discourse) you’re using in WP Discourse.

2 Likes