Title: Bestseller Lists from the New York Times
Author: jakeparis
Published: <strong>01 ougùstùs, 2018</strong>
Last modified: 25 May, 2026

---

Search plugins

![](https://s.w.org/plugins/geopattern-icon/bestseller-lists-from-new-york-times.
svg)

# Bestseller Lists from the New York Times

 By [jakeparis](https://profiles.wordpress.org/jakeparis/)

[Download](https://downloads.wordpress.org/plugin/bestseller-lists-from-new-york-times.2.7.2.zip)

 * [Details](https://pap-cw.wordpress.org/plugins/bestseller-lists-from-new-york-times/#description)
 * [Reviews](https://pap-cw.wordpress.org/plugins/bestseller-lists-from-new-york-times/#reviews)
 *  [Installation](https://pap-cw.wordpress.org/plugins/bestseller-lists-from-new-york-times/#installation)
 * [Development](https://pap-cw.wordpress.org/plugins/bestseller-lists-from-new-york-times/#developers)

 [Support](https://wordpress.org/support/plugin/bestseller-lists-from-new-york-times/)

## Description

Use this plugin to display all the bestseller lists from New York Times on your 
own site. Optionally include links from your own local library catalog for each 
book.

The plugin uses an easy-to-use user-interface which updates quickly and “in-place”
when changing lists without reloading the rest of the page.

### Use

Use the _Bestseller Lists from NYT_ block. You can optionally specify which list
is initially displayed.

There’s also a shortcode available to embed the list viewer: `[nyt-bestseller-listings]`.
You can optionally specify which list is initially displayed by using the `initial-
list` attribute with the list slug as the attribute value. Get the list slug by 
first placing the shortcode in your page, then visiting the page and changing lists.
The page url will change as the list changes, and the list slug can be seen by looking
for **nyt-list=SLUG-HERE** in your browser’s url bar. So for example, to place the
lists on a page and set the initial list to be children’s picture books, you would
use: `[nyt-bestseller-listings initial-list="picture-books"]`

To hide the images, add the following bit of css to your theme stylesheet or to 
the _Additional CSS_ section in the Customizer: `.nyt-bestseller-listings-img { 
display: none; }`.

## Screenshots

[⌊The quick-switcher and the top of the list in TwentySeventeen theme.⌉⌊The quick-
switcher and the top of the list in TwentySeventeen theme.⌉[

The quick-switcher and the top of the list in TwentySeventeen theme.

## Blocks

This plugin provides 1 block.

 *   Bestseller Lists from NYT Show a widget to display all the bestseller lists
   from the New York Times

## Installation

 1. Upload this directory to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Configure the plugin by looking under Settings > NYT Bestseller Lists. You’ll need
    to get an free API key from the NY Times, which you can do here: https://developer.
    nytimes.com/signup.
 4. Embed the shortcode in your page.

## FAQ

### How do I change which list shows up first?

You can set it on a per-instance level, by choosing the list in the block, or using
the correct shortcode attribute. See the _Use_ section.

### The initial list displaying is not the one I’m choosing

This can happen when old settings are “stuck”. Visit the settings page (_Admin_ 
> _Settings_ > _NYT Bestseller Lists_) and just click Save. That should clear out
any old settings.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“Bestseller Lists from the New York Times” is open source software. The following
people have contributed to this plugin.

Contributors

 *   [ jakeparis ](https://profiles.wordpress.org/jakeparis/)

[Translate “Bestseller Lists from the New York Times” into your language.](https://translate.wordpress.org/projects/wp-plugins/bestseller-lists-from-new-york-times)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/bestseller-lists-from-new-york-times/),
check out the [SVN repository](https://plugins.svn.wordpress.org/bestseller-lists-from-new-york-times/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/bestseller-lists-from-new-york-times/)
by [RSS](https://plugins.trac.wordpress.org/log/bestseller-lists-from-new-york-times/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 2.7.2

 * Fixed shortcode not changing lists when selecting new one from dropdown list.

#### 2.7.1

 * Fixed bug where list doesn’t change when selecting new one from dropdown list.

= 2.7.0=

 * Tested up to WordPress 7.0

#### 2.6.0

 * Fixed bug where lists didn’t show in the editor block.
 * Bump version compatibility to WordPress 6.9
 * Improve and simplify block architecture

#### 2.5.0

 * Update api calls to match changes in the New York Times API.
 * Bump version compatibility to 6.8.1

#### 2.4.2

 * Fixed bug in shortcode causing dropdown lists to display as a big text blob.
 * Bumped version tested-up-to to 6.7.2

#### 2.4.1

Tested with WordPress 6.7.2

#### 2.4.0

Tested with WordPress 6.5.2. Works great! 🙂

#### 2.3.1

Verion bump.

#### 2.3.0

Reorganization of plugin; housekeeping.

#### 2.2.0

Tested with WordPress 6.3 and updated the readme a bit.

#### 2.1.0

 * Removed “default list” php setting. Now just set the default list in the block.
 * Tested with WordPress 6.1

#### 2.0.2

Updated “tested up to” value

#### 2.0.1

 * Fixed bug where no images show on lists beyond the initially loaded one.

#### 2.0.0

 * Added “hide images” setting to Lists block.
 * Cleaned up the Lists block.
 * Improved output using a css-grid layout
 * Internal facing code cleanups
 * Fixed config options names in DB.
 * Updated tested-to version number to 5.9.2

#### 1.2.6

Fix a bad update.

#### 1.2.4

Tested against WordPress 5.8 – works!

#### 1.2.3

Tested against WordPress 5.5

#### 1.2.2

Added backwards compatibility for pre WordPress 5.0

#### 1.2.0

Added a “block” for the new WordPress 5.0 editor. The shortcode is left for backwards-
compatibility.

#### 1.0.1

File cleanups.

#### 1.0.0

Initial release. Includes basic listings shortcode with ability control initial 
list.

## Meta

 *  Version **2.7.2**
 *  Last updated **5 months ago**
 *  Active installations **10+**
 *  WordPress version ** 5.4 or higher **
 *  Tested up to **7.0.0**
 *  PHP version ** 7.4 or higher **
 *  Language
 * [English (US)](https://wordpress.org/plugins/bestseller-lists-from-new-york-times/)
 * Tags
 * [bestsellers](https://pap-cw.wordpress.org/plugins/tags/bestsellers/)[books](https://pap-cw.wordpress.org/plugins/tags/books/)
   [libraries](https://pap-cw.wordpress.org/plugins/tags/libraries/)[library](https://pap-cw.wordpress.org/plugins/tags/library/)
   [reading lists](https://pap-cw.wordpress.org/plugins/tags/reading-lists/)
 *  [Advanced View](https://pap-cw.wordpress.org/plugins/bestseller-lists-from-new-york-times/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/bestseller-lists-from-new-york-times/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/bestseller-lists-from-new-york-times/reviews/)

## Contributors

 *   [ jakeparis ](https://profiles.wordpress.org/jakeparis/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/bestseller-lists-from-new-york-times/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://jakeparis.com/)