GithubHelp home page GithubHelp logo

talk-wp-plugin's Introduction

Coral Project Talk

This plugin replaces standard WordPress commenting with Talk from the Coral Project.

Setup

First, you'll need a server running your own instance of Talk. See the Talk installation guide for more info about that.

Then...

  1. Add the hostname of your WordPress site to the whitelist in the settings of your Talk instance.
  2. Install and activate this plugin as you would any other WordPress plugin.
  3. Go to https://mysite.com/wp-admin/options-general.php?page=talk-settings
  4. Enter the URL of your Talk instance and click Save.

HTTPS and Dev Mode

Your site must be served over https in order to integrate with Talk unless Talk is set to dev mode.

If you're installing Talk with Docker, you can do that by adding NODE_ENV=dev to the environment variables in your docker-compose.yml. Otherwise, any method of setting process.env.NODE_ENV = 'dev' will do the trick.

Theme usage

If your theme uses WordPress' standard comments_template() to render comments forms, the output will be overridden by the Talk embed code.

If you are building a custom theme, we recommend using coral_talk_comments_template() instead of the usual comments_template() for performance reasons.

Note that comments can still be turned on or off for an invidual post:

Discussion meta box

comments_open() will still work when Coral Project Talk is active, but other functions like get_comments_number() that reference the wp_comments database table may not.

We recommend something like:

if ( comments_open() ) {
	coral_talk_comments_template();
}

Version

Talk version <= v3.9.1 use talk-wp-plugin v0.0.6

Talk version >= 4.0.0 use talk-wp-plugin v0.1.0

talk-wp-plugin's People

Contributors

meddy avatar joshkadis avatar wyattjoh avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.