{"id":301037,"date":"2026-04-27T17:46:52","date_gmt":"2026-04-27T17:46:52","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/wiscus\/"},"modified":"2026-04-27T19:53:59","modified_gmt":"2026-04-27T19:53:59","slug":"wiscus","status":"publish","type":"plugin","link":"https:\/\/ur.wordpress.org\/plugins\/wiscus\/","author":23468813,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.1.3","stable_tag":"1.1.3","tested":"6.9.4","requires":"","requires_php":"","requires_plugins":null,"header_name":"Wiscus","header_author":"zakarialaoui10","header_description":"Add Giscus (GitHub Discussions) comments to your WordPress site with Gutenberg block and shortcode support.","assets_banners_color":"","last_updated":"2026-04-27 19:53:59","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/ko-fi.com\/zakariaelalaoui","header_plugin_uri":"https:\/\/github.com\/zakarialaoui10\/wiscus","header_author_uri":"https:\/\/github.com\/zakarialaoui10","rating":0,"author_block_rating":0,"active_installs":0,"downloads":113,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.1.3":{"tag":"1.1.3","author":"zakarialaoui10","date":"2026-04-27 19:53:59"}},"upgrade_notice":[],"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3516721,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3516721,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":[],"assets_blueprints":{},"all_blocks":{"create-block\/wiscus":{"$schema":"https:\/\/schemas.wp.org\/trunk\/block.json","apiVersion":3,"name":"create-block\/wiscus","version":"0.1.0","title":"Wiscus","category":"widgets","icon":"smiley","description":"Example block scaffolded with Create Block tool.","example":{},"supports":{"html":false},"textdomain":"wiscus","editorScript":"file:.\/index.js","editorStyle":"file:.\/index.css","style":"file:.\/style-index.css","render":"file:.\/render.php","viewScript":"file:.\/view.js","attributes":{"repo":{"type":"string","default":"zakarialaoui10\/wiscus"},"repoid":{"type":"string","default":"R_kgDOR7ZWrA"},"category":{"type":"string","default":"Announcements"},"categoryid":{"type":"string","default":"DIC_kwDOR7ZWrM4C6MM9"},"mapping":{"type":"string","default":"pathname"},"term":{"type":"string","default":""},"theme":{"type":"string","default":"light"}}}},"tagged_versions":["1.1.3"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3516713,"resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3516713,"resolution":"2","location":"assets","locale":""},"screenshot-3.png":{"filename":"screenshot-3.png","revision":3516713,"resolution":"3","location":"assets","locale":""},"screenshot-4.png":{"filename":"screenshot-4.png","revision":3516713,"resolution":"4","location":"assets","locale":""}},"screenshots":{"1":"The screenshot highlights the WordPress Settings menu with the Wiscus option visible at the bottom. It indicates where users can access the Wiscus plugin settings.","2":"The screenshot shows the Wiscus settings page in the WordPress dashboard under Settings \u2192 Wiscus.\nIt includes fields for GitHub repository details, mapping, category, and theme configuration.","3":"The screenshot shows the WordPress editor with the [wiscus] shortcode added to a page. On the right, the live preview displays the Giscus-powered comment section working with a sample comment.","4":"The screenshot shows a GitHub Discussions thread automatically generated by Wiscus for a WordPress page. It includes the post title, linked URL, and a synced comment from the site."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[107,14461,261198,1673,261199],"plugin_category":[44],"plugin_contributors":[261200],"plugin_business_model":[],"class_list":["post-301037","plugin","type-plugin","status-publish","hentry","plugin_tags-comments","plugin_tags-discussions","plugin_tags-giscus","plugin_tags-github","plugin_tags-zikojs","plugin_category-discussion-and-community","plugin_contributors-zakarialaoui10","plugin_committers-zakarialaoui10"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/wiscus\/assets\/icon-128x128.png?rev=3516721","icon_2x":"https:\/\/ps.w.org\/wiscus\/assets\/icon-256x256.png?rev=3516721","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/wiscus\/assets\/screenshot-1.png?rev=3516713","caption":"The screenshot highlights the WordPress Settings menu with the Wiscus option visible at the bottom. It indicates where users can access the Wiscus plugin settings."},{"src":"https:\/\/ps.w.org\/wiscus\/assets\/screenshot-2.png?rev=3516713","caption":"The screenshot shows the Wiscus settings page in the WordPress dashboard under Settings \u2192 Wiscus.\nIt includes fields for GitHub repository details, mapping, category, and theme configuration."},{"src":"https:\/\/ps.w.org\/wiscus\/assets\/screenshot-3.png?rev=3516713","caption":"The screenshot shows the WordPress editor with the [wiscus] shortcode added to a page. On the right, the live preview displays the Giscus-powered comment section working with a sample comment."},{"src":"https:\/\/ps.w.org\/wiscus\/assets\/screenshot-4.png?rev=3516713","caption":"The screenshot shows a GitHub Discussions thread automatically generated by Wiscus for a WordPress page. It includes the post title, linked URL, and a synced comment from the site."}],"raw_content":"<!--section=description-->\n<p>Wiscus is a lightweight WordPress plugin that integrates the Giscus comment system, allowing you to use GitHub Discussions as a modern comment platform for your website.<\/p>\n\n<p>Instead of storing comments in your WordPress database, Wiscus connects your site to a GitHub repository and uses Discussions to manage conversations. Each post or page can automatically create and link to a corresponding discussion thread.<\/p>\n\n<p>Key features:<\/p>\n\n<pre><code>- GitHub-powered comments using Giscus\n- Automatic discussion thread creation\n- Lightweight and privacy-friendly (no ads, no tracking)\n- Easy integration via widget or shortcode\n- Customizable themes and mapping options\n- Hot page reloading\n<\/code><\/pre>\n\n<h3>Development<\/h3>\n\n<p>This plugin uses a build process (webpack) to generate production files located in \/build.<\/p>\n\n<p>The full, human-readable source code is available here:\n<a href=\"https:\/\/github.com\/zakarialaoui10\/wiscus\">https:\/\/github.com\/zakarialaoui10\/wiscus<\/a><\/p>\n\n<h3>Project structure<\/h3>\n\n<ul>\n<li><a href=\"https:\/\/github.com\/zakarialaoui10\/wiscus\/tree\/main\/src\/\">\/src<\/a>   : original source code<\/li>\n<li><code>\/build<\/code> : compiled\/minified production files (used in production)<\/li>\n<\/ul>\n\n<h3>Dependencies<\/h3>\n\n<p>This plugin relies on the following external libraries:<\/p>\n\n<ul>\n<li><a href=\"https:\/\/giscus.app\">giscus<\/a> used for embedding GitHub Discussions-based comments system.<\/li>\n<li><a href=\"https:\/\/github.com\/zikojs\/ziko\">ziko<\/a> a custom UI\/library used for frontend rendering and components.<\/li>\n<\/ul>\n\n<h3>Getting started<\/h3>\n\n<p>Clone the repository:\ngit clone https:\/\/github.com\/zakarialaoui10\/wiscus.git\ncd wiscus<\/p>\n\n<p>Install dependencies:\n    npm install<\/p>\n\n<p>Run development mode:\n    npm run dev<\/p>\n\n<p>Build for production:\n    npm run build<\/p>\n\n<h3>Forking &amp; Contributing<\/h3>\n\n<p>You are welcome to fork and contribute:<\/p>\n\n<ol>\n<li>Fork the repository on GitHub.<\/li>\n<li>Clone your fork (replace <code>&lt;your-username&gt;<\/code> with your GitHub handle):\ngit clone https:\/\/github.com\/\/wiscus.git<\/li>\n<li>Create a new branch:\ngit checkout -b feature\/your-feature-name<\/li>\n<li>Commit your changes and push:\ngit push origin feature\/your-feature-name<\/li>\n<li>Open a Pull Request.<\/li>\n<\/ol>\n\n<p>Note: Ensure you are cloning your personal fork and not the main repository if you intend to submit a Pull Request<\/p>\n\n<h3>Notes<\/h3>\n\n<ul>\n<li>Do not edit files inside \/build directly.<\/li>\n<li>Always make changes in \/src and rebuild.<\/li>\n<\/ul>\n\n<!--section=installation-->\n<p>To install the plugin, please follow the following steps:<\/p>\n\n<ol>\n<li><p>Create a GitHub Repository<\/p>\n\n<ul>\n<li>Go to GitHub and log in.<\/li>\n<li>Click New Repository.<\/li>\n<li>Give your repository a name (e.g., my-comments).<\/li>\n<li>Set it to Public (required for Giscus).<\/li>\n<li>Click Create Repository.<\/li>\n<\/ul><\/li>\n<li><p>Enable Discussions<\/p>\n\n<ul>\n<li>Open your repository.<\/li>\n<li>Go to Settings \u2192 Features.<\/li>\n<li>Check Discussions to enable it.<\/li>\n<li>Save changes.<\/li>\n<\/ul><\/li>\n<li><p>Install the Giscus App<\/p>\n\n<ul>\n<li>Visit Giscus : https:\/\/github.com\/apps\/giscus.<\/li>\n<li>Click Install.<\/li>\n<li>Choose your GitHub account or organization.<\/li>\n<li>Select the repository you created.<\/li>\n<li>Complete the installation.<\/li>\n<\/ul><\/li>\n<li><p>Get Your Giscus Configuration<\/p>\n\n<ul>\n<li>Go to the Giscus website.<\/li>\n<li>Fill in:\n\n<ul>\n<li>Your repository name<\/li>\n<li>Discussion category (e.g., General)<\/li>\n<li>Customize options (theme, mapping, etc.).<\/li>\n<\/ul><\/li>\n<li>Copy the generated configuration (you\u2019ll use it in Wiscus).<\/li>\n<\/ul><\/li>\n<li><p>Install the Wiscus Plugin in WordPress<\/p>\n\n<ul>\n<li>Log in to your WordPress dashboard.<\/li>\n<li>Go to Plugins \u2192 Add New:<\/li>\n<li>Search for Wiscus, or<\/li>\n<li>Upload it manually to \/wp-content\/plugins\/.<\/li>\n<li>Click Install Now and then Activate.<\/li>\n<\/ul><\/li>\n<li><p>Configure Wiscus<\/p>\n\n<ul>\n<li>Go to Settings \u2192 Wiscus.<\/li>\n<li>Paste your Giscus configuration.<\/li>\n<li>Save changes.<\/li>\n<\/ul><\/li>\n<li><p>Add Wiscus to Your Site<\/p>\n\n<ul>\n<li>Option A: Widget\n\n<ul>\n<li>Go to Appearance \u2192 Widgets.<\/li>\n<li>Add the Wiscus widget to a sidebar or footer.<\/li>\n<li>Adjust settings as needed.<\/li>\n<\/ul><\/li>\n<li>Option B: Shortcode\n\n<ul>\n<li>Add this to any page or post : [wiscus]<\/li>\n<\/ul><\/li>\n<\/ul><\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"a%20question%20that%20someone%20might%20have\"><h3>A question that someone might have<\/h3><\/dt>\n<dd><\/dd>\n<dt id=\"what%20is%20wiscus%20%3F\"><h3>What is Wiscus ?<\/h3><\/dt>\n<dd><p>Wiscus is a WordPress plugin that integrates the Giscus comment system, allowing you to use GitHub Discussions as a modern commenting platform on your website.<\/p><\/dd>\n<dt id=\"do%20i%20need%20a%20github%20account%20to%20use%20wiscus%20%3F\"><h3>Do I need a GitHub account to use Wiscus ?<\/h3><\/dt>\n<dd><p>Yes. Wiscus requires a GitHub account and a public repository with Discussions enabled to store and manage comments.<\/p><\/dd>\n<dt id=\"how%20do%20i%20connect%20wiscus%20to%20my%20site%20%3F\"><h3>How do I connect Wiscus to my site ?<\/h3><\/dt>\n<dd><p>After installing the plugin, go to Settings &gt; Wiscus and paste your Giscus configuration generated from the Giscus website.<\/p><\/dd>\n<dt id=\"why%20are%20comments%20not%20showing%20%3F\"><h3>Why are comments not showing ?<\/h3><\/dt>\n<dd><p>Make sure your repository is public, Discussions are enabled, the Giscus app is installed, and your configuration settings are correct.<\/p><\/dd>\n<dt id=\"can%20i%20use%20wiscus%20without%20widgets%20%3F\"><h3>Can I use Wiscus without widgets ?<\/h3><\/dt>\n<dd><p>Yes. You can display Wiscus on any page or post using the shortcode [wiscus].<\/p><\/dd>\n<dt id=\"can%20i%20customize%20the%20appearance%20%3F\"><h3>Can I customize the appearance ?<\/h3><\/dt>\n<dd><p>Yes. You can customize themes (light\/dark), language, and other options through your Giscus configuration.<\/p><\/dd>\n<dt id=\"is%20wiscus%20free%20to%20use%20%3F\"><h3>Is Wiscus free to use ?<\/h3><\/dt>\n<dd><p>Yes. Wiscus and Giscus are free to use, but they rely on GitHub\u2019s infrastructure.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.1.3<\/h4>\n\n<ul>\n<li>Improve Forking &amp; Contributing instructions with clearer guidance for contributors.<\/li>\n<\/ul>\n\n<h4>1.1.2<\/h4>\n\n<ul>\n<li>Replace inline JavaScript in admin.php with proper WordPress script enqueue system using wp_enqueue_script<\/li>\n<li>Fix WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound warnings by prefixing global variables with \"wiscus\" keyword.<\/li>\n<\/ul>\n\n<h4>1.1.1<\/h4>\n\n<ul>\n<li>Improved security by escaping all output properly (esc_attr, esc_html)<\/li>\n<li>Replaced json_encode with wp_json_encode for WordPress compatibility<\/li>\n<li>Fixed PHPCS warnings (OutputNotEscaped, MissingVersion, DirectQuery, NoCaching)<\/li>\n<\/ul>\n\n<h4>1.1.0<\/h4>\n\n<ul>\n<li>Fix editor attributes<\/li>\n<li>Add Hot page reloading<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial release<\/li>\n<\/ul>","raw_excerpt":"Bring GitHub Discussions to WordPress using Giscus.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/ur.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/301037","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ur.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/ur.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/ur.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=301037"}],"author":[{"embeddable":true,"href":"https:\/\/ur.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/zakarialaoui10"}],"wp:attachment":[{"href":"https:\/\/ur.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=301037"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/ur.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=301037"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/ur.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=301037"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/ur.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=301037"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/ur.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=301037"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/ur.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=301037"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}