{"id":24490377,"url":"https://github.com/armandphilippot/wp-graphql-content-stats","last_synced_at":"2026-05-19T00:39:51.556Z","repository":{"id":42526903,"uuid":"451437180","full_name":"ArmandPhilippot/wp-graphql-content-stats","owner":"ArmandPhilippot","description":"Add some stats to WPGraphQL: total posts, word count and estimated reading time.","archived":false,"fork":false,"pushed_at":"2023-07-11T10:30:59.000Z","size":205,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-13T07:42:36.591Z","etag":null,"topics":["wordpress","wordpress-plugin","wpgraphql","wpgraphql-plugin"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ArmandPhilippot.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2022-01-24T11:29:06.000Z","updated_at":"2024-06-15T10:36:49.000Z","dependencies_parsed_at":"2022-08-28T14:51:48.196Z","dependency_job_id":null,"html_url":"https://github.com/ArmandPhilippot/wp-graphql-content-stats","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ArmandPhilippot%2Fwp-graphql-content-stats","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ArmandPhilippot%2Fwp-graphql-content-stats/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ArmandPhilippot%2Fwp-graphql-content-stats/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ArmandPhilippot%2Fwp-graphql-content-stats/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ArmandPhilippot","download_url":"https://codeload.github.com/ArmandPhilippot/wp-graphql-content-stats/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243670576,"owners_count":20328495,"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":["wordpress","wordpress-plugin","wpgraphql","wpgraphql-plugin"],"created_at":"2025-01-21T17:17:59.066Z","updated_at":"2026-05-19T00:39:51.493Z","avatar_url":"https://github.com/ArmandPhilippot.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# WPGraphQL Content Stats\n\nAdd some stats to WPGraphQL: total posts, word count and estimated reading time.\n\n## Introduction\n\nThis WordPress plugin adds some new fields to WPGraphQL:\n\n-   a `total` field is added to `pageInfo`: it contains the total of found posts or found users (depending on `WP_Query` type).\n-   an `info` field is added to `ContentNode` (used by posts for example): it contains itself two fields:\n    -   `readingTime`: an estimated reading time,\n    -   `wordsCount`: the number of words in the post content.\n\nThe `readingTime` field offers two formats:\n\n-   `minutes`: the returned number is a rounded estimate of reading time in minutes.\n-   `seconds`: the returned number is a rounded estimate of reading time in seconds. It allows you to add some extra logic in frontend to display the reading time (displaying minutes and seconds for example).\n\n## Requirements\n\n-   [WordPress](https://wordpress.org/)\n-   [WPGraphQL](https://github.com/wp-graphql/wp-graphql)\n\n## License\n\nThis project is open source and available under the [GPL2.0-or-later License](./LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farmandphilippot%2Fwp-graphql-content-stats","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farmandphilippot%2Fwp-graphql-content-stats","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farmandphilippot%2Fwp-graphql-content-stats/lists"}