{"id":14904,"date":"2011-09-14T18:44:16","date_gmt":"2011-09-14T18:44:16","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/featured-image-column\/"},"modified":"2024-11-29T17:51:06","modified_gmt":"2024-11-29T17:51:06","slug":"featured-image-column","status":"publish","type":"plugin","link":"https:\/\/os.wordpress.org\/plugins\/featured-image-column\/","author":1182490,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.1.0","stable_tag":"trunk","tested":"6.7.5","requires":"6.2","requires_php":"8.0","requires_plugins":null,"header_name":"Featured Image Column","header_author":"Austin Passy","header_description":"","assets_banners_color":"fbfbfb","last_updated":"2024-11-29 17:51:06","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/www.paypal.com\/cgi-bin\/webscr?cmd=_s-xclick&hosted_button_id=XQRHECLPQ46TE","header_plugin_uri":"https:\/\/austin.passy.co\/wordpress-plugins\/featured-image-column","header_author_uri":"","rating":4.8,"author_block_rating":0,"active_installs":2000,"downloads":45602,"num_ratings":11,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":{"0.1.5":{"tag":"0.1.5","author":"austyfrosty","date":"2011-11-22 01:11:33"},"0.1.6":{"tag":"0.1.6","author":"austyfrosty","date":"2011-11-22 01:34:50"},"0.2.3":{"tag":"0.2.3","author":"austyfrosty","date":"2017-06-25 07:00:43"},"0.3.2":{"tag":"0.3.2","author":"austyfrosty","date":"2017-06-25 17:27:37"},"1.1.0":{"tag":"1.1.0","author":"austyfrosty","date":"2024-11-29 17:37:12"}},"upgrade_notice":{"1.1.1":"<p>Required PHP &gt;= 8.0<\/p>"},"ratings":{"1":0,"2":0,"3":0,"4":"2","5":"9"},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3199603,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3199603,"resolution":"256x256","location":"assets","locale":""},"icon.svg":{"filename":"icon.svg","revision":3199603,"resolution":false,"location":"assets","locale":false}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3199603,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3199603,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.1.5","0.1.6","0.2.3","0.3.2","1.1.0"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3199603,"resolution":"1","location":"assets","locale":""}},"screenshots":{"1":"Post edit.php screen."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[83,1099,1795],"plugin_category":[],"plugin_contributors":[78073,77644,80248,79308],"plugin_business_model":[],"class_list":["post-14904","plugin","type-plugin","status-publish","hentry","plugin_tags-admin","plugin_tags-column","plugin_tags-featured-image","plugin_contributors-austyfrosty","plugin_contributors-chrisjean","plugin_contributors-dh-shredder","plugin_contributors-martythornley","plugin_committers-austyfrosty","plugin_committers-kirasong","plugin_committers-martythornley"],"banners":{"banner":"https:\/\/ps.w.org\/featured-image-column\/assets\/banner-772x250.png?rev=3199603","banner_2x":"https:\/\/ps.w.org\/featured-image-column\/assets\/banner-1544x500.png?rev=3199603","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":"https:\/\/ps.w.org\/featured-image-column\/assets\/icon.svg?rev=3199603","icon":"https:\/\/ps.w.org\/featured-image-column\/assets\/icon.svg?rev=3199603","icon_2x":false,"generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/featured-image-column\/assets\/screenshot-1.png?rev=3199603","caption":"Post edit.php screen."}],"raw_content":"<!--section=description-->\n<p>As of version 0.2.2 you can select which post types you'd like to have the image column.\nIt simply adds a column before the title (far left) the show's the posts featured image if it's supported and exists.<\/p>\n\n<p>Want to change the default image? Simply filter you own image by using <code>featured_image_column_default_image<\/code>\nor filter your own CSS by using the <code>featured_image_column_css<\/code> filter hook.<\/p>\n\n<h4>Example actions\/filters<\/h4>\n\n<p><strong>Add support for a custom default image<\/strong><\/p>\n\n<pre><code>function my_custom_featured_image_column_image( $image ) {\n    if ( !has_post_thumbnail() ) {\n        return trailingslashit( get_stylesheet_directory_uri() ) . 'images\/featured-image.png';\n    }\n\n    return $image;\n}\nadd_filter( 'featured_image_column_default_image', 'my_custom_featured_image_column_image' );\n<\/code><\/pre>\n\n<p><strong>Remove support for post types<\/strong> <em>Use the <code>featured_image_column_init<\/code> action hook for your filter.<\/em><\/p>\n\n<pre><code>function frosty_featured_image_column_init_func() {\n    add_filter( 'featured_image_column_post_types', 'frosty_featured_image_column_remove_post_types', 11 ); \/\/ Remove\n}\nadd_action( 'featured_image_column_init', 'frosty_featured_image_column_init_func' );\n\nfunction frosty_featured_image_column_remove_post_types( $post_types ) {\n    foreach( $post_types as $key =&gt; $post_type ) {\n        if ( 'post-type' === $post_type ) \/\/ Post type you'd like removed. Ex: 'post' or 'page'\n            unset( $post_types[$key] );\n    }\n    return $post_types;\n}\n<\/code><\/pre>\n\n<p>For more question please visit <a href=\"https:\/\/austin.passy.co\/wordpress-plugins\/featured-image-column\/\">https:\/\/austin.passy.co<\/a><\/p>\n\n<!--section=installation-->\n<p>Follow the steps below to install the plugin.<\/p>\n\n<ol>\n<li>Upload the <code>featured-image-column<\/code> directory to the \/wp-content\/plugins\/ directory. OR click add new plugin in your WordPress admin.<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress.<\/li>\n<\/ol>\n\n<!--section=changelog-->\n<h4>Version 1.1.0 (2024\/11\/29)<\/h4>\n\n<ul>\n<li>Tested up WordPress 6.7.1.<\/li>\n<li>Added GitHub Release -&gt; WordPress.org Action.<\/li>\n<li>Resolve 1.0.0 Release call_user_func errors and incorrect file path(s).<\/li>\n<\/ul>\n\n<h4>Version 1.0.0 (2023\/11\/16)<\/h4>\n\n<ul>\n<li>Update code for PHP &gt;= 8.0.<\/li>\n<li>Update for WordPress &gt;= 6.2.<\/li>\n<\/ul>\n\n<h4>Version 0.3.2 (06\/26\/17)<\/h4>\n\n<ul>\n<li>Missed short-array syntax updates for PHP &lt; 5.4 compatibility.<\/li>\n<\/ul>\n\n<h4>Version 0.3.1 (06\/26\/17)<\/h4>\n\n<ul>\n<li>Fix for PHP versions &lt; 5.4.<\/li>\n<li>Please update your PHP versions!<\/li>\n<\/ul>\n\n<h4>Version 0.3 (06\/25\/17)<\/h4>\n\n<ul>\n<li>Code cleanup.<\/li>\n<li>Tested with WordPress 4.8 new minimum version requirement set to 4.4.<\/li>\n<li>Image columns work correctly when using Quick Edit now (no more collapsing)!<\/li>\n<li>Removed use of additional wp_cache.s<\/li>\n<li>Toggling setting controls for post types works again (turn on\/off featured image column per post type).<\/li>\n<\/ul>\n\n<h4>Version 0.2.3 (04\/4\/15)<\/h4>\n\n<ul>\n<li>Make sure get_the_image() returns the cached image. \/ht Djules<\/li>\n<\/ul>\n\n<h4>Version 0.2.2 (12\/3\/14)<\/h4>\n\n<ul>\n<li>Wow. Exactly one year to the dau since the last update!<\/li>\n<li>Added settings to turn on\/off featured image column per post type.<\/li>\n<li>Added pre load hook <code>featured_image_column_init<\/code>.<\/li>\n<li>Better custom post type column manager filter.<\/li>\n<\/ul>\n\n<h4>Version 0.2.1 (12\/3\/13)<\/h4>","raw_excerpt":"Adds a column to any post type edit screen with the featured image if it exists.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/os.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/14904","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/os.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/os.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/os.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=14904"}],"author":[{"embeddable":true,"href":"https:\/\/os.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/austyfrosty"}],"wp:attachment":[{"href":"https:\/\/os.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=14904"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/os.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=14904"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/os.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=14904"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/os.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=14904"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/os.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=14904"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/os.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=14904"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}