Clinical Trials Custom Post Type
Provides a Custom Post Type for Clinical Trials, to be used in the Nursing website
by hashbangcrash · github.com/hashbangcrash/clinical-trials · 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://github.com/hashbangcrash/clinical-trials/archive/refs/heads/main.zipDeclares an update source (hashbangcrash/clinical-trials-cpt), so updates arrive through the plugin's own updater.
Readme
Clinical Trials CPT
This plugin creates a custom post type for clinical trials and adds a block for displaying a listing of clinical trials on the front-end. The listing of trials can be limited to specified categories using a toggle in the block editor.
Installation
- Download the latest release from this GitHub repo, and upload the plugin through the WordPress plugins screen directly.
- Activate the plugin through the 'Plugins' screen in WordPress
- Create and assign clinical trial posts to specific categories
- Use the Clinical Trials Listing block in the block editor to display the clinical trials on the front-end
Features
- Custom post type for clinical trials
- Block for displaying clinical trial listing on the front-end
- Option to limit trial listing to specified categories in the block editor
Usage
- In the WordPress dashboard, navigate to the 'Clinical Trials' post type and add new trial posts.
- Assign the trial posts to specific categories
- In the post or page where you want to display the trial listing, add the Clinical Trials Listing block.
- Use the toggle in the block editor to specify whether to limit the listing to certain categories
- Publish or update the post or page to display the clinical trial listing on the front-end.
Contribution
This plugin is open-source and welcomes contributions from the community. If you would like to contribute, please fork the repository and submit a pull request with your changes. Support
Please file any issues in the GitHub repository.
Changelog
1.0
- Initial release
- Custom post type for clinical trials
- Block for displaying clinical trial listing on the front-end
- Option to limit trial listing to specified categories in the block editor
1.4.0
- Fix category whitelist
- Add UCF Health template page to show acf fields on
- If multisite, switch_to_blog to 1, as we only use the main site for trial info
1.4.1
- Fix multisite - only show post type on main site, but register taxonomy for subsites
Read the full README on GitHub →
Releases
| Tag | Published |
|---|---|
| 1.4.2 | Jul 29, 2025 |
| 1.4.1 | Mar 27, 2024 |
| 1.4.0 | Mar 27, 2024 |
| 1.3.0 | Apr 5, 2023 |
| 1.2.1 | Apr 3, 2023 |
| 1.2.0 | Apr 3, 2023 |
| 1.1.0 | Mar 30, 2023 |
| 1.0.3b | Feb 7, 2023 |
| 1.0.2 | Jan 26, 2023 |
These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.