{"id":51202,"date":"2016-09-25T06:07:35","date_gmt":"2016-09-25T06:07:35","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/choco\/"},"modified":"2018-12-05T09:48:54","modified_gmt":"2018-12-05T09:48:54","slug":"choco","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/choco\/","author":4641038,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.33","stable_tag":"1.33","tested":"4.9.29","requires":"4.1","requires_php":"","requires_plugins":"","header_name":"choco calendar","header_author":"AI.Takeuchi","header_description":"","assets_banners_color":"","last_updated":"2018-12-05 09:48:54","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/www.paypal.com\/cgi-bin\/webscr?cmd=_s-xclick&hosted_button_id=P8LCVREFDKWFW","header_plugin_uri":"https:\/\/wordpress.org\/plugins\/choco\/","header_author_uri":"","rating":0,"author_block_rating":0,"active_installs":10,"downloads":1127,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":"1505661","resolution":"128x128","location":"assets"},"icon-256x256.png":{"filename":"icon-256x256.png","revision":"1505661","resolution":"256x256","location":"assets"}},"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.14","1.15","1.16","1.17","1.18","1.19","1.20","1.21","1.23","1.26","1.31","1.33"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":"1505661","resolution":"1","location":"assets"},"screenshot-2.png":{"filename":"screenshot-2.png","revision":"1505661","resolution":"2","location":"assets"}},"screenshots":{"1":"Input Screen by TinyMCE","2":"In case of calendar shortcode"}},"plugin_section":[],"plugin_tags":[221,1358,127995,130161,1719],"plugin_category":[59],"plugin_contributors":[89508],"plugin_business_model":[],"class_list":["post-51202","plugin","type-plugin","status-closed","hentry","plugin_tags-ajax","plugin_tags-date","plugin_tags-embed-calendar","plugin_tags-temporary-information","plugin_tags-tinymce","plugin_category-utilities-and-tools","plugin_contributors-aitakeuchi","plugin_committers-aitakeuchi"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/choco.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/choco\/assets\/screenshot-1.png?rev=1505661","caption":"Input Screen by TinyMCE"},{"src":"https:\/\/ps.w.org\/choco\/assets\/screenshot-2.png?rev=1505661","caption":"In case of calendar shortcode"}],"raw_content":"<!--section=description-->\n<p>Rewrite content by ajax, using TinyMCE.\nProvide rewrite areas. These is html block, embed calendar, date, temporary information.<\/p>\n\n<h3>Usage<\/h3>\n\n<ul>\n<li>Write shortcode or html tag with choco class.<\/li>\n<\/ul>\n\n<h4>calendar shortcode<\/h4>\n\n<pre><code>* You can use the new 'choco calendar'. Activate plugin 'choco calendar'.\n\ne.g.\n\n    [choco_calendar]\n\n    [choco_calendar year=2015 month=4]\n\n    [choco_calendar month=-4 year=+1 caption_format=\"Y F\" weeks=\"\u65e5,\u6708,\u706b,\u6c34,\u6728,\u91d1,\u571f\" week_format=l monday=true padding=true classes=\"class1 class2\"]\n\nvalue:\n\n    year: 2015, 2016, or ..., -2, -1, +1, +2, ...\n    month: 1 to 12 or ..., -2, -1, +1, +2, ...\n    caption_format: \"F Y\", \"Y\u5e74n\u6708\", ...\n    week_format: l, D, ...\n    weeks: \"S,M,T,W,T,F,S\", \"\u65e5,\u6708,\u706b,\u6c34,\u6728,\u91d1,\u571f\", ...\n    monday: true or nothing\n    padding: true or nothing\n    classes: user define classes \"class1 class2 ...\"\n\n    See date\/time format: http:\/\/php.net\/manual\/en\/function.date.php\n    (japanese: http:\/\/php.net\/manual\/ja\/function.date.php)\n<\/code><\/pre>\n\n<h4>date shortcode<\/h4>\n\n<pre><code>e.g.\n\n    [choco_date]\n\n    Copyright &amp;copy; 2015 - [choco_date format='Y' classes='not_choco'] example.com\n\n    [choco_date year=2016 month=5 date=17]\n\n    [choco_date month=-4 year=+1 format=\"Y F $k\" weeks=\"\u65e5,\u6708,\u706b,\u6c34,\u6728,\u91d1,\u571f\" id=\"next\" classes=\"class1 class2\"]\n\nvalue:\n\n    year: 2015, 2016, or ..., -2, -1, +1, +2, ...\n    month: 1 to 12 or ..., -2, -1, +1, +2, ...\n    format: \"F Y\", \"Y\u5e74n\u6708\", ...\n    weeks: \"S,M,T,W,T,F,S\", \"\u65e5,\u6708,\u706b,\u6c34,\u6728,\u91d1,\u571f\", ...\n    tag: span, div, ...\n    id: user define id \"class1 class2 ...\"\n    classes: user define classes \"class1 class2 ...\"\n    tz: \"GMT\", \"JST\", ...\n\n    See date\/time format: http:\/\/php.net\/manual\/en\/function.date.php\n    (japanese: http:\/\/php.net\/manual\/ja\/function.date.php)\n<\/code><\/pre>\n\n<h4>table shortcode<\/h4>\n\n<pre><code>e.g.\n    [choco_table id=\"table-1\" classes=\"clear full\" caption=\"Title\" title=\"col\" style=\"border 1px solid #eee;\"]\n    test|123\n    echo|123\\n456\n    [\/choco_table]\n\nvalue:\n    id: user define id\n    classes: user define classes \"class1 class2 ...\"\n    caption: table caption\n    title: 'col' or 'row' or 'both'\n    style: css style string\n<\/code><\/pre>\n\n<h4>definition list shortcode<\/h4>\n\n<pre><code>e.g.\n    [choco_dl id=\"list-1\" classes=\"clear full\" style=\"margin: 0; padding: 0;\"]\n    test|123\\n456\n    echo|123\n    456\n    [\/choco_dl]\n\nvalue:\n    id: user define id\n    classes: user define classes \"class1 class2 ...\"\n    style: css style string\n<\/code><\/pre>\n\n<h4>such temporary memo or information<\/h4>\n\n<pre><code>e.g.\n    [choco_memo tag=\"div\" name=\"memo\" style=\"width:80%;min-height:1em;margin:0 auto;\" text=\"Click Here!\"]\n\n    above shortcode output below tag:\n\n        &lt;div class=\"choco_memo\" style=\"width:80%;min-height:1em;margin:0 auto;\"&gt;Click Here!&lt;\/div&gt;\n\n    * Can rewrite if added class choco_xxx to html tag.\n\ne.g.\n    It can be summarized in the id as follows.\n    will be id addition to when save database. use this when it is used in more than one content.\n\n\n                &lt;div id=\"choco_memo&gt;\n                    &lt;div class=\"choco\" style=\"width:80%;min-height:1em;margin:0 auto;\"&gt;Click Here 1&lt;\/div&gt;\n                    &lt;div class=\"choco\" style=\"width:80%;min-height:1em;margin:0 auto;\"&gt;Click Here 2&lt;\/div&gt;\n                &lt;\/div&gt;\n\n\ne.g.\n    hidden after loaded if specify class 'choco_hide_after_load'.\n\n    [choco_memo tag=\"div\" name=\"memo\" classes=\"choco_hide_after_load\" style=\"text-align:center;width:80%;min-height:1em;margin:0 auto;\" text=\"Now Loading...\"]\n<\/code><\/pre>\n\n<h4>other<\/h4>\n\n<pre><code>written text is save to database.\ntable name is 'wp_choco_data'.\nif changed table_prefix variable in wp-config.php, so that.\nwill be delete this table when uninstall this plugin.&lt;h3&gt;Other&lt;\/h3&gt;\n<\/code><\/pre>\n\n<p>This plugin using TinyMCE https:\/\/www.tinymce.com\/, https:\/\/github.com\/tinymce\/tinymce-dist\nLicense is GNU LESSER GENERAL PUBLIC LICENSE.<\/p>\n\n<p>Using cursor icon School Pencil Created By Matt Jenkins.\nhttp:\/\/www.cursors-4u.com\/<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Install plugin and activate<\/li>\n<li>Write Shortcodes, Html Blocks.<\/li>\n<\/ol>\n\n<!--section=changelog-->\n<h4>1.33<\/h4>\n\n<ul>\n<li>same changed.<\/li>\n<\/ul>\n\n<h4>1.32<\/h4>\n\n<ul>\n<li>fix weeks parameter.<\/li>\n<\/ul>\n\n<h4>1.31<\/h4>\n\n<p>New calendar shortcode added, need be activated 'choco calendar' plugin.<\/p>\n\n<h4>1.26<\/h4>\n\n<p>Fix nested shortcode function.<\/p>\n\n<h4>1.25<\/h4>\n\n<p>Fix nested shortcode function.<\/p>\n\n<h4>1.24<\/h4>\n\n<p>Fix choco_calendar shortcode classes option.<\/p>\n\n<h4>1.23<\/h4>\n\n<p>change table classes<\/p>\n\n<h4>1.22<\/h4>\n\n<p>added shortcode: choco_tag (alias: tag, br, lf)<\/p>\n\n<h4>1.21<\/h4>\n\n<p>define shortcode aliases.\nchoco_calendar as calendar, choco_table as table, choco_dl as list and timeline, choco_memo as memo.\ntimeline alias is same below [choco_dl classes=\"timeline ...\"]<\/p>\n\n<h4>1.20<\/h4>\n\n<p>added two shortcode: choco_table, choco_dl.<\/p>\n\n<h4>1.19<\/h4>\n\n<ul>\n<li>Fix charset encoding. support UTF-8 only.<\/li>\n<\/ul>\n\n<h4>1.18<\/h4>\n\n<p>Fix. Could not received html selector data by PHP, in the case Ajax send data has many selector array.<\/p>\n\n<h4>1.17<\/h4>\n\n<p>Fix issues.<\/p>\n\n<h4>1.16<\/h4>\n\n<ul>\n<li>SVN missed.<\/li>\n<\/ul>\n\n<h4>1.15<\/h4>\n\n<ul>\n<li>Fix, changed timing to update DOM data.<\/li>\n<li>Added year shortcode.<\/li>\n<li>Update TinyMCE version 4.7.4.<\/li>\n<\/ul>\n\n<h4>1.14<\/h4>\n\n<p>Fix issues.<\/p>\n\n<h4>1.13<\/h4>\n\n<p>Fix issues.<\/p>\n\n<h4>1.12<\/h4>\n\n<p>Fix issues.<\/p>\n\n<h4>1.11<\/h4>\n\n<ul>\n<li>Published.<\/li>\n<\/ul>","raw_excerpt":"Rewrite content by ajax, using TinyMCE.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/51202","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=51202"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/aitakeuchi"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=51202"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=51202"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=51202"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=51202"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=51202"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=51202"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}