Download the PHP package krautgortna/statamic-disqus without Composer
On this page you can find all versions of the php package krautgortna/statamic-disqus. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download krautgortna/statamic-disqus
More information about krautgortna/statamic-disqus
Files in krautgortna/statamic-disqus
Download krautgortna/statamic-disqus
More information about krautgortna/statamic-disqus
Files in krautgortna/statamic-disqus
Vendor krautgortna
Package statamic-disqus
Short Description This Statamic Addon adds a Disqus comment section to your Statamic views
License MIT
Package statamic-disqus
Short Description This Statamic Addon adds a Disqus comment section to your Statamic views
License MIT
Please rate this library. Is it a good library?
Informations about the package statamic-disqus
Features
- Provides Antlers tags that can be used in any frontend view
- Easily provide a discussion thread id as a parameter
- For API calls: decide if you want to make a server- or client-side API call
Tags
{{ disqus:comments id="id" }}to load the Disqus embed plugin for a given thread{{ disqus:count id="id" }}to show the number of comments ("posts") of a given thread{{ disqus:likes id="id" }}to show the number of likes of a given thread
How to Use
First of all, provide your Disqus forum's shortname via the .env file:
In the Antlers template, you can now use
Provide a variable as the thread id, e.g. when the slug is the Disqus thread id:
All .env Parameters
DISQUS_SHORTNAME="your_shortname"to identify your accountDISQUS_SECRETused for server-side API callsDISQUS_API_KEYused for client-side API callsDISQUS_METHODchoose between 'server' or 'client' API calls (note that the Disqus embed is always loaded on client side)
How to Install
You can search for this addon in the Tools > Addons section of the Statamic control panel and click install, or run the following command from your project root:
All versions of statamic-disqus with dependencies
PHP Build Version
Package Version
The package krautgortna/statamic-disqus contains the following files
Loading the files please wait ...