[wpjb_candidate_membership]

Shortcode [wpjb_candidate_membership] displays a page with all active memberships. Memberships are always ordered by price.

This shortcode is available since WPJobBoard 5.3.0.

 

Candidates membership pricing table.

Available parameters:

  • featured
    Allowed values: integer – ID of membership.
    Featured membership has an additional class that allows distinguishing your best/most popular offer.
  • pricings
    Allowed values: list of integers separated by a comma – IDs of memberships.
    Listed pricing overrides default list of memberships and displays only memberships listed in this param.

Usage examples:

Displays default list of memberships:

[wpjb_membership_pricing]

Displays only memberships with id 4 and 8.

[wpjb_membership_pricing pricings="4,8"]

Displays list of all memberships and make the membership with id = 5 featured

[wpjb_membership_pricing featured="5"]

CSS Customization

Adding red background color and changing the border to dark gray for all memberships:

div.wpjb-single-membership {
    background-color: #d00;
    border: 1px solid #444;
}

Changing background color for header to pink

div.wpjb-single-membership h2 {
    background-color: #f0f;
}

Adding border to price

div.wpjb-single-membership div.wpjb-membership-price {
    border: 1px solid #000;
}

Changing header color for featured membership

div.wpjb-single-membership.wpjb-single-membership-featured h2 {
    background-color: #ac0;
}

Additional Informations

Settings membership as featured from membership configuration

You can set featured membership while editing the membership from wp-admin / Pricing / Candidate Membership panel.

In edition form, you should be able to see field “featured”.

Shortcode basic configuration

If you have any troubles with your shortcode please be sure, that you set the correct path to page with this shortcode in WPJobBoard configuration (wp-admin / Settings (WPJB) / Configuration / Default Pages & URLs)

In section “Shortcode Pages” you should be able to see a row with [wpjb_candidate_membership] as a label. Set correct page in this row using the drop-down field.

Leave a Reply

Your email address will not be published.