WHMCS WP Integration

Ever wanted to integrate your WHMCS installation into your WordPress website? Thats exactly what this plugin allows.

Get WHMCS WP Integration »

or get all our 350+ premium plugins & themes »


WHMCS - WordPress Shortcodes
WHMCS - WordPress Invoices
WHMCS - WordPress Checkout
WHMCS - WordPress Knowledge base
WHMCS Integration Into WordPress


Watch video

Ever wanted to integrate your WHMCS installation in your WordPress website? We have a plugin for that!

Get this plugin installed and your integration dreams will come true. Your clients will be able to open and manage tickets from your WordPress website, make new orders, and search for domain names.

Not sure what WHMCS is?

WHMCS is an all-in-one client management, billing & support solution for online businesses. Handling everything from signup to termination, WHMCS is a powerful business automation tool that puts you firmly in control – WHMCS.com

Your whole WHMCS Portal from WordPress:

WHMCS WordPress Integration


Your support tickets direct in WordPress:

WHMCS - Support Desk Your clients can even add credit and handle all those WHMCS options.

WHMCS - Server Status

Widgets are available or you can use our handy shortcodes to get those pages where you need em most!

WHMCS Integration - Shortcodes

This works real well with our WHMCS Provision plugin,where you can also sell websites in your WordPress Multisite installation.

So not only can you service your clients from WordPress, you can sell them websites as well!

* Portal theme within WHMCS must be used.


For help with installing plugins please see our Plugin installation guide.

Please note that WHMCS Integration can be activated on a single site or on a network. There are no benefits to network activating other than the shortcodes and widgets will be available on all websites within your network.

Once installed and activated, you will see a new WHMCS Integration menu item in your admin:


Configuring the Settings

There are only a few simple settings to fully integrate your WHMCS install with your WordPress site. Let’s go over them now.

1. Enter the full URL to your WHMCS site. 2. Select the site page to use for WHMCS. 3. Enter your preferred custom slug. 4. Enter the URL to encode.

1. Enter the full URL to your WHMCS site.
2. Select the site page to use for WHMCS.
3. Enter your preferred custom slug.
4. Enter any WHMCS URL to encode for your site.

1. The Remote WHMCS Host is the full URL to your WHMCS install. For example: http://your-whmcs-install.com/

  • Important: for the Remote WHMCS host, you must end the url with slash “/”
  • Also important: all URLs entered (in the plugin settings and at your WHMCS install) must follow the SAME convention. If one is HTTP, they must all be HTTP. If one is WWW, they must all be WWW.

    Be sure all URLs follow the same convention.

    Be sure all URLs follow the same convention.

2. The Default Content Page can be any page on your site. If you don’t already have a page for this, why not create it now, then come back and select it here.

  • This page can contain any content you like, but it must have the [wcp_content] shortcode in it (see below for more on the available shortcodes).

3. You can enter your own custom Endpoint Slug to avoid possible conflicts with other content on your site. If nothing is entered here, the default slug will be: whmcsportal.

  • Note that like all WordPress slugs, it should contain only lowercase alphanumerics and the optional hyphen.

4. The WHMCS URL Encoder is not really a setting, but a helper tool to help you get specific WHMCS URLSs that you can use anywhere on your site.

  • For example, if you need to link to the shopping cart of your WHMCS install, enter http://your-whmcs-install.com/cart.php and click “Encode URL”. The tool will return the URL you can use for your site, for example: http://your-wp-site.com/whmcs/whmcsportal/cart.php/?

Note that there are no settings for the selection of a template. Regardless of the template used at your WHMCS install, the plugin will always use the Portal template for seamless integration with your active WordPress theme.

Shortcodes & Widgets

To help you get the most out of WHMCS Integration, we’ve included a number of shortcodes & widgets that you can use anywhere on your site.


  • [wcp_content] shortcode or WHMCS Content widget- Displays the primary content of a WHMCS page.


  • [wcp_welcome] or WHMCS Welcome widget – Displays the current WHMCS user, My details and WHMCS Logout link, If not logged in, it prompts for the user to login.


  • [wcp_menu] shortcode or WHMCS Menu widget – Displays the top menu from WHMCS. Note that you can style it with CSS as either a vertical or horizontal menu. In a sidebar widget, it would default to vertical. Here’s an example of the basic CSS you could use to get it to display horizontally (change .page-content to the ID or class of your main page container element):
    .page-content .whmcs_menu li {float:left;padding:3px 10px 3px 0;}


  • [wcp_quick_nav] shortcode or WHMCS Quick Navigation widget – Displays the Quick Navigation links. Note that you can style this too with CSS as either a vertical or horizontal menu. In a sidebar it would default to vertical.


  • [wcp_account] shortcode or WHMCS Account widget – Displays the current logged in WHMCS user’s account information. If no user is logged in, it will display a login form and Knowledgebase search.


  • [wcp_statistics] shortcode or WHMCS Statistics widget – Displays the current logged in WHMCS user’s product statistics. If no user is logged in, it will not be displayed.


Cookie Syncing

To enable your users to download protected files from your WHMCS Downloads or Knowledgebase sections, you will need to copy a small helper file from the plugin to the root of your WHMCS install. The file you’ll want to copy over is:

  • Note that if this file is not copied over, your users will be redirected to your WHMCS install for downloads, and will have to login there also.

WordPress and WHMCS on the Same Server

If both your WordPress and WHMCS installs are on the same server, please ensure that they do not reside in the same directory or you will have problems.

The best way to prevent issues in this case is to install WHMCS as an Addon Domain or a Subdomain on your main account.

If you are using a distinct domain name for your WHMCS install, you can add it to your main account in cPanel as an Addon Domain. Note that the Addon Domain name must already be registered with a valid registrar and DNS configured to point to your server.


Or you could include it as a Subdomain on your main account.


As always, we hope that you enjoy the WHMCS Integration plugin. If you ever hit a snag, or just need to discuss a configuration issue, please head on over to the community forums where a stellar group of support staff and members are standing by to give you a hand. :)

If you liked WHMCS WP Integration, you’ll love...

WHMCS MU Provisioning

Run your own web hosting company and want to expand your business? Automate your WordPress Multisite!

Pro Sites

Offer a service just like WordPress.com or Edublogs with paid upgrades, extra storage and more.

Domain Mapping

The ultimate Multisite domain mapping plugin – sync cookies, sell domains with eNom and integrate with Pro Sites.