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.
- Ability to customize the single group view of the Groups extension with a page builder.
- Ability to customize the single job view of the JobBoardWP plugin with a page builder.
Note: This plugin requires the Ultimate Member plugin to be installed first.
Open git bash, navigate to the plugins folder and execute this command:
git clone --branch=main [email protected]: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.
You can install this plugin from the ZIP file as any other plugin. Follow this instruction.
- Install the Ultimate Member - Template pages for CPT plugin.
- Go to wp-admin > Ultimate Member > Settings > Pages and create the Single Group template and Single Job template pages.
- Go to wp-admin > Pages and search for the Single Group template and Single Job template pages.
- 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. - Test the group view and the job view
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.
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.
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.
See also information about the single post template in Template Hierarchy.
This is a free extension created for the community. The Ultimate Member team does not provide support for this extension. Open new issue if you are facing a problem or have a suggestion.
Ultimate Member home page: https://ultimatemember.com
Ultimate Member documentation: https://docs.ultimatemember.com
Ultimate Member download: https://wordpress.org/plugins/ultimate-member