{"id":206628,"date":"2024-10-07T10:04:47","date_gmt":"2024-10-07T10:04:47","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/gp-project-icon\/"},"modified":"2025-04-18T22:35:08","modified_gmt":"2025-04-18T22:35:08","slug":"gp-project-icon","status":"publish","type":"plugin","link":"https:\/\/tl.wordpress.org\/plugins\/gp-project-icon\/","author":7333153,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.0.1","stable_tag":"1.0.1","tested":"6.7.5","requires":"5.3","requires_php":"7.4","requires_plugins":null,"header_name":"GP Project Icon","header_author":"Pedro Mendon\u00e7a","header_description":"This GlotPress plugin allows you to add icons to your projects.","assets_banners_color":"","last_updated":"2025-04-18 22:35:08","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/github.com\/sponsors\/pedro-mendonca","header_plugin_uri":"https:\/\/wordpress.org\/plugins\/gp-project-icon\/","header_author_uri":"https:\/\/profiles.wordpress.org\/pedromendonca\/","rating":0,"author_block_rating":0,"active_installs":0,"downloads":796,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","faq","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"pedromendonca","date":"2024-10-28 10:48:47"},"1.0.1":{"tag":"1.0.1","author":"pedromendonca","date":"2025-04-18 22:35:08"}},"upgrade_notice":[],"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3164123,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3164123,"resolution":"256x256","location":"assets","locale":""},"icon-512x512.png":{"filename":"icon-512x512.png","revision":3164123,"resolution":"512x512","location":"assets","locale":""}},"assets_banners":[],"assets_blueprints":{"blueprint.json":{"filename":"blueprint.json","revision":3276963,"resolution":false,"location":"assets","locale":"","contents":"{\"$schema\":\"https:\\\/\\\/playground.wordpress.net\\\/blueprint-schema.json\",\"landingPage\":\"\\\/glotpress\\\/projects\\\/-new\\\/\",\"preferredVersions\":{\"php\":\"7.4\",\"wp\":\"latest\"},\"phpExtensionBundles\":[\"kitchen-sink\"],\"steps\":[{\"step\":\"login\",\"username\":\"admin\",\"password\":\"password\"},{\"step\":\"setSiteOptions\",\"options\":{\"permalink_structure\":\"\\\/%year%\\\/%monthnum%\\\/%day%\\\/%postname%\\\/\"}},{\"step\":\"installPlugin\",\"pluginData\":{\"resource\":\"wordpress.org\\\/plugins\",\"slug\":\"glotpress\"},\"options\":{\"activate\":true}},{\"step\":\"installPlugin\",\"pluginData\":{\"resource\":\"wordpress.org\\\/plugins\",\"slug\":\"gp-project-icon\"},\"options\":{\"activate\":true}},{\"step\":\"installPlugin\",\"pluginZipFile\":{\"resource\":\"wordpress.org\\\/plugins\",\"slug\":\"gp-project-icon\"},\"options\":{\"activate\":true}}]}"}},"all_blocks":[],"tagged_versions":["1.0.0","1.0.1"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3164123,"resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3164123,"resolution":"2","location":"assets","locale":""},"screenshot-3.png":{"filename":"screenshot-3.png","revision":3164123,"resolution":"3","location":"assets","locale":""},"screenshot-4.png":{"filename":"screenshot-4.png","revision":3164123,"resolution":"4","location":"assets","locale":""},"screenshot-5.png":{"filename":"screenshot-5.png","revision":3164123,"resolution":"5","location":"assets","locale":""},"screenshot-6.png":{"filename":"screenshot-6.png","revision":3164123,"resolution":"6","location":"assets","locale":""},"screenshot-7.png":{"filename":"screenshot-7.png","revision":3164123,"resolution":"7","location":"assets","locale":""}},"screenshots":{"1":"Projects page with added icons","2":"Project page with header icon and sub-project icons","3":"Project page with header icon and translation sets","4":"Project page with header icon and sub-project icons","5":"Project edit\/new form with no icon selected","6":"Project edit\/new form selecting an icon from the media library","7":"Project edit\/new form with icon selected"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[32555,497,10301,23575,2333],"plugin_category":[48,50],"plugin_contributors":[87581],"plugin_business_model":[],"class_list":["post-206628","plugin","type-plugin","status-publish","hentry","plugin_tags-glotpress","plugin_tags-icon","plugin_tags-project","plugin_tags-toolbox","plugin_tags-translation","plugin_category-language-tools","plugin_category-media","plugin_contributors-pedromendonca","plugin_committers-pedromendonca","plugin_support_reps-pedromendonca"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/gp-project-icon\/assets\/icon-128x128.png?rev=3164123","icon_2x":"https:\/\/ps.w.org\/gp-project-icon\/assets\/icon-256x256.png?rev=3164123","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/gp-project-icon\/assets\/screenshot-1.png?rev=3164123","caption":"Projects page with added icons"},{"src":"https:\/\/ps.w.org\/gp-project-icon\/assets\/screenshot-2.png?rev=3164123","caption":"Project page with header icon and sub-project icons"},{"src":"https:\/\/ps.w.org\/gp-project-icon\/assets\/screenshot-3.png?rev=3164123","caption":"Project page with header icon and translation sets"},{"src":"https:\/\/ps.w.org\/gp-project-icon\/assets\/screenshot-4.png?rev=3164123","caption":"Project page with header icon and sub-project icons"},{"src":"https:\/\/ps.w.org\/gp-project-icon\/assets\/screenshot-5.png?rev=3164123","caption":"Project edit\/new form with no icon selected"},{"src":"https:\/\/ps.w.org\/gp-project-icon\/assets\/screenshot-6.png?rev=3164123","caption":"Project edit\/new form selecting an icon from the media library"},{"src":"https:\/\/ps.w.org\/gp-project-icon\/assets\/screenshot-7.png?rev=3164123","caption":"Project edit\/new form with icon selected"}],"raw_content":"<!--section=description-->\n<p>This GlotPress plugin allows you to add icons to your projects.<\/p>\n\n<p>Up to GlotPress v4.0.1 the templates 'project.php' and 'projects.php' don't have the necessary hooks to easily add the icons on server side.<\/p>\n\n<p>For now the icons are added on the frontend with JavaScript.<\/p>\n\n<p>If the PR <a href=\"https:\/\/github.com\/GlotPress\/GlotPress\/pull\/1864\">Add action hooks and filters to Projects and Project templates<\/a> is merged, then the JS is no longer needed and the template customization will be done the right way.<\/p>\n\n<p>The plugin uses <code>gp_meta<\/code> with the meta key <code>project_icon<\/code> to store the ID of the media library attachment, for each object of type <code>project<\/code> with a corresponding ID.<\/p>\n\n<h3>Features<\/h3>\n\n<ul>\n<li>GlotPress projects page:\n\n<ul>\n<li>Icons on the left of the project names.<\/li>\n<\/ul><\/li>\n<li>GlotPress project page:\n\n<ul>\n<li>Header icon above the project title.<\/li>\n<li>Icons on the left of the sub-project names.<\/li>\n<\/ul><\/li>\n<li>GlotPress project edit\/new form:\n\n<ul>\n<li>Media file select field to choose an image from the media library.<\/li>\n<\/ul><\/li>\n<\/ul>\n\n<h3>Known issues<\/h3>\n\n<ul>\n<li>Currently, GlotPress still does not delete meta when deleting a project, leading to orphaned meta.<\/li>\n<li>GlotPress does not clone the meta when branching a project, so any cloned projects do not inherit its icon.<\/li>\n<\/ul>\n\n<h3>Requirements<\/h3>\n\n<ul>\n<li>GlotPress v4.0.<\/li>\n<\/ul>\n\n<!--section=faq-->\n<dl>\n<dt id='can%20i%20contribute%20to%20this%20plugin%3F'><h3>Can I contribute to this plugin?<\/h3><\/dt>\n<dd><p>Sure! You are welcome to report any issues or add feature suggestions on the <a href=\"https:\/\/github.com\/pedro-mendonca\/GP-Project-Icon\">GitHub repository<\/a>.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>Unreleased<\/h4>\n\n<ul>\n<li>Tested up to WP 6.8.<\/li>\n<\/ul>\n\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>Tested up to WP 6.7.<\/li>\n<li>Include minified assets maps.<\/li>\n<li>Add prefixes for supported browserslist.<\/li>\n<li>Remove plugin header for Git Updater, forbiden by the .org Plugin Team.<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial release.<\/li>\n<li>Add project icons to GlotPress Projects page.<\/li>\n<li>Add project header icon to GlotPress Project page.<\/li>\n<li>Add sub-project icons to GlotPress Project page.<\/li>\n<li>Add media file select field to the Project edit\/new form.<\/li>\n<li>Delete project icon meta when deleting a project.<\/li>\n<\/ul>","raw_excerpt":"Add icons to your GlotPress projects.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/tl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/206628","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/tl.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/tl.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=206628"}],"author":[{"embeddable":true,"href":"https:\/\/tl.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/pedromendonca"}],"wp:attachment":[{"href":"https:\/\/tl.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=206628"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/tl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=206628"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/tl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=206628"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/tl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=206628"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/tl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=206628"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/tl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=206628"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}