WP Manifestindependent plugin directory
manifest / developer / posts-by-slug

Posts by Slug

A WordPress plugin that retrieves post data by slug.

★ 1stars

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/renstanforth/posts-by-slug/archive/refs/heads/master.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

A WordPress plugin that retrieves post data by slug.

Endpoint

<url>/wp-json/wp/v1/posts/slug-name

Note that we used v1 because this is a custom rest API from the plugin.