{"id":13,"date":"2010-04-29T06:06:23","date_gmt":"2010-04-29T11:06:23","guid":{"rendered":"http:\/\/www.scottbressler.com\/blog\/"},"modified":"2010-06-16T21:24:56","modified_gmt":"2010-06-17T02:24:56","slug":"media-credit","status":"publish","type":"page","link":"https:\/\/www.scottbressler.com\/blog\/plugins\/media-credit\/","title":{"rendered":"Media Credit"},"content":{"rendered":"<p>Feel free to get in touch with us about anything you&#8217;d like me to add to this plugin or any feedback. We love hearing from our users! <a href=\"https:\/\/wordpress.org\/support\/plugin\/media-credit\/#postform\" rel=\"ugc\">Start a thread on the plugin forum<\/a> and we&#8217;ll get back to you shortly!<\/p>\n<p>This plugin adds a &#8220;Credit&#8221; field when uploading media to posts and displays it under the images on your blog to properly credit the artist.<\/p>\n<p>When adding media through the Media Uploader tool or editing media already in the Media Library, this plugin adds a new field to the media form that allows users to assign credit for given media to a user of your blog (assisted with autocomplete) or to any freeform text (e.g. courtesy photos, etc.).<\/p>\n<p>When this media is then inserted into a post, a new shortcode, <code>[media-credit]<\/code>, surrounds the media, inside of any caption, with the provided media credit information. Media credit inside this shortcode is then displayed on your blog under your media with the class <code>.media-credit<\/code>, which has some default styling but which you can customize to your heart&#8217;s content.<\/p>\n<p>You can also display all the media by an author on the author&#8217;s page. See more in the <a href=\"https:\/\/wordpress.org\/plugins\/media-credit\/faq\/\" rel=\"ugc\">FAQ<\/a>.<br \/>\n<strong>Options<\/strong><\/p>\n<p>This plugin provides a few options which appear on the <strong>Media<\/strong> page under <strong>Settings<\/strong>. These options are:<\/p>\n<ul>\n<li>Separator<\/li>\n<li>Organization<\/li>\n<li>Display credits after post<\/li>\n<\/ul>\n<p><strong>Example<\/strong><\/p>\n<p>This is best explained with an example. With a separator of &#8221; | &#8221; and an organization of The Daily Times, media inserted will be followed with a credit line appearing as follows, with the username linking to the author page for that user:<\/p>\n<p><a href=\"\" rel=\"nofollow ugc\">John Smith<\/a> | The Daily Times<\/p>\n<p><strong>Further explanation<\/strong><\/p>\n<p><em>Separator<\/em>: These are the characters that separate the display name for a user on your blog from the name of the organization, as described below. The default separator is &#8221; | &#8221; but feel free to change this to suit your needs.<\/p>\n<p><em>Organization<\/em>: This is what appears after the separator as listed above. The default organization is the name of your blog.<\/p>\n<p><em>Display credits after post<\/em>: With this option enabled, media credit shortcodes will not appear by default when inserting media into your posts. Instead, the plugin will look through the content of your posts for any media attachments and display something like the following at the end of each post with the CSS class .media-credit-end:<\/p>\n<p>Images courtesy of <a href=\"\" rel=\"nofollow ugc\">John Smith<\/a> | The Daily Times, Michael Scott and Jane Doe.<\/p>\n<p>In this example, John Smith is a user of your blog, while the latter two credits are not.<\/p>\n<h3>Download \u2014 <small>Join  already using this plugin<\/small><\/h3>\n<p>Latest version: <a href=\"https:\/\/downloads.wordpress.org\/plugin\/media-credit.4.3.0.zip\">Download <b>Media Credit<\/b> v4.3.0<\/a> [zip]<\/p>\n<p>View on the WordPress plugin directory here: <a href=\"http:\/\/wordpress.org\/extend\/plugins\/media-credit\">Media Credit<\/a><\/p>\n<h3>Changelog<\/h3>\n<h4>4.3.0 (April 1, 2023)<\/h4>\n<ul>\n<li><em>Feature<\/em>: Media Credit is now fully compatible with PHP 8.2.<\/li>\n<li><em>Bugfix<\/em>: Author queries now use capabilities instead of the deprecated <code>'who' =&gt; 'authors'<\/code>.<\/li>\n<li><em>Bugfix<\/em>: <code>run_wptexturize<\/code> filter now can be used even after the plugin is initialized.<\/li>\n<li><em>Change<\/em>: WordPress minimum version increased to 5.9.0.<\/li>\n<li><em>Change<\/em>: PHP minimum version increased to 7.4.0.<\/li>\n<\/ul>\n<h4>4.2.1 (July 30, 2021)<\/h4>\n<ul>\n<li><em>Bugfix<\/em>: Don&#8217;t eat content between multiple shortcodes on save and switch between visual and HTML mode in the classic editor.<\/li>\n<\/ul>\n<h4>4.2.0 (July 22, 2021)<\/h4>\n<ul>\n<li><em>Feature<\/em>: A shorter label for credits displayed at the end of a post can be enabled via the new filter hook <code>media_credit_at_end_use_short_label<\/code> (<code>Images:<\/code> instead of <code>Images courtesy of<\/code>).<\/li>\n<li><em>Feature<\/em>: The automatic linking of user credits to the WordPress author page can be disabled with the new filter hook <code>media_credit_disable_author_urls<\/code>.<\/li>\n<li><em>Feature<\/em>: Media Credit is now fully compatible with PHP 8.0.<\/li>\n<li><em>Bugfix<\/em>: The credit overlay cannot be selected any more by accident in the classic editor.<\/li>\n<li><em>Bugfix<\/em>: Several visual glitches in classic editor have been fixed and parsing has been made more robust.<\/li>\n<li><em>Bugfix<\/em>: Credit width is set properly for custom image sizes when editing image properties in the classic editor.<\/li>\n<li><em>Bugfix<\/em>: Organization and separator are set correctly when adding a user credit via the image properties dialogue in the classic editor.<\/li>\n<li><em>Bugfix<\/em>: Autocomplete works reliably again in Media Library.<\/li>\n<li><em>Bugfix<\/em>: Credits can be deliberately set to be empty again when credits to WordPress authors are enabled (had been broken since 4.0.0).<\/li>\n<li><em>Bugfix<\/em>: No more <code>Notice: register_rest_route was called incorrectly<\/code> during plugin initialization.<\/li>\n<li><em>Change<\/em>: WordPress minimum version increased to 5.2.0.<\/li>\n<li><em>Change<\/em>: PHP minimum version increased to 7.0.0.<\/li>\n<li><em>Change<\/em>: Support for Internet Explorer 11 has been dropped.<\/li>\n<li><em>Change<\/em>: A fabulous new plugin icon designed by <a href=\"https:\/\/www.instagram.com\/_jo_am\/\" rel=\"nofollow ugc\">Johanna Amann<\/a>.<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Feel free to get in touch with us about anything you&#8217;d like me to add to this plugin or any feedback. We love hearing from our users! Start a thread on the plugin forum and we&#8217;ll get back to you shortly! This plugin adds a &#8220;Credit&#8221; field when uploading media to posts and displays it [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":11,"menu_order":0,"comment_status":"open","ping_status":"open","template":"","meta":{"jetpack_post_was_ever_published":false,"footnotes":""},"class_list":["post-13","page","type-page","status-publish","hentry"],"aioseo_notices":[],"jetpack_shortlink":"https:\/\/wp.me\/P26wXL-d","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.scottbressler.com\/blog\/wp-json\/wp\/v2\/pages\/13","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.scottbressler.com\/blog\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.scottbressler.com\/blog\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.scottbressler.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.scottbressler.com\/blog\/wp-json\/wp\/v2\/comments?post=13"}],"version-history":[{"count":8,"href":"https:\/\/www.scottbressler.com\/blog\/wp-json\/wp\/v2\/pages\/13\/revisions"}],"predecessor-version":[{"id":111,"href":"https:\/\/www.scottbressler.com\/blog\/wp-json\/wp\/v2\/pages\/13\/revisions\/111"}],"up":[{"embeddable":true,"href":"https:\/\/www.scottbressler.com\/blog\/wp-json\/wp\/v2\/pages\/11"}],"wp:attachment":[{"href":"https:\/\/www.scottbressler.com\/blog\/wp-json\/wp\/v2\/media?parent=13"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}