1. Home
  2. Docs
  3. Extensions
  4. Pricing Plans
  5. Using/Displaying Plans

Using/Displaying Plans

You can display a single plan or multiple plans anywhere using the following shortcodes.

  1. Displaying a single plan: Use the shortcode [directorist_pricing_plans id=123] on any page or post to display a single pricing plan. Replace the value of the id with a plan id you would like to display. You can find this shortcode with the proper plan id on the bottom of the plan edit page. See the example image below.
  2. Displaying all plans: Use the shortcode [directorist_pricing_plans] on any page/post to display all the plans.
Example shortcode to display a plan

Example shortcode to display a plan

Once you have added your plans, visit the page where you added the [directorist_pricing_plans] shortcode. We also assigned this page in the directorist settings in the configuring checkout pages section previously. Directorist will use this page automatically to show all pricing plans when needed. For example, before submitting a listing, the following page will be displayed to a user to choose a plan to submit a listing. During the submission of a listing, a user will be charged for the plan he/she selects. This is how easily directorist pricing plans work.

Directorist pricing plans - front-end

Directorist pricing plans – front-end