GithubHelp home page GithubHelp logo

isabella232 / newspack-listings Goto Github PK

View Code? Open in Web Editor NEW

This project forked from automattic/newspack-listings

0.0 0.0 0.0 776 KB

License: GNU General Public License v2.0

JavaScript 47.94% PHP 47.13% SCSS 4.93%

newspack-listings's Introduction

newspack-listings

semantic-release 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.

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.

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.

newspack-listings's People

Contributors

dkoo avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.