-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #20 from Automattic/master
Release Dec 16
- Loading branch information
Showing
3 changed files
with
610 additions
and
74 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,27 @@ | ||
# newspack-listings | ||
|
||
A new thing. | ||
[](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://newspack.pub/support/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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.