[wpjb_membership_pricing]

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

Membership purchase page.

Membership purchase page.

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 list of memberships limited to memberships with ID 4 and 8

[wpjb_membership_pricing pricings="4,8"]

Displays list of memberships with featured membership with ID 5

[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 in membership edition form:

wp-admin / Pricing / Employer Membership

In edition form, you should be able to see new 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_membership_pricing] as a label. Set correct page in this row using the drop-down field.

  1. Is there a short code to display all pricing for single job posts?

    • Greg
      Reply

      Currently i am afraid we do not have a shortcode that will do this.

Leave a Reply

Your email address will not be published.