• Was looking forward to trying this out, based on the description. Installed it, and went to add a featured image. Clicked the link in the editor – no response. Clicked the link a second time, and got the “add image” dialog, except the only tab showing was the Upload Image tab. No other tabs, and no sign of Unsplash.

    I use Newspaper 10 theme, and the classic editor. Perhaps it doesn’t work with the classic editor.

    I have deactivated it for now, and may try more troubleshooting (deactivating other plugins) to see if I can get it to work. So, three stars for now.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Jeff Paul

    (@jeffpaulkinsta)

    If you are running PHP OPCache, you will need to enable ‘save_comments’ in the php.ini configuration file and then restart PHP.

    To do this, have your host set opcache.save_comments = 1

    • This reply was modified 4 years, 4 months ago by Jeff Paul.
    Elisabeth

    (@structuresolutions)

    I think it works by giving you a special image block, in addition to the standard Gutenberg image block, which connects through to the Unsplash library. If you have the Classic Editor plugin installed you’re basically blocking WordPress from giving you _any_ of the Gutenberg blocks, including this extra one. I don’t see how it can work unless you deactivate that plugin…

    • This reply was modified 4 years, 4 months ago by Elisabeth.
    Thread Starter BruceInLouisville

    (@bruceinlouisville)

    Good suggestion on the use of a block. So, more experimentation.

    Plugin on, classic editor:

    • Works in the “add media” dialog. Adds a third tab labeled “Unsplash,” from which you can search.
    • Bumps the Stencil tab out, though. (Takes its place.)
    • Still presents only itself in the “Set featured image” dialog (blocks Upload, Media Library, and Stencil).

    Plugin on, Gutenberg editor:

    • Provides a new Unsplash block, which then gives the search dialog. Works well for that.
    • Exhibits the same behavior in the “Set featured image” dialog, presenting only itself.

    If it played nicely with the Stencil tab and the Set Featured Image dialog, I would leave it turned on. As it is, though, I can just go to the Unsplash site, for as little as I use images from there.

    A bug fix for this in works for version 1.0.1. Once this is release, can you update and test again?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Didn’t work for me’ is closed to new replies.