{"id":9665,"date":"2010-07-09T07:53:53","date_gmt":"2010-07-09T07:53:53","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/list-related-attachments-widget\/"},"modified":"2019-03-13T14:21:30","modified_gmt":"2019-03-13T14:21:30","slug":"list-related-attachments-widget","status":"publish","type":"plugin","link":"https:\/\/br.wordpress.org\/plugins\/list-related-attachments-widget\/","author":148574,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"2.1.6","stable_tag":"2.1.6","tested":"5.1.22","requires":"4.7","requires_php":"7.0","requires_plugins":"","header_name":"List Related Attachments","header_author":"twinpictures, baden03","header_description":"","assets_banners_color":"9c9c9c","last_updated":"2019-03-13 14:21:30","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/plugins.twinpictures.de\/plugins\/list-related-attachments\/","header_plugin_uri":"https:\/\/plugins.twinpictures.de\/plugins\/list-related-attachments\/","header_author_uri":"https:\/\/twinpictures.de\/","rating":5,"author_block_rating":0,"active_installs":90,"downloads":10501,"num_ratings":1,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":{"":"<ul>\n<li>fully tested with WordPress 5.1<\/li>\n<li>updated http to https<\/li>\n<\/ul>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":"1"},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":"1211653","resolution":"128x128","location":"assets","width":128,"height":128},"icon-256x256.png":{"filename":"icon-256x256.png","revision":"1211653","resolution":"256x256","location":"assets","width":256,"height":256}},"assets_banners":{"banner-772x250.jpg":{"filename":"banner-772x250.jpg","revision":"511112","resolution":"772x250","location":"assets","width":772,"height":250}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["2.1.0","2.1.1","2.1.2","2.1.3","2.1.4","2.1.5","2.1.6"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":"939593","resolution":"1","location":"assets","width":262,"height":418},"screenshot-2.png":{"filename":"screenshot-2.png","revision":"939593","resolution":"2","location":"assets","width":224,"height":148},"screenshot-3.png":{"filename":"screenshot-3.png","revision":"939593","resolution":"3","location":"assets","width":604,"height":212}},"screenshots":{"1":"Shown here are the available options of the <code>List Related Attachments<\/code>.  See any more you like?  Let us know!","2":"For your viewing pleasure:  The sidebar widget in the midst of some hot-hot sidebar widget action.  Calm down now... it's not THAT exciting.","3":"Hide your kids, hide your husband, this is how the shortcode works."}},"plugin_section":[],"plugin_tags":[1346,245,2663,168,162],"plugin_category":[43,50],"plugin_contributors":[78037,78233],"plugin_business_model":[],"class_list":["post-9665","plugin","type-plugin","status-publish","hentry","plugin_tags-attachments","plugin_tags-list","plugin_tags-related","plugin_tags-sidebar","plugin_tags-widget","plugin_category-customization","plugin_category-media","plugin_contributors-baden03","plugin_contributors-twinpictures","plugin_committers-baden03"],"banners":{"banner":"https:\/\/ps.w.org\/list-related-attachments-widget\/assets\/banner-772x250.jpg?rev=511112","banner_2x":false,"banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/list-related-attachments-widget\/assets\/icon-128x128.png?rev=1211653","icon_2x":"https:\/\/ps.w.org\/list-related-attachments-widget\/assets\/icon-256x256.png?rev=1211653","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/list-related-attachments-widget\/assets\/screenshot-1.png?rev=939593","caption":"Shown here are the available options of the <code>List Related Attachments<\/code>.  See any more you like?  Let us know!"},{"src":"https:\/\/ps.w.org\/list-related-attachments-widget\/assets\/screenshot-2.png?rev=939593","caption":"For your viewing pleasure:  The sidebar widget in the midst of some hot-hot sidebar widget action.  Calm down now... it's not THAT exciting."},{"src":"https:\/\/ps.w.org\/list-related-attachments-widget\/assets\/screenshot-3.png?rev=939593","caption":"Hide your kids, hide your husband, this is how the shortcode works."}],"raw_content":"<!--section=description-->\n<p>List Related Attachments is a sidebar widget and shortcode that will display a filtered, sorted and ordered list of all related attachments linked to current post or page. The widget options are: title, number of attachments to display, type of attachment to display by mime\/type, order by value, order direction and what should be displayed (attachment title, caption or description).  A <a href='https:\/\/plugins.twinpictures.de\/plugins\/list-related-attachments\/documentation\/'>complete listing of shortcode options and attribute demos<\/a> are available that delight and inform. What's more, there is <a href='https:\/\/wordpress.org\/support\/plugin\/list-related-attachments-widget'>excellent and free community support<\/a> and a super-duper online <a href=\"\/\/translate.wordpress.org\/projects\/wp-plugins\/list-related-attachments-widget\u201d\">language translation tool<\/a> to roll-your-own language files.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Old-school: upload the <code>List Related Attachments<\/code> folder to the <code>\/wp-content\/plugins\/<\/code> directory via FTP.  Hipster: Add the plugin via the WordPress Plugins menu.<\/li>\n<li>Activate the Plugin<\/li>\n<li>Add the Widget to the desired sidebar in the WordPress Widgets menu.<\/li>\n<li>Configure the <code>Listed Related Attachments<\/code> widget options.<\/li>\n<li>Add a the shortcode to your post like so: <code>[list-related-attach type=\"application\/zip\" count=\"3\" orderby=\"title\" order=\"ASC\" show=\"caption\"]<\/code><\/li>\n<li>Test that the this plugin meets your demanding needs.<\/li>\n<li>Rate the plugin and verify that it works at wordpress.org.<\/li>\n<li>Leave a comment regarding bugs, feature request, cocktail recipes at: https:\/\/wordpress.org\/support\/plugin\/list-related-attachments-widget<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>What are the default shortcode attributes?<\/dt>\n<dd><ol>\n<li>type = \"application\" (so basically everything)<\/li>\n<li>count = \"-1\" (so everything)<\/li>\n<li>orderby = \"date\" (by the date the attachment was added)<\/li>\n<li>order = \"DESC\" (Descending in the newest to oldest direction)<\/li>\n<li>show = \"title\" (The title of the attachment)<\/li>\n<li>link_so = \u201cfile\u201d (as opposed to the attachment page)<\/li>\n<\/ol><\/dd>\n<dt>I am going to a respectable cocktail bar, can you recommend a drink?<\/dt>\n<dd><p>Gin Basel Smash<\/p><\/dd>\n<dt>I am a Social Netwookiee, do you have a Facebook page?<\/dt>\n<dd><p>Yes, yes... <a href='https:\/\/www.facebook.com\/twinpictures'>Twinpictures is on Facebook<\/a>.<\/p><\/dd>\n<dt>Does Twinpictures do the Twitter?<\/dt>\n<dd><p>Ah yes! <a href='https:\/\/twitter.com\/twinpictures'>@Twinpictures<\/a> does the twitter tweeting around here.<\/p><\/dd>\n<dt>Where can I go for jokes and fun?<\/dt>\n<dd><p>Why not try: <a href='http:\/\/jokesandfun.de\/'>Jokes &amp; Fun<\/a><\/p><\/dd>\n<dt>What is the meaning of life, the universe and everything?<\/dt>\n<dd><p>42<\/p><\/dd>\n<dt>Who likes to rock the party?<\/dt>\n<dd><p>We like to rock the party.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>2.1.6<\/h4>\n\n<ul>\n<li>fixed the shortcake attribute extract function<\/li>\n<\/ul>\n\n<h4>2.1.5<\/h4>\n\n<ul>\n<li>replaced exctract with shortcode_atts function<\/li>\n<li>fully tested with WordPress 5.1<\/li>\n<li>updated http to https<\/li>\n<\/ul>\n\n<h4>2.1.4<\/h4>\n\n<ul>\n<li>fully tested with WordPress 4.9.9<\/li>\n<\/ul>\n\n<h4>2.1.3<\/h4>\n\n<ul>\n<li>supports WordPress language packs, no longer ships with all languages<\/li>\n<li>fully tested with WordPress 4.5<\/li>\n<\/ul>\n\n<h4>2.1.2<\/h4>\n\n<ul>\n<li>added new parent_id attribute to override current page<\/li>\n<\/ul>\n\n<h4>2.1.1<\/h4>\n\n<ul>\n<li>adjusted php5 constructor play well with older php versions<\/li>\n<li>changed text domain so it works with new WordPress Translation service<\/li>\n<\/ul>\n\n<h4>2.1.0<\/h4>\n\n<ul>\n<li>using new php5 constructor for widget<\/li>\n<\/ul>\n\n<h4>2.0.1<\/h4>\n\n<ul>\n<li>cleaned up the readme file<\/li>\n<li>first check to make sure there is a pageID before trying to grab it\u2019s attachments<\/li>\n<\/ul>\n\n<h4>2.0<\/h4>\n\n<ul>\n<li>Rebuilt plugin<\/li>\n<li>Added options page<\/li>\n<li>added link_to option to link to file or attachment page<\/li>\n<li>added language translation<\/li>\n<\/ul>\n\n<h4>1.9<\/h4>\n\n<ul>\n<li>Only the attachments of the first post will be displayed when the sidebar widget is used on the blog page.<\/li>\n<\/ul>\n\n<h4>1.8<\/h4>\n\n<ul>\n<li>Plugin now supports multi-language and multiple instances<\/li>\n<\/ul>\n\n<h4>1.7<\/h4>\n\n<ul>\n<li>Added the ability to chose a target for the attachment (for example a new tab)<\/li>\n<li>Expanded the display\/show attribute to list multiple attributes such as title - caption or title (description)<\/li>\n<li>A big Thank You to oldbrit (https:\/\/wordpress.org\/support\/profile\/oldbrit) suggesting these ideas! (https:\/\/wordpress.org\/support\/topic\/plugin-list-related-attachments-title-caption-or-description\/)<\/li>\n<\/ul>\n\n<h4>1.6.1<\/h4>\n\n<ul>\n<li>Vastly enhanced documentation and moved the plugin over to the plugin oven.<\/li>\n<\/ul>\n\n<h4>1.6<\/h4>\n\n<ul>\n<li>Optimized code and added mime-type classes to list items.<\/li>\n<\/ul>\n\n<h4>1.5<\/h4>\n\n<ul>\n<li>Fixed a bug in the shortcode (Big thanks to motylanogha for reporting this).  NOW the plugin works 100% like it should... I think.<\/li>\n<\/ul>\n\n<h4>1.4<\/h4>\n\n<ul>\n<li>Options now allow to choose from the attachment title, caption or description as the text that is displayed in the attachment link.<\/li>\n<\/ul>\n\n<h4>1.3<\/h4>\n\n<ul>\n<li>Expanded the options to include orderby and order... for <em>Ultimater Flexibility<\/em> -- yes, Ultimater is not a real word, but just go with it, OK?<\/li>\n<\/ul>\n\n<h4>1.2<\/h4>\n\n<ul>\n<li>Added shortcode so that related attachments can be listed withing the page loop.  Listing related attachments is not just for sidebar widgets anymore.<\/li>\n<\/ul>\n\n<h4>1.1<\/h4>\n\n<ul>\n<li>Changed mime\/type to a text input field for <em>Ultimate Flexibility<\/em>.<\/li>\n<li>Pimped this readme.txt file.<\/li>\n<li>Added the plugin to wordpress.org.<\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<ul>\n<li>The plugin came to be.<\/li>\n<\/ul>","raw_excerpt":"Listed Related Attachments will display a filtered list of all related attachments for the current post or page.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/br.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/9665","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/br.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/br.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/br.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=9665"}],"author":[{"embeddable":true,"href":"https:\/\/br.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/baden03"}],"wp:attachment":[{"href":"https:\/\/br.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=9665"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/br.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=9665"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/br.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=9665"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/br.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=9665"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/br.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=9665"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/br.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=9665"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}