{"id":11989,"date":"2011-02-02T16:10:19","date_gmt":"2011-02-02T16:10:19","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/twentyten-gallery-fix\/"},"modified":"2011-02-02T16:25:29","modified_gmt":"2011-02-02T16:25:29","slug":"twentyten-gallery-fix","status":"publish","type":"plugin","link":"https:\/\/test.wordpress.org\/plugins\/twentyten-gallery-fix\/","author":310451,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.0","stable_tag":"trunk","tested":"3.0.5","requires":"3.0","requires_php":"","requires_plugins":"","header_name":"TwentyTen Gallery Fix","header_author":"Dan-Lucian Stefancu","header_description":"","assets_banners_color":"","last_updated":"2011-02-02 16:25:29","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/www.paypal.com\/cgi-bin\/webscr?cmd=_donations&business=mail%40deceblog%2enet&lc=RO&item_name=TwentyTen%20gallery%20fix%20%20Wordpress%20plugin&item_number=1&currency_code=EUR&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted","header_plugin_uri":"http:\/\/www.decetutorial.net\/2011\/01\/twentyten-gallery-fix.html","header_author_uri":"http:\/\/deceblog.net","rating":0,"author_block_rating":0,"active_installs":10,"downloads":2546,"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":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":{"screenshot-4.jpg":{"filename":"screenshot-4.jpg","revision":"1559360","resolution":"4","location":"plugin","width":500,"height":273},"screenshot-2.jpg":{"filename":"screenshot-2.jpg","revision":"1559360","resolution":"2","location":"plugin","width":500,"height":273},"screenshot-1.jpg":{"filename":"screenshot-1.jpg","revision":"1559360","resolution":"1","location":"plugin","width":500,"height":273},"screenshot-3.jpg":{"filename":"screenshot-3.jpg","revision":"1559360","resolution":"3","location":"plugin","width":500,"height":273}},"screenshots":{"1":"A gallery with 8 items, and 4 columns (150px thumbnails) ? twentyTen default","2":"A gallery with 8 items, and 4 columns (150px thumbnails) ? twentyTen fixed","3":"A gallery with 8 items, and 5 columns (100px thumbnails) ? twentyTen default","4":"A gallery with 8 items, and 5 columns (100px thumbnails) ? twentyTen fixed"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[4918,210,133,163,215],"plugin_category":[50],"plugin_contributors":[86389],"plugin_business_model":[],"class_list":["post-11989","plugin","type-plugin","status-publish","hentry","plugin_tags-galleries","plugin_tags-gallery","plugin_tags-image","plugin_tags-images","plugin_tags-photo","plugin_category-media","plugin_contributors-de-ce","plugin_committers-de-ce"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/twentyten-gallery-fix.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/twentyten-gallery-fix\/trunk\/screenshot-1.jpg?rev=1559360","caption":"A gallery with 8 items, and 4 columns (150px thumbnails) ? twentyTen default"},{"src":"https:\/\/ps.w.org\/twentyten-gallery-fix\/trunk\/screenshot-2.jpg?rev=1559360","caption":"A gallery with 8 items, and 4 columns (150px thumbnails) ? twentyTen fixed"},{"src":"https:\/\/ps.w.org\/twentyten-gallery-fix\/trunk\/screenshot-3.jpg?rev=1559360","caption":"A gallery with 8 items, and 5 columns (100px thumbnails) ? twentyTen default"},{"src":"https:\/\/ps.w.org\/twentyten-gallery-fix\/trunk\/screenshot-4.jpg?rev=1559360","caption":"A gallery with 8 items, and 5 columns (100px thumbnails) ? twentyTen fixed"}],"raw_content":"<!--section=description-->\n<p>TwentyTen theme will break galleries with more then 3 columns (also 2 columns galleries look strange). This is a little fix.<\/p>\n\n<p>TwentyTen, the default WordPress theme, removes the default dynamic styles from WordPress galleries, and adds some static CSS, so galleries with anything but 3 columns look broken. <strong>It?s not a WordPress bug<\/strong>, it is TwentyTen specific.<\/p>\n\n<p>What is the problem? TwentyTen theme?s CSS sets all the gallery items width to 33%, so any gallery with more then 3 columns looks broken (the items are thrown on the next row), as the the total width of the gallery excedes the post width (4 x 33% = 132%).<\/p>\n\n<p>This plugin adds some custom classes to galleries (eg. 4 columns: .width-25), and some CSS that fixes the width problem.<\/p>\n\n<p><strong>No configuration needed. Just upload, and install. The galleries will look as they should.<\/strong><\/p>\n\n<p><a href=\"http:\/\/www.decetutorial.net\/2011\/01\/twentyten-gallery-fix.html\">Plugin's page<\/a><\/p>\n\n<!--section=installation-->\n<p>Upload TwentyTen Gallery Fix plugin to your blog. Activate it. Done!<\/p>\n\n<!--section=changelog-->\n<ul>\n<li>Version 1.0\n\n<ul>\n<li>Initial version<\/li>\n<\/ul><\/li>\n<\/ul>","raw_excerpt":"TwentyTen theme will break galleries with more then 3 columns (also 2 columns galleries look strange). This is a little fix.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/11989","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=11989"}],"author":[{"embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/de-ce"}],"wp:attachment":[{"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=11989"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=11989"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=11989"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=11989"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=11989"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=11989"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}