Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Automattic/newspack-listings
Reusable lists using the block editor.
https://github.com/Automattic/newspack-listings
Last synced: 4 months ago
JSON representation
Reusable lists using the block editor.
- Host: GitHub
- URL: https://github.com/Automattic/newspack-listings
- Owner: Automattic
- License: gpl-2.0
- Created: 2020-09-11T22:16:13.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-04-08T17:40:28.000Z (11 months ago)
- Last Synced: 2024-04-08T23:42:48.557Z (11 months ago)
- Language: PHP
- Homepage:
- Size: 8.03 MB
- Stars: 19
- Watchers: 8
- Forks: 5
- Open Issues: 29
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# newspack-listings
[](https://github.com/semantic-release/semantic-release) [](https://circleci.com/gh/Automattic/newspack-listings)
Create reusable content as listings and add them to lists wherever core blocks can be used. Create static, curated lists or dynamic, auto-updating lists with optional "load more" functionality. Edit display options to control how the list looks and behaves for readers. Compatible with [AMP](https://amp.dev/).
## Usage
1. Activate this plugin.
2. In the WP admin dashboard, look for Listings.
3. Create and publish listings of any type. Listings can contain any core blocks as content.
4. Optionally tag or categorize your listings to keep them organized, even across different listing types.
5. Once at least one listing is published, add a Curated List block to any post or page.
6. Choose Specific Listings mode to create a static list, or Query mode to create a dynamic list which will automatically update itself when new listings matching the query options are published.
7. Edit list options to control the list's display and behavior.For more detailed instructions, refer to the [public documentation for Newspack Listings](https://help.newspack.com/engagement/listings/).
## Development
Run `composer update && npm install`.
Run `npm run build`.
Each listing type is a separate custom post type. Configuration is in `includes/newspack-listings-core.php`.
Metadata for listing CPTs is synced from certain blocks in the post content. See configuration in `includes/newspack-listings-core.php` for details.