{"id":16646921,"url":"https://github.com/stevegrunwell/advanced-post-excerpt","last_synced_at":"2025-07-29T21:46:02.105Z","repository":{"id":48309290,"uuid":"52238650","full_name":"stevegrunwell/advanced-post-excerpt","owner":"stevegrunwell","description":"Replace the default Post Excerpt meta box with a superior editing experience.","archived":false,"fork":false,"pushed_at":"2023-12-18T23:09:44.000Z","size":166,"stargazers_count":17,"open_issues_count":9,"forks_count":3,"subscribers_count":6,"default_branch":"develop","last_synced_at":"2025-03-18T02:51:35.646Z","etag":null,"topics":["post-excerpt","tinymce","wordpress","wordpress-plugin"],"latest_commit_sha":null,"homepage":"https://wordpress.org/plugins/advanced-post-excerpt/","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/stevegrunwell.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","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":"2016-02-22T01:36:13.000Z","updated_at":"2024-07-02T11:43:49.000Z","dependencies_parsed_at":"2024-10-28T11:26:18.200Z","dependency_job_id":"d7d72049-e670-44f8-bfef-03b62be5cfbf","html_url":"https://github.com/stevegrunwell/advanced-post-excerpt","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stevegrunwell%2Fadvanced-post-excerpt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stevegrunwell%2Fadvanced-post-excerpt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stevegrunwell%2Fadvanced-post-excerpt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stevegrunwell%2Fadvanced-post-excerpt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stevegrunwell","download_url":"https://codeload.github.com/stevegrunwell/advanced-post-excerpt/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244829402,"owners_count":20517300,"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":["post-excerpt","tinymce","wordpress","wordpress-plugin"],"created_at":"2024-10-12T08:43:26.780Z","updated_at":"2025-03-21T16:30:54.050Z","avatar_url":"https://github.com/stevegrunwell.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Advanced Post Excerpt\n\n[![Build Status](https://travis-ci.com/stevegrunwell/advanced-post-excerpt.svg?branch=develop)](https://travis-ci.com/stevegrunwell/advanced-post-excerpt)\n[![Coverage Status](https://coveralls.io/repos/github/stevegrunwell/advanced-post-excerpt/badge.svg?branch=develop)](https://coveralls.io/github/stevegrunwell/advanced-post-excerpt)\n\n[WordPress post excerpts](https://codex.wordpress.org/Excerpt) can be a great way to hand-craft the summary of your content. Unfortunately, writing post excerpts isn't as nice of an experience as what you find elsewhere in WordPress. Want to include links in your excerpts, or bold some text? Hopefully you know some HTML!\n\nAdvanced Post Excerpts is designed to change that, by giving your editors an easy, intuitive interface for writing great post excerpts.\n\n![A much better editing experience for post excerpts](plugin-repo-assets/screenshot-1.png)\n\n\n## Configuration\n\nAdvanced Post Excerpt is designed to work out of the box, but is easily customized via [the WordPress Plugin API](https://codex.wordpress.org/Plugin_API):\n\n### Filter: ape_editor_settings\n\nFilter the settings passed to wp_editor() for the post excerpt.\n\nFor a full list of options, see [`wp_editor()`](https://codex.wordpress.org/Function_Reference/wp_editor).\n\n\u003cdl\u003e\n\t\u003cdt\u003e(array) \u003ccode\u003e$settings\u003c/code\u003e\u003c/dt\u003e\n\t\u003cdd\u003eSettings for wp_editor().\u003c/dd\u003e\n\u003c/dl\u003e\n\n#### Example\n\nIf you'd like to disable the \"Visual\" and \"Text\" tabs, you can do so by setting the `quicktags` option:\n\n```php\n/**\n * Remove Quicktags from Advanced Post Excerpt.\n *\n * @param array $settings Settings for wp_editor().\n * @return array The filtered $settings array.\n */\nfunction mytheme_disable_quicktags_on_excerpt( $settings ) {\n\t$settings['quicktags'] = false;\n\n\treturn $settings;\n}\nadd_filter( 'ape_editor_settings', 'mytheme_disable_quicktags_on_excerpt' );\n```\n\n### Filter: ape_post_types\n\nControl the post types that should get the Advanced Post Excerpt meta box.\n\n\u003cdl\u003e\n\t\u003cdt\u003e(array) \u003ccode\u003e$post_types\u003c/code\u003e\u003c/dt\u003e\n\t\u003cdd\u003ePost types affected by Advanced Post Excerpt.\u003c/dd\u003e\n\u003c/dl\u003e\n\n#### Example\n\nIf you'd only want the native \"post\" post type to use Advanced Post Excerpt, you could add the following to your theme's functions.php file:\n\n```php\n/**\n * Restrict Advanced Post Excerpt to the \"post\" post type.\n *\n * @param array $post_types Post types affected by Advanced Post Excerpt.\n * @return array A restricted version of $post_types containing only \"post\".\n */\nfunction mytheme_restrict_ape_post_types( $post_types ) {\n\treturn array( 'post' );\n}\nadd_filter( 'ape_post_types', 'mytheme_restrict_ape_post_types' );\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstevegrunwell%2Fadvanced-post-excerpt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstevegrunwell%2Fadvanced-post-excerpt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstevegrunwell%2Fadvanced-post-excerpt/lists"}