{"id":19546,"date":"2012-08-21T04:28:00","date_gmt":"2012-08-21T04:28:00","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/columns-diy\/"},"modified":"2014-04-19T22:34:02","modified_gmt":"2014-04-19T22:34:02","slug":"columns-diy","status":"publish","type":"plugin","link":"https:\/\/tl.wordpress.org\/plugins\/columns-diy\/","author":294541,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.1","stable_tag":"trunk","tested":"3.9.40","requires":"2.8","requires_php":"","requires_plugins":"","header_name":"Columns DIY","header_author":"Corey McKrill","header_description":"","assets_banners_color":"","last_updated":"2014-04-19 22:34:02","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/www.paypal.com\/cgi-bin\/webscr?cmd=_s-xclick&hosted_button_id=FC54RLA8U6VCC","header_plugin_uri":"https:\/\/github.com\/jupiterwise\/Columns-DIY\/","header_author_uri":"http:\/\/jupiterwise.com\/","rating":1,"author_block_rating":0,"active_installs":10,"downloads":2998,"num_ratings":1,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":"1","2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0","1.1"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[854,80],"plugin_category":[43],"plugin_contributors":[89799],"plugin_business_model":[],"class_list":["post-19546","plugin","type-plugin","status-publish","hentry","plugin_tags-columns","plugin_tags-shortcode","plugin_category-customization","plugin_contributors-jupiterwise","plugin_committers-jupiterwise"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/columns-diy.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>This plugin is intended for theme developers and others who want to have full control of their column styles while still providing a quick and easy framework for adding\/editing column content via WordPress's visual editor. It eliminates the need to type tedious, unmanageable chunks of HTML into the editor when specific posts or pages require a columnar layout.<\/p>\n\n<p>That said, this plugin is not plug-and-play. It does not include any styles out-of-the-box, so if you start using the shortcodes without adding appropriate CSS rules, there probably won't be any visible changes to your content.<\/p>\n\n<p>See the <a href=\"https:\/\/github.com\/jupiterwise\/Columns-DIY\/wiki\/Recipes\">Recipes<\/a> page on the GitHub wiki for some styling examples.<\/p>\n\n<h4>Usage<\/h4>\n\n<ul>\n<li>Designate each column with <code>[column]<\/code> and <code>[\/column]<\/code><\/li>\n<li>Mark the end of a row with <code>[endrow]<\/code><\/li>\n<\/ul>\n\n<h4>Features<\/h4>\n\n<ul>\n<li>Includes enumerated column and row classes, allowing for per-column and -row styling. Also includes parity classes (odd\/even) for striping.<\/li>\n<li>If a user forgets to add the last <code>[endrow]<\/code> shortcode, the plugin will automatically insert a closing <code>&lt;\/div&gt;<\/code> so the site layout doesn't get broken.<\/li>\n<li>Cleans up errant <code>&lt;p&gt;<\/code> and <code>&lt;br \/&gt;<\/code> tags that result from Wordpress's <code>wpautop()<\/code> function.<\/li>\n<li>All parameter inputs are escaped for security.<\/li>\n<\/ul>\n\n<h4>Example<\/h4>\n\n<p>Putting this into the visual editor:<\/p>\n\n<blockquote>\n  <p><code>[column]<\/code><\/p>\n  \n  <p>This is the column of Foo.<\/p>\n  \n  <p><code>[\/column]<\/code><\/p>\n  \n  <p><code>[column]<\/code><\/p>\n  \n  <p>This is the column of Bar.<\/p>\n  \n  <p><code>[\/column]<\/code> <code>[endrow]<\/code><\/p>\n<\/blockquote>\n\n<p>Will result in this output:<\/p>\n\n\n    \n    <p>This is the column of Foo.<\/p>\n    <!-- end diy-column-1 -->\n    \n    \n    <p>This is the column of Bar.<\/p>\n    <!-- end diy-column-2 -->\n    \n\n<!-- end diy-row-1 -->\n\n<h4>Parameters<\/h4>\n\n<p>The following optional parameters can be added to the <code>[column]<\/code> shortcode:<\/p>\n\n<ul>\n<li><em>class<\/em> (String : '')\nClasses for the column <code>&lt;div&gt;<\/code> element. Separate multiple classes with spaces.<\/li>\n<li><em>rowclass<\/em> (String : '')\nClasses for the row <code>&lt;div&gt;<\/code> element. Only works when included with the first <code>[column]<\/code> shortcode in a row.<\/li>\n<li><em>style<\/em> (String : '')\nInline styles for the column <code>&lt;div&gt;<\/code> element.<\/li>\n<li><em>rowstyle<\/em> (String : '')\nInline styles for the row <code>&lt;div&gt;<\/code> element. Only works when included with the first <code>[column]<\/code> shortcode in a row.<\/li>\n<li><em>norow<\/em> (Boolean : false)\nSet to true to omit the row wrapper <code>&lt;div&gt;<\/code>.<\/li>\n<\/ul>\n\n<h4>Filters<\/h4>\n\n<p>The following filter hooks can be used to alter the output of the shortcodes:<\/p>\n\n<ul>\n<li><code>diy_colclass<\/code><\/li>\n<li><code>diy_colstyle<\/code><\/li>\n<li><code>diy_column<\/code><\/li>\n<li><code>diy_rowclass<\/code><\/li>\n<li><code>diy_rowstyle<\/code><\/li>\n<li><code>diy_beginrow<\/code><\/li>\n<li><code>diy_endrow<\/code><\/li>\n<\/ul>\n\n<!--section=installation-->\n<ol>\n<li>Upload the <code>columns-diy<\/code> folder to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<\/ol>\n\n<p>There are a few different options for adding the CSS to style your columns:<\/p>\n\n<ul>\n<li>Edit the style file in your theme (probably <code>style.css<\/code>). This is <em>not<\/em> recommended if you are using a third-party theme such as a commercial theme or one downloaded from the WordPress Theme Directory. Your changes will be lost if\/when you update the theme to a new version.<\/li>\n<li>Create a <a href=\"http:\/\/codex.wordpress.org\/Child_Themes\">child theme<\/a>.<\/li>\n<li>Use a plugin such as <a href=\"http:\/\/wordpress.org\/extend\/plugins\/css-javascript-toolbox\/\">CSS &amp; JavaScript Toolbox<\/a> to embed the styles without modifying your theme.<\/li>\n<li>Use the <code>style<\/code> parameter in the <code>[column]<\/code> shortcode to add inline styles. Only recommended for \"one-off\" scenarios (and how often does a \"one-off\" remain that way?).<\/li>\n<\/ul>\n\n<!--section=faq-->\n<p>Check out the <a href=\"https:\/\/github.com\/jupiterwise\/Columns-DIY\">GitHub repository<\/a> for more information.<\/p>\n\n<!--section=changelog-->\n<h4>1.1<\/h4>\n\n<ul>\n<li>Added <code>rowstyle<\/code> parameter to allow for inline styles on the row <code>&lt;div&gt;<\/code>.<\/li>\n<li>Added filter hooks for altering the output of the shortcodes.<\/li>\n<li>Improved process for cleaning up <code>&lt;p&gt;<\/code> and <code>&lt;br \/&gt;<\/code> tags.<\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<ul>\n<li>The initial release to the WordPress plugin repository.<\/li>\n<\/ul>","raw_excerpt":"Simple shortcodes for div-based columns and rows. Wrap desired content in [column][\/column]. Mark the end of a row with [endrow]. CSS not included.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/tl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/19546","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/tl.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/tl.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=19546"}],"author":[{"embeddable":true,"href":"https:\/\/tl.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/jupiterwise"}],"wp:attachment":[{"href":"https:\/\/tl.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=19546"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/tl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=19546"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/tl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=19546"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/tl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=19546"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/tl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=19546"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/tl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=19546"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}