1. Home
  2. AccessAlly
  3. Testing & Troubleshooting
  4. Why is my shortcode not showing up?

Why is my shortcode not showing up?

If you’ve added an AccessAlly shortcode to a page, but you’re not seeing it on the front end… this guide will help you figure out what might be going on.

This issue is most commonly seen when viewing the My Account page or the My Orders and Subscriptions page on your site.

My Account Page is Blank

The Admin User is not linked to the CRM

A blank My Account page is most commonly seen when you’re logged in as an admin on your site and you’re viewing the My Account Page.

Step 1: Check to see if your admin has a contact ID.

Click on the Edit Profile in the top right corner of your WordPress dashboard. Or go to: Users > Find your user > Click Edit.

Navigate to the AccessAlly tab under your user. Check the contact ID field.

Screenshot from AccessAlly showing the contact ID section of a user

If you do not have a Contact ID linked to your CRM you can:

Once you have your Contact ID linked to your CRM the My Account Page shortcode will appear like in the example image below.

Alternative: User Switching Plugin

Alternatively, you can use the User Switching Plugin to view an account that you know already has a contact ID.

My Orders/Subscriptions Page is Blank

A blank My Orders and Subscriptions page is usually caused by the user or admin not having placed an order or subscription on your site before.

The shortcodes are on the My Orders and Subscriptions Page, but nothing appears.

Once the user or admin has made a purchase using an AccessAlly Order Form the order or subscription will appear.

In the example image below this user has an order for a course and a subscription for an ongoing monthly membership.

Typo’s and funky formatting

Sometimes a shortcode doesn’t work for a super simple reason: typos!

It’s possible that if you entered the shortcode by hand, it got copied over improperly… this is especially true with straight brackets becoming curly brackets when referring to an ID.

For example, a post_id=”3″ might convert to a curly bracket during editing and that might break the shortcode.

The simple fix is to use the AccessAlly shortcode adder or equivalent “block” to insert the functionality.

Testing and Troubleshooting Guide

Updated on April 29, 2021

Was this article helpful?

Related Articles

NO QUESTION GOES UNANSWERED

If you have any questions, we're just an email away.

We take your success seriously, and you'll always get a speedy reply from a real person during business hours.

Opt-In-Laptop.png

AccessAlly is the #1 WordPress Course and Membership Solution for Industry Leaders

WATCH THE DEMO

You'll get follow-up emails about AccessAlly and new features. Opt out anytime. Full privacy policy here.