{"id":19389077,"url":"https://github.com/interconnectit/a-z-archive","last_synced_at":"2025-04-23T23:31:58.027Z","repository":{"id":4095281,"uuid":"5203311","full_name":"interconnectit/a-z-archive","owner":"interconnectit","description":"Plugin that adds A-Z archive functionality to WordPress","archived":false,"fork":false,"pushed_at":"2024-11-18T12:35:52.000Z","size":11,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-04-02T22:33:07.918Z","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":"nodejs/node","license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/interconnectit.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2012-07-27T10:32:27.000Z","updated_at":"2024-11-18T12:35:55.000Z","dependencies_parsed_at":"2024-11-04T09:16:22.722Z","dependency_job_id":null,"html_url":"https://github.com/interconnectit/a-z-archive","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/interconnectit%2Fa-z-archive","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/interconnectit%2Fa-z-archive/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/interconnectit%2Fa-z-archive/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/interconnectit%2Fa-z-archive/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/interconnectit","download_url":"https://codeload.github.com/interconnectit/a-z-archive/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250532191,"owners_count":21446134,"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":[],"created_at":"2024-11-10T10:15:14.625Z","updated_at":"2025-04-23T23:31:57.756Z","avatar_url":"https://github.com/interconnectit.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# A-Z Archive\n\n## Features\n\n* Post type archive that lists posts in alphabetical order.\n* Filter posts by letter or symbol.\n\n## Requirements\n\n* PHP \u003e= 8.1\n* WordPress \u003e= 5.8\n\n## Usage\n\nSet the `alpha_sort` support for your post type.\n```php\nregister_post_type( 'post_type_name', [\n    ...,\n    'supports' =\u003e [ 'title', 'editor', 'thumbnail', 'alpha_sort' ],\n    ...\n] );\n```\nOr\n```php\nadd_post_type_support( 'post_type_name', 'alpha_sort' );\n```\n\nTo show the filters on the post type archive page use the following code in your theme template file.\n```php\nICIT\\StandFirst\\PostSort\\AtoZ::post_type_alpha_filters( 'post_type_name', [ 'title'=\u003e 'Filters', 'all_title' =\u003e 'All Posts' ] );\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finterconnectit%2Fa-z-archive","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finterconnectit%2Fa-z-archive","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finterconnectit%2Fa-z-archive/lists"}