Install
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/ashm-dev9/wp-projects-cpt-plugin/archive/refs/heads/main.zipNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
Integrates a Projects custom post type.
Description
Integrates a Projects custom post type.
Installation
- Upload the plugin files to the
/wp-content/plugins/projects-cptdirectory, or install the plugin through the WordPress plugins screen directly. - Activate the plugin through the 'Plugins' screen in WordPress
Usage
A. Block Theme: Create a single-projects.html template file. Use block bindings to output the post meta values:
<p></p>
B. Standard Theme: Create a single-projects.php template file. Use the get_post_meta() function to get the post meta values: <?php $project_address = get_post_meta( get_the_ID(), 'projects_address', true ); ?>
Changelog
0.1.0
- Release