开发者 |
scossar
cdck angusmcleod samsaffron techapj |
---|---|
更新时间 | 2024年12月12日 07:12 |
PHP版本: | 5.6 及以上 |
WordPress版本: | 6.7.1 |
版权: | GPLv2 or later |
版权网址: | 版权信息 |
All of the plugin's functionality except for using Discourse as the DiscourseConnect provider for WordPress works with multisite configurations.
No this plugin acts as an interface between Discourse and WordPress. For it to work you will need to first set up Discourse forum. You can install Discourse for yourself following either of these guides:
No.
The plugin uses the Discourse API, so your forum and blog can be hosted separately and the integration will still work. In fact, we strongly recommend hosting the two applications separately, since their hosting requirements are very different.
Yes, the html templates used for publishing posts on Discourse and for displaying comments on WordPress can be customized in your theme. This is done by hooking into the filters that are applied to each template. For more details on template customization, take a look at the Template Customization topic on the Discourse Meta forum.
Not automatically. You need to apply custom HTML&CSS to Discourse in order to match the theme of your WordPress site. To create a coherent top menu, see our tutorial on how to make a Custom nav header
sync_sso
requestwpdc_comments_count
filter to allow comments count for posts that have not been published to Discourse to be filtered/discourse-sidebar
directoryredirect_to
URL parameter to the SSO process.+
character from email addresses when Discourse is the SSO Provider for WordPressname
field is presentwp_safe_redirect
. Add the Discourse forum URL to the 'allowed_redirect_hosts' arraydiscourse
options on plugin uninstall if it is still in the databaseget_date_from_gmt
on datetime
returned from Discourse'.screen-reader-text'
class to screen-reader text'.discourse-comments-area'
class to Discourse comments areaarray_key_exists
on nullcomments_number
hook when both Discourse and WordPress comments are used for a postget_comments_number
function when WordPress comments are not being usedXML-RPC
sync_to_discourse
and sync_comments
lock transientsrequire_activation => 'true'
for SSO request after email address change on WordPresswp_get_current_user
add_query_arg
undefined offset notice