Skip to content

Adds special pages used to customize the single post view for Groups and Jobs.

License

Notifications You must be signed in to change notification settings

umdevelopera/um-cpt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 extension with a page builder.
  • Ability to customize the single job view of the JobBoardWP plugin with a page builder.

Installation

Note: This plugin requires the 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 [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.

How to install from ZIP archive

You can install this plugin from the ZIP file as any other plugin. Follow this instruction.

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. 1 - install plugin

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

Step 3 - Go to wp-admin > Pages. 3 - pages

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

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

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.

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.

Support

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.

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

About

Adds special pages used to customize the single post view for Groups and Jobs.

Topics

Resources

License

Stars

Watchers

Forks

Languages