https://github.com/umdevelopera/um-cpt
Adds special pages used to customize the single post view for Groups and Jobs.
https://github.com/umdevelopera/um-cpt
groups jobs ultimate-member
Last synced: 4 months ago
JSON representation
Adds special pages used to customize the single post view for Groups and Jobs.
- Host: GitHub
- URL: https://github.com/umdevelopera/um-cpt
- Owner: umdevelopera
- License: gpl-3.0
- Created: 2024-11-26T19:20:07.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-26T21:04:41.000Z (about 1 year ago)
- Last Synced: 2025-05-15T01:11:22.480Z (9 months ago)
- Topics: groups, jobs, ultimate-member
- Language: PHP
- Homepage:
- Size: 22.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Ultimate Member - Template pages for CPT
Adds special pages used to customize the single post view for Groups and Jobs.
Groups and Jobs are custom post type (CPT) with predefined content.
You can edit these views by overridden template files, see “Alternative solution for developers” below.
But this solution requires experience in WEB developing. You should be familiar with PHP to edit template files.
This plugin creates special pages that can be edited with a page builder and places predefined content (a group or a job) inside this page using a shortcode.
## Key features
- Ability to customize the single group view of the [Groups](https://ultimatemember.com/extensions/groups/) extension with a page builder.
- Ability to customize the single job view of the [JobBoardWP](https://wordpress.org/plugins/jobboardwp/) plugin with a page builder.
## Installation
__Note:__ This plugin requires the [Ultimate Member](https://wordpress.org/plugins/ultimate-member/) plugin to be installed first.
### How to install from GitHub
Open git bash, navigate to the **plugins** folder and execute this command:
`git clone --branch=main git@github.com:umdevelopera/um-cpt.git um-cpt`
Once the plugin is cloned, enter your site admin dashboard and go to _wp-admin > Plugins > Installed Plugins_. Find the **Ultimate Member - Template pages for CPT** plugin and click the **Activate** link.
### How to install from ZIP archive
You can install this plugin from the [ZIP file](https://drive.google.com/file/d/14O8yOuJcI9sAhv2sEaM1qi9PRNAFFJfK/view) as any other plugin. Follow [this instruction](https://wordpress.org/support/article/managing-plugins/#upload-via-wordpress-admin).
## How to use
### Instruction
1) Install the **Ultimate Member - Template pages for CPT** plugin.
2) Go to _wp-admin > Ultimate Member > Settings > Pages_ and create the **Single Group template** and **Single Job template** pages.
3) Go to _wp-admin > Pages_ and search for the **Single Group template** and **Single Job template** pages.
4) Edit the **Single Group template** and **Single Job template** pages with your page builder.
The **Single Group template** must contain the `[um_single_group]` shortcode.
The **Single Job template** page must contain the `[um_single_job]` shortcode.
You can add any blocks you need above and below the shortcode or wrap the shortcode into a block.
5) Test the group view and the job view
### Illustrations
Step 1 - Install the **Ultimate Member - Template pages for CPT** plugin.

Step 2 - Create the **Single Group template** and **Single Job template** pages.

Step 3 - Go to _wp-admin > Pages_.

Step 4 - Edit the **Single Group template** and **Single Job template** pages with the page builder.

Step 5 - Test the group view and the job view.

## Alternative solution for developers
The common layout of the single group view is rendered using the _single.php_ template file in the theme.
You can override and customize the _single.php_ template file in the child theme or create the _single-um_groups.php_ template file for groups.
The inner layout of the single group view is rendered using the _/wp-content/plugins/um-groups/templates/single.php_ template file.
You can override and customize this template file in the child theme - follow instructions in [this article](https://docs.ultimatemember.com/article/1516-templates-map).
The common layout of the single job view is rendered using the _single.php_ template file in the theme.
You can override and customize the _single.php_ template file in the child theme or create the _single-jb-job.php_ template file for jobs.
The inner layout of the single job view is rendered using the _/wp-content/plugins/jobboardwp/templates/single-job.php_ template file.
You can override and customize this template file in the child theme - follow instructions in [this article](https://docs.jobboardwp.com/article/1570-templates-structure).
See also information about the single post template in [Template Hierarchy](https://developer.wordpress.org/themes/basics/template-hierarchy/#single-post).
## Support
This is a free extension created for the community. The Ultimate Member team does not provide support for this extension.
Open new [issue](https://github.com/umdevelopera/um-account-tabs/issues) if you are facing a problem or have a suggestion.
### Related links
Ultimate Member home page: https://ultimatemember.com
Ultimate Member documentation: https://docs.ultimatemember.com
Ultimate Member download: https://wordpress.org/plugins/ultimate-member
---
[Free extensions for Ultimate Member](https://docs.google.com/document/d/1wp5oLOyuh5OUtI9ogcPy8NL428rZ8PVTu_0R-BuKKp8/edit?usp=sharing)