{"id":20406704,"url":"https://github.com/xwp/wp-force-featured-image","last_synced_at":"2025-10-10T14:04:34.897Z","repository":{"id":11585570,"uuid":"14075756","full_name":"xwp/wp-force-featured-image","owner":"xwp","description":null,"archived":false,"fork":false,"pushed_at":"2017-02-17T21:42:10.000Z","size":271,"stargazers_count":20,"open_issues_count":3,"forks_count":8,"subscribers_count":68,"default_branch":"master","last_synced_at":"2025-07-08T08:55:40.388Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/xwp.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-11-02T21:58:33.000Z","updated_at":"2023-01-08T16:40:32.000Z","dependencies_parsed_at":"2022-09-23T00:30:58.558Z","dependency_job_id":null,"html_url":"https://github.com/xwp/wp-force-featured-image","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/xwp/wp-force-featured-image","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xwp%2Fwp-force-featured-image","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xwp%2Fwp-force-featured-image/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xwp%2Fwp-force-featured-image/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xwp%2Fwp-force-featured-image/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xwp","download_url":"https://codeload.github.com/xwp/wp-force-featured-image/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xwp%2Fwp-force-featured-image/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279004184,"owners_count":26083688,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-10T02:00:06.843Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-15T05:18:51.017Z","updated_at":"2025-10-10T14:04:34.869Z","avatar_url":"https://github.com/xwp.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!-- DO NOT EDIT THIS FILE; it is auto-generated from readme.txt --\u003e\n# Force Featured Image\n\n![Banner](assets/banner-1544x500.png)\nEver wanted to force a user to publish a post with a featured image of a certain dimension? Search no more.\n\n**Contributors:** [x-team](http://profiles.wordpress.org/x-team), [jonathanbardo](http://profiles.wordpress.org/jonathanbardo), [westonruter](http://profiles.wordpress.org/westonruter)  \n**Tags:** [tinyMCE](http://wordpress.org/plugins/tags/tinyMCE), [admin](http://wordpress.org/plugins/tags/admin), [image](http://wordpress.org/plugins/tags/image), [featured-image](http://wordpress.org/plugins/tags/featured-image), [featured](http://wordpress.org/plugins/tags/featured)  \n**Requires at least:** 3.5  \n**Tested up to:** 3.7.1  \n**Stable tag:** trunk (master)  \n**License:** [GPLv2 or later](http://www.gnu.org/licenses/gpl-2.0.html)  \n\n## Description ##\n\n**Development of this plugin is done [on GitHub](https://github.com/x-team/mentionable). Pull requests welcome. Please see [issues](https://github.com/x-team/mentionable/issues) reported there before going to the plugin forum.**\n\n## Installation ##\n\n1. Upload `force-featured-image` to the `/wp-content/plugins/` directory\n1. Activate the plugin through the 'Plugins' menu in WordPress\n1. This plugin lets you specify which post-type requires to force a featured image to. It will also let you specify minimum dimensions for the image.\nLet's say, for example, you want to force a user to set an image on the default post type with the following dimensions (400px * 400px). Put this code in the function.php of your theme :\n\n```php\n\tfunction theme_force_featured_image( $options ){\n\t\t$options['post'] = array(\n\t\t\t'width'  =\u003e 400,\n\t\t\t'height' =\u003e 400,\n\t\t);\n\n\t\treturn $options;\n\t}\n\tadd_filter( 'force_featured_image_post_type', 'theme_force_featured_image' );\n```\n\n## Screenshots ##\n\n### The plugin shows the user a warning when he doesn't respect the image dimension\n\n![The plugin shows the user a warning when he doesn't respect the image dimension](assets/screenshot-1.png)\n\n## Changelog ##\n\n### 0.2.0 ###\n* Add the ability to force a featured image with dimensions\n\n### 0.1.0 ###\nFirst Release\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxwp%2Fwp-force-featured-image","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxwp%2Fwp-force-featured-image","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxwp%2Fwp-force-featured-image/lists"}