{"id":28182,"date":"2014-03-04T17:27:18","date_gmt":"2014-03-04T17:27:18","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/multiple-rich-editors\/"},"modified":"2014-03-04T17:28:05","modified_gmt":"2014-03-04T17:28:05","slug":"multiple-rich-editors","status":"publish","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/multiple-rich-editors\/","author":168057,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0.0","stable_tag":"1.0.0","tested":"3.7.41","requires":"3.8","requires_php":"","requires_plugins":"","header_name":"Multiple Rich Editors","header_author":"Nick Ohrn of Plugin-Developer.com","header_description":"","assets_banners_color":"","last_updated":"2014-03-04 17:28:05","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/example.com\/","header_plugin_uri":"https:\/\/github.com\/nickohrn\/multiple-rich-editors","header_author_uri":"http:\/\/plugin-developer.com\/","rating":5,"author_block_rating":0,"active_installs":10,"downloads":1788,"num_ratings":1,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":{"1.0.0":"<ul>\n<li>Initial release<\/li>\n<\/ul>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":"1"},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0"],"block_files":[],"assets_screenshots":[],"screenshots":[]},"plugin_section":[],"plugin_tags":[83,1332],"plugin_category":[46],"plugin_contributors":[79208],"plugin_business_model":[],"class_list":["post-28182","plugin","type-plugin","status-publish","hentry","plugin_tags-admin","plugin_tags-editor","plugin_category-editor-and-writing","plugin_contributors-nickohrn","plugin_committers-nickohrn"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/multiple-rich-editors.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>This plugin allows developers to easily register addition rich editors and retrieve \/ display the content entered within.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload <code>multiple-rich-editors<\/code> to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<li>Register new rich editors using add_theme_support and use the provided template tags to retrieve and display the data you need<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>How do I add a rich editor?<\/dt>\n<dd><p>Easy! In your theme's functions.php file, add the following code:<\/p>\n\n<pre><code>function register_rich_editors() {\n    add_theme_support('multiple-rich-editors', array(\n        'additional-editor' =&gt; array(\n            'label' =&gt; __('Additional Editor'),\n            'post_types' =&gt; array('post'),\n            'wp_editor' =&gt; array('media_buttons' =&gt; true),\n        ),\n        'additional-editor-2' =&gt; array(\n            'label' =&gt; __('Additional Editor 2'),\n            'post_types' =&gt; array('post', 'page'),\n            'wp_editor' =&gt; array('media_buttons' =&gt; false),\n        ),\n    ));\n}\nadd_action('after_setup_theme', 'register_rich_editors');\n<\/code><\/pre>\n\n<p>Feel free to provide whatever values you need.<\/p><\/dd>\n<dt>How do I know what I should provide when registering a rich editor?<\/dt>\n<dd><p>Easy! Just take a look at the <code>\/lib\/template-tags.php<\/code> - there are detailed\ninstructions in there on how to register editors and use the template\ntags to get the data you need.<\/p><\/dd>\n<dt>My content loses the paragraphs that are specified in the editor. What do I do?<\/dt>\n<dd><p>Multiple Rich Editors doesn't apply the default WordPress content filters on its content by default. However, there is a code snippet in <code>\/lib\/template-tags.php<\/code> that explains how to do this. Follow the directions there and you should be good to go!<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial release<\/li>\n<\/ul>","raw_excerpt":"This plugin allows developers to easily register addition rich editors and retrieve \/ display the content entered within.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/28182","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=28182"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/nickohrn"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=28182"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=28182"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=28182"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=28182"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=28182"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=28182"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}