{"id":21239991,"url":"https://github.com/horttcore/custom-post-type-downloads","last_synced_at":"2026-05-14T12:37:51.857Z","repository":{"id":6016912,"uuid":"7240418","full_name":"Horttcore/Custom-Post-Type-Downloads","owner":"Horttcore","description":"Custom post type for WordPress","archived":false,"fork":false,"pushed_at":"2019-12-02T09:34:03.000Z","size":113,"stargazers_count":1,"open_issues_count":1,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-05T09:45:35.415Z","etag":null,"topics":["custom-post-type","downloads","wordpress"],"latest_commit_sha":null,"homepage":"https://horttcore.de","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Horttcore.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-12-19T12:46:45.000Z","updated_at":"2024-07-24T10:56:09.000Z","dependencies_parsed_at":"2022-08-30T05:05:06.422Z","dependency_job_id":null,"html_url":"https://github.com/Horttcore/Custom-Post-Type-Downloads","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Horttcore%2FCustom-Post-Type-Downloads","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Horttcore%2FCustom-Post-Type-Downloads/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Horttcore%2FCustom-Post-Type-Downloads/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Horttcore%2FCustom-Post-Type-Downloads/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Horttcore","download_url":"https://codeload.github.com/Horttcore/Custom-Post-Type-Downloads/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243681006,"owners_count":20330155,"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","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":["custom-post-type","downloads","wordpress"],"created_at":"2024-11-21T00:46:52.777Z","updated_at":"2026-05-14T12:37:51.812Z","avatar_url":"https://github.com/Horttcore.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Custom Post Type Downloads\n\nA custom post type to manage downloads\n\n## Supports\n\n* Title\n* Editor\n* Thumbnail\n* Page Attributes\n\n## Custom Fields\n\n* Attachment ID\n\n## Language Support\n\n* english\n* german\n\nTranslation ready\n\n## Template functions\n\n* `download_file_size( $before = '', $after = '' )`\n* `download_icon()`\n* `download_mime_type()`\n* `download_thumbnail( $size = 'thumbnail', $icon = false, $attr = '' )`\n* `get_download_attachment_id( $post_id )`\n* `get_download_count( $post_id )`\n* `get_download_file_size( $post_id, $formatted = TRUE )`\n* `get_download_icon( $post_id )`\n* `get_download_mime_type( $post_id )`\n* `get_download_thumbnail( $post_id, $size = 'thumbnail', $icon = false, $attr = '' )`\n* `the_download_count( $before = '', $after = '', $post_id = NULL )`\n\n## Hooks\n\n### Actions\n\n* `custom-post-type-downloads-before-loop`\n* `custom-post-type-downloads-loop`\n* `custom-post-type-downloads-after-loop`\n\n## Changelog\n\n### v0.4\n\n* Added: Access control management\n* Added: Download single template\n* Added: Widget\n* Added: Shortcode\n* Added: Template functions\n\n### v0.3\n\n* Added: Shortcode [downloads]\n* Added: Widget\n* Added: Hooks\n* Fix: Do not display file information if no file is selected\n\n### v0.2\n\n* Refactoring\n\n### v0.1\n\n* Initial release\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhorttcore%2Fcustom-post-type-downloads","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhorttcore%2Fcustom-post-type-downloads","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhorttcore%2Fcustom-post-type-downloads/lists"}