1815 - WordPress Last Viewed
Show last viewed WordPress posts
by 1815 · github.com/achttienvijftien/wp-last-viewed · website
★ 2stars
8forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/achttienvijftien/wp-last-viewed/archive/refs/heads/main.zipFrom the readme
WordPress Last Viewed
Show last viewed WordPress posts.
Prerequisites
- Docker
- nvm
- yarn
- Composer
Set-up
- Run nvm use
- Run yarn dev
To-do
- [ ] Add client-sided tracking so this plugin may also work with proxy caching + add setting in admin to choose between serverside and clientside;
- [ ] Add option to choose which (custom) post types should be tracked + provide tracking for selected post types;
- [ ] Make a Gutenberg block which shows an overview of "last viewed" (see View class);
- [ ] Add a setting to shortcode & Gutenberg block (if possible) to set the amount of posts shown + implement in View class.
Development guidelines
Please note the following:
- Use WordPress Coding Standards;
- We're doing Trunk Based Development (main being trunk) with short lived feature branches;
- Commit messages should follow (conventional commits)[https://www.conventionalcommits.org/en/v1.0.0/];
- Keep a changelog;
- Tests should be written preferably.