{"id":23387230,"url":"https://github.com/wp-forge/wp-query-starts-with","last_synced_at":"2025-06-17T09:35:41.914Z","repository":{"id":51716991,"uuid":"520575692","full_name":"wp-forge/wp-query-starts-with","owner":"wp-forge","description":"A Composer package for WordPress that allows you to query posts based on what the title starts with.","archived":false,"fork":false,"pushed_at":"2022-08-02T18:47:32.000Z","size":1,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-14T08:37:37.751Z","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/wp-forge.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":"2022-08-02T16:40:56.000Z","updated_at":"2024-04-08T10:53:01.000Z","dependencies_parsed_at":"2022-08-03T10:00:48.689Z","dependency_job_id":null,"html_url":"https://github.com/wp-forge/wp-query-starts-with","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wp-forge%2Fwp-query-starts-with","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wp-forge%2Fwp-query-starts-with/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wp-forge%2Fwp-query-starts-with/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wp-forge%2Fwp-query-starts-with/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wp-forge","download_url":"https://codeload.github.com/wp-forge/wp-query-starts-with/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247843594,"owners_count":21005474,"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-12-22T01:15:20.499Z","updated_at":"2025-04-08T12:34:08.314Z","avatar_url":"https://github.com/wp-forge.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# WordPress Query Starts With\n\n\u003ca href=\"https://wordpress.org/\" target=\"_blank\"\u003e\n    \u003cimg src=\"https://img.shields.io/static/v1?label=\u0026message=2.8+-+6.0\u0026color=blue\u0026style=flat-square\u0026logo=wordpress\u0026logoColor=white\" alt=\"WordPress Versions\"\u003e\n\u003c/a\u003e\n\u003ca href=\"https://www.php.net/\" target=\"_blank\"\u003e\n    \u003cimg src=\"https://img.shields.io/static/v1?label=\u0026message=5.2+-+8.1\u0026color=777bb4\u0026style=flat-square\u0026logo=php\u0026logoColor=white\" alt=\"PHP Versions\"\u003e\n\u003c/a\u003e\n\nA Composer package for WordPress that allows you to query posts based on what the title starts with.\n\n## Installation\n\nInstall [Composer](https://getcomposer.org/).\n\nIn your WordPress plugin or theme directory, run:\n\n```\ncomposer require wp-forge/wp-query-starts-with\n```\n\nMake sure you have this line of code in your project:\n\n```php\n\u003c?php\n\nrequire __DIR__ . '/vendor/autoload.php';\n```\n\n## Usage\n\nWhen creating a custom query:\n\n```php\n\u003c?php\n\n$query = new WP_Query(\n\tarray(\n\t\t'post_type' =\u003e 'post',\n\t\t'starts_with' =\u003e 'Pre', // This is case-sensitive and must match the first part of the post title exactly.\n\t\t// ...\n\t)\n);\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwp-forge%2Fwp-query-starts-with","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwp-forge%2Fwp-query-starts-with","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwp-forge%2Fwp-query-starts-with/lists"}