Skip to content

TaltonFiggins/disqus-recent-comments

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Recent Comments from Disqus

Not an official Disqus plugin.

What is it?

A WordPress(WP) sidebar widget that displays the most recent comments made using Disqus (http://disqus.com). Settings include an optional title and results threshold from 5-10.

What is required?

Installation Steps

  • Copy the plugin to your /wp-content/plugins directory.
  • Activate the plugin with your WordPress control panel.
  • Initiate the widget by adding it to your layout via the WP widget menu.

How does it work?

On activation a new database(db) table with 10 rows is created to house your comment results. The widget checks for the required Disqus plugin and API key. If they're unavailable you'll be prompted and the widget won't display.

After the widget has been initiated (by being added to your layout), an API call will be made to grab and store the following information for the 10 latest comments:

  • Thread Title
  • Message
  • Comment URL
  • Thread URL
  • Author Name
  • Comment Date

A 60 second WP_cron will keep your list current.

Details

Date format: Month day, Year

Substring thresholds:

  • Title - 30 chars
  • Comment - 120 chars

Customization

style.css provided

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published