WordPress Plugin Guide

WordPress users can use our official plugin to install Hyvor Talk on WordPress.

Installation

Page Identifiers (Important)

Page identifiers are how we identify unique pages of your website.

Up to version 1.2.5, the plugin used a combination of the post ID and guid as the identifier. However, in later versions, it uses post ID as the page identifier for post pages. If your website ID is less than 4500, legacy identifiers will be used and it cannot be changed.

For non-post pages, the canonical URL of the page is used.

Our WordPress plugin does these things

WordPress User Login

By default, commenters need a Hyvor account to log in to the comments section. However, you can set up Single Sign-on (SSO) and connect WordPress login with Hyvor Talk.

Our plugin will configure SSO automatically when loading the comments section on your website. Website-specific accounts will be created for your users at Hyvor Talk.

See our Single Sign-on documentation for more information on how SSO works and what SSO users can do.

Shortcodes

1. hyvor-talk-comments

If you want to add Hyvor Talk to non-post pages or if the comments section is not loading because of any theme-related issues, you can use the [hyvor-talk-comments] shortcode. The shortcode will be converted to the Hyvor Talk comments embed.

You can also set a custom identifier by setting the id attribute.

[hyvor-talk-comments id="help-pages"]

If you add this code to multiple pages, the same comments thread will open (as the identifier is help-pages).

2. hyvor-talk-comments-count

If you want to render the comments count of a page, use the [hyvor-talk-comments-count] shortcode. The id attribute must be set to the identifier of the page you are fetching the comment counts of.

[hyvor-talk-comments-count id="help-pages"]

If you want to find the identifier of a page, visit the Pages section of the console.