Post Title List Block GitLab
WordPress Block that displays recently published posts' title in a list.
by Will Skora and the CPL Team · gitlab.com/cpl/post-title-list-block · website
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://gitlab.com/cpl/post-title-list-block/-/archive/main/post-title-list-block-main.zipDeclares an update source (https://gitlab.com/cpl/post-title-list-block/), so updates arrive through the plugin's own updater.
Readme
=== Post Title List Block === Contributors: Will Skora & the CPL Team Tags: block Tested up to: 6.1 Stable tag: 0.1.2 License: GPL-2.0-or-later License URI: https://www.gnu.org/licenses/gpl-2.0.html
Block that displays recently published posts' titles within an unordered list element (ul).
You can control the number of posts and the post type to load. Posts are always published in order of recently published.
Source code available at https://gitlab.com/cpl/post-title-list-block
== Description ==
Created using WordPress' create-block; credit to OsomPress for techniques how to subscribe and load posts in the sidepanel.
== Notes ==
You may need to click the block settings sidepanel and wait a second for the post types panel to appear.
== Installation ==
- Download the plugin as a zip file
- Activate the plugin through the 'Plugins' screen in WordPress
== Development/Customization ==
If you wish to heavily customize the block for your own use (e.g. restrict the available post types to select); you will need to complete the following (not very thorough)
- clone repository
- inside post-title-list-block directory, run
npm install - run
npm startwithin that directory; - make your code changes
- ; run
npm run build; additional build commands at the create-block site.
== Screenshots ==
- This screen shot description corresponds to screenshot-1.(png|jpg|jpeg|gif). Note that the screenshot is taken from
the /assets directory or the directory that contains the stable readme.txt (tags or trunk). Screenshots in the /assets
directory take precedence. For example,
/assets/screenshot-1.pngwould win over/tags/4.3/screenshot-1.png(or jpg, jpeg, gif).
== Changelog ==
= 0.1.2 =
- added UPDATE URI header
= 0.1.1 =
- First public Release
== Arbitrary section ==
You may provide arbitrary sections, in the same format as the ones above. This may be of use for extremely complicated plugins where more information needs to be conveyed that doesn't fit into the categories of "description" or "installation." Arbitrary sections will be shown below the built-in sections outlined above.