{"id":249357,"date":"2025-09-13T04:01:28","date_gmt":"2025-09-13T04:01:28","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/the-analects\/"},"modified":"2025-10-02T05:57:48","modified_gmt":"2025-10-02T05:57:48","slug":"the-analects","status":"publish","type":"plugin","link":"https:\/\/es-cr.wordpress.org\/plugins\/the-analects\/","author":12641168,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.3.0","stable_tag":"1.3.0","tested":"6.8.5","requires":"5.0","requires_php":"7.4","requires_plugins":null,"header_name":"The Analects \u8bba\u8bed","header_author":"www.lunyu.xyz","header_description":"Confucius\u2019 Analects for WordPress: full search (keywords\/chapters\/characters\/arguments\/proverbs) and Daily Analects. DailyAnalects Widget. Shortcodes: [analects_search], [analects_daily].","assets_banners_color":"","last_updated":"2025-10-02 05:57:48","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/www.lunyu.xyz","header_plugin_uri":"","header_author_uri":"https:\/\/www.lunyu.xyz","rating":0,"author_block_rating":0,"active_installs":0,"downloads":358,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.1":{"tag":"1.0.1","author":"litouch","date":"2025-09-13 15:55:25"},"1.0.2":{"tag":"1.0.2","author":"litouch","date":"2025-09-13 15:55:25"},"1.0.3":{"tag":"1.0.3","author":"litouch","date":"2025-09-22 01:49:11"},"1.1.0":{"tag":"1.1.0","author":"litouch","date":"2025-09-27 08:56:47"},"1.1.1":{"tag":"1.1.1","author":"litouch","date":"2025-10-02 05:57:48"},"1.1.2":{"tag":"1.1.2","author":"litouch","date":"2025-10-02 05:57:48"},"1.2.0":{"tag":"1.2.0","author":"litouch","date":"2025-09-27 09:19:44"},"1.3.0":{"tag":"1.3.0","author":"litouch","date":"2025-10-02 05:57:48"}},"upgrade_notice":{"1.0.0":"<p>First stable release.<\/p>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3365475,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3365475,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256},"icon-32x32.png":{"filename":"icon-32x32.png","revision":3365475,"resolution":"32x32","location":"assets","locale":"","width":32,"height":32},"icon.svg":{"filename":"icon.svg","revision":3365475,"resolution":false,"location":"assets","locale":false}},"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.1","1.0.2","1.0.3","1.1.0","1.1.1","1.1.2","1.2.0","1.3.0"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3360875,"resolution":"1","location":"assets","locale":"","width":652,"height":1220},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3360875,"resolution":"2","location":"assets","locale":"","width":1866,"height":1268},"screenshot-3.png":{"filename":"screenshot-3.png","revision":3360875,"resolution":"3","location":"assets","locale":"","width":1844,"height":1346},"screenshot-4.png":{"filename":"screenshot-4.png","revision":3360875,"resolution":"4","location":"assets","locale":"","width":780,"height":548}},"screenshots":[]},"plugin_section":[],"plugin_tags":[247772,247773,247771,247774,247775],"plugin_category":[],"plugin_contributors":[247776],"plugin_business_model":[],"class_list":["post-249357","plugin","type-plugin","status-publish","hentry","plugin_tags-analects","plugin_tags-chinese-classics","plugin_tags-confucius","plugin_tags-daily-analects","plugin_tags-search-of-analects","plugin_contributors-litouch","plugin_committers-litouch"],"banners":[],"icons":{"svg":"https:\/\/ps.w.org\/the-analects\/assets\/icon.svg?rev=3365475","icon":"https:\/\/ps.w.org\/the-analects\/assets\/icon.svg?rev=3365475","icon_2x":false,"generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/the-analects\/assets\/screenshot-1.png?rev=3360875","caption":""},{"src":"https:\/\/ps.w.org\/the-analects\/assets\/screenshot-2.png?rev=3360875","caption":""},{"src":"https:\/\/ps.w.org\/the-analects\/assets\/screenshot-3.png?rev=3360875","caption":""},{"src":"https:\/\/ps.w.org\/the-analects\/assets\/screenshot-4.png?rev=3360875","caption":""}],"raw_content":"<!--section=description-->\n<h3>English<\/h3>\n\n<p>The Analects plugin provides two core features:<\/p>\n\n<ul>\n<li><strong>Daily Analects<\/strong> \u2013 Display a daily excerpt from Confucius\u2019 Analects.  <\/li>\n<li><strong>Search in the Analects<\/strong> \u2013 Full-text search within the Analects.<\/li>\n<\/ul>\n\n<p><strong>Features:<\/strong>\n- \ud83d\udcdd Fully offline \u2013 connects to a preconfigured Supabase database with built-in data. No external API required.<br \/>\n- \u26a1 Easy to use \u2013 use shortcodes or widgets to display the features.<br \/>\n- \ud83c\udfa8 Theme adaptive \u2013 UI auto-adapts to your WordPress theme.<br \/>\n- \ud83d\udce6 Open-source SDK \u2013 powered by a JavaScript SDK on GitHub. Developers are welcome to follow and contribute.<br \/>\n- \ud83d\udcdd This plugin uses a build process (Webpack) to generate production-ready JavaScript files from human-readable source code. Full source code is included in the \/src directory. Developers may run <code>npm install<\/code> and <code>npm run build<\/code> to regenerate the dist files.<\/p>\n\n<p>If you want to learn more details or study The Analects more, it's high recommended to go to our website \"\u8ad6\u8a9eSDK\u201c at https:\/\/www.lunyu.xyz where you can bookmark your favorite analects and write down your own thoughts and insights.<\/p>\n\n<p><strong>Requirements:<\/strong> WordPress 5.0+, PHP 7.4+<br \/>\n<strong>License:<\/strong> GPLv2 or later. Free &amp; open-source.<\/p>\n\n\n\n<h3>\u4e2d\u6587<\/h3>\n\n<p>\u201c\u8bba\u8bed\u63d2\u4ef6\u201d\u4e3a WordPress \u7f51\u7ad9\u63d0\u4f9b\u4e24\u4e2a\u6838\u5fc3\u529f\u80fd\uff1a<\/p>\n\n<ul>\n<li><strong>\u6bcf\u65e5\u8bba\u8bed<\/strong> \u2013 \u6bcf\u5929\u5c55\u793a\u4e00\u6bb5\u5b54\u5b50\u300a\u8bba\u8bed\u300b\u539f\u6587\u3002  <\/li>\n<li><strong>\u8bba\u8bed\u67e5\u8be2<\/strong> \u2013 \u652f\u6301\u5bf9\u300a\u8bba\u8bed\u300b\u5168\u6587\u68c0\u7d22\u3002  <\/li>\n<\/ul>\n\n<p><strong>\u529f\u80fd\u7279\u70b9\uff1a<\/strong>\n- \ud83d\udcdd \u5b8c\u5168\u79bb\u7ebf \u2013 \u5185\u7f6e Supabase \u6570\u636e\u5e93\u4fe1\u606f\uff0c\u65e0\u9700\u5916\u90e8 API\u3002<br \/>\n- \u26a1 \u5373\u88c5\u5373\u7528 \u2013 \u652f\u6301\u77ed\u4ee3\u7801\u548c\u5c0f\u5de5\u5177\uff08widget\uff09\u3002<br \/>\n- \ud83c\udfa8 \u754c\u9762\u81ea\u9002\u5e94 \u2013 \u81ea\u52a8\u9002\u914d\u5f53\u524d\u4e3b\u9898\u3002<br \/>\n- \ud83d\udce6 \u5f00\u6e90 SDK \u2013 \u63d2\u4ef6\u4f9d\u8d56 GitHub \u4e0a\u7684 JavaScript SDK\uff0c\u6b22\u8fce\u63d0\u4ea4\u4f18\u5316\u3002<br \/>\n- \ud83d\udcdd \u63d2\u4ef6\u7684js\u6e90\u4ee3\u7801\u53ef\u4ee5\u5728\/src\u76ee\u5f55\u627e\u5230\uff0c\u5f00\u53d1\u8005\u53ef\u4ee5\u7528'npm install' 'npm run build'\u6765\u751f\u6210dist\u6587\u4ef6\u3002<\/p>\n\n<p><strong>\u8fd0\u884c\u73af\u5883\u8981\u6c42:<\/strong> WordPress 5.0+\uff0cPHP 7.4+<br \/>\n<strong>\u5f00\u6e90\u8bb8\u53ef\u534f\u8bae:<\/strong> GPLv2 \u6216\u66f4\u9ad8\u7248\u672c\u3002<\/p>\n\n<p>\u5982\u679c\u4f60\u60f3\u66f4\u6df1\u5165\u7684\u5b66\u4e60\u8bba\u8bed\uff0c\u5f3a\u70c8\u63a8\u8350\u8bbf\u95ee\u6211\u4eec\u7684\u5b98\u7f51\u201c\u8ad6\u8a9eSDK\u201d\uff0chttps:\/\/www.lunyu.xyz\uff0c\u7f51\u7ad9\u63d0\u4f9b\u4e86\u66f4\u4e3a\u4e30\u5bcc\u7684\u6536\u85cf\u7b14\u8bb0\u529f\u80fd\u3002<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin files to <code>\/wp-content\/plugins\/the-analects\/<\/code> or install via the WordPress plugin directory.  <\/li>\n<li>Activate the plugin through the \u2018Plugins\u2019 screen in WordPress.  <\/li>\n<li>Use the shortcodes:<br \/>\n\n<ul>\n<li><code>[analects_daily]<\/code> \u2192 Display Daily Analects  <\/li>\n<li><code>[analects_search]<\/code> \u2192 Display Analects search box  <\/li>\n<\/ul><\/li>\n<li>Or go to <em>Appearance \u2192 Widgets<\/em> and add the provided widget \u2019Daily Analects\u2018.  <\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id='does%20this%20plugin%20require%20an%20external%20api%3F'><h3>Does this plugin require an external API?<\/h3><\/dt>\n<dd><p>No. It is fully offline and works with built-in data.<\/p><\/dd>\n<dt id='can%20i%20customize%20the%20styling%3F'><h3>Can I customize the styling?<\/h3><\/dt>\n<dd><p>Yes. The plugin adapts to your theme automatically, and you can override styles via custom CSS.<\/p><\/dd>\n<dt id='is%20it%20free%20to%20use%3F'><h3>Is it free to use?<\/h3><\/dt>\n<dd><p>Yes. This plugin is licensed under GPLv2 or later.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.3.0<\/h4>\n\n<ul>\n<li>Migrate to Supabase RPC to get daily analects.<\/li>\n<\/ul>\n\n\n\n<h4>1.1.0<\/h4>\n\n<ul>\n<li>Move to new embedded version SDK. For the completed version SDK, please refer to lunyu.xyz.<\/li>\n<\/ul>\n\n\n\n<h4>1.0.3<\/h4>\n\n<ul>\n<li>Remove the 2nd frame for character\/proverb\/argument options.<\/li>\n<li>Change h1 tag to h2.<\/li>\n<\/ul>\n\n\n\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>Fix some coding escaping bugs.  <\/li>\n<\/ul>\n\n\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial release with Daily Analects and Search features.  <\/li>\n<\/ul>","raw_excerpt":"Bring Confucius&#039; Analects to your WordPress site. Provides Daily Analects and Analects Search features.  \u8ba9\u300a\u8bba\u8bed\u300b\u8d70\u8fdb\u60a8\u7684\u7f51\u7ad9\uff1a\u63d0\u4f9b\u201c\u6bcf\u65e5\u8bba\u8bed\u201d\u548c\u201c\u8bba\u8bed\u67e5\u8be2\u201d\u529f\u80fd\u3002\u5982\u679c\u4f60\u60f3\u66f4\u6df1\u5165\u7684\u5b66\u4e60 &hellip;","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/es-cr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/249357","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/es-cr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/es-cr.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/es-cr.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=249357"}],"author":[{"embeddable":true,"href":"https:\/\/es-cr.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/litouch"}],"wp:attachment":[{"href":"https:\/\/es-cr.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=249357"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/es-cr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=249357"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/es-cr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=249357"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/es-cr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=249357"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/es-cr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=249357"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/es-cr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=249357"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}