WP Manifestindependent plugin directory
manifest / content / comfort-projects-cpt

Comfort Projects CPT GitLab

A WordPress Plugin to add a custom post type named Projects

★ 0stars

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 GitLab with WP-CLI:

wp plugin install https://gitlab.com/robson16/comfort-projects-cpt/-/archive/main/comfort-projects-cpt-main.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 to add a Custom Post Type named Projects

Getting started

Add this plugin on your WordPress Installation on:

\wp-content\plugins\comfort-projects-cpt

Then you will be able to use the new post type Projects after adding some of your projects, use the shortcode:

[comfort_projects]

This will display some HTML for them, you will need to provide the CSS to style the list.

There is some parameters that you can pass:

[comfort_projects number_of_items="-1"]
  • 'number_of_items' - The quantity of itens to show, pass -1 to retrieve all;
  • 'orderby' - Use for order by some attribute of the post, like: date, title...;
  • 'order' - Designates the ascending or descending order of the 'orderby' parameter. Defaults: 'ASC'.