This site is at or above the limit of 8 custom shortcodes. You must remove or repurpose shortcodes before adding new ones.

Shortcodes
Total Shortcodes: 33
Filter By:
all
global
custom

All sites using React for the application and the Global Parent Theme (Composer) in wordpress, should have access to all shortcodes marked Global. If you do not have access or a shortcode here is not working, please contact your product developer.

Accordion

Component Library Demo
0 Pages
Attributes:
  • title
Global Shortcode:
Portal:
[accordion title="My Title"]Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.[/accordion]
My Title
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
Pages Report

    Accordion Links

    0 Pages
    Attributes:
    • type
    • title
    Global Shortcode:
    Portal:
    Notes:
    Accordion Links accepts 2 different "types" (insurance & addiction). Each type has a hardcoded list of links, these are not editable.
    [accordion-links type="addiction"][accordion-links type="insurance"]
    A-H
    I-N
    O-Z
    A-H
    I-N
    O-Z
    Pages Report

      Addiction Cost Calculator

      0 Pages
      Attributes:
      • title
      • width
      Global Shortcode:
      Portal:
      Notes:
      A screenshot of the calculator is shown here for demo puposes. The actual shortcode will render an iframe with the calculator.
      [addiction-cost-calculator title="Custom Title"]
      american addiction centers photo
      Pages Report

        Aktify Form

        Component Library Demo
        0 Pages
        Global Shortcode:
        Portal:
        Notes:
        The [aktify-form] shortcode itself does not come with any styling or content, it is just a portal. The styles and content surrounding the form can vary from site to site. You can view the out of the box form here in the component library.
        [aktify-form]
        Prefer texting to talking on the phone? We’ve got you covered 24/7.
        Instead, sign up for text support to receive:
        • Resources about addiction and recovery
        • Information about our treatment process
        American Addiction Centers logo
        We are here 24/7 for any questions you may have.
        *All fields required
        *
        John
        *
        Smith
        *
        (555) 555-5555
        By submitting this form you agree to terms of use and privacy policy of the website. Message and data rates may apply. You may receive reoccurring messages. Text STOP to cancel.
        Disclaimer
        HIPAA badge
        Pages Report
          Attributes:
          • text
          • icon
          • url
          • outline
          Global Shortcode:
          Portal:
          [button url="/treatment-centers" text="View Our Treatment Centers"]
          [button url="/treatment-centers" text="View Our Treatment Centers" outline="true"]
          Pages Report

            Button Color

            0 Pages
            Attributes:
            • link
            • width
            • title
            • target
            • color
            Global Shortcode:
            Portal:
            [button-color color="blue" link="/" title="My Link Title" target="_blank" width="auto"]Blue Button[/button-color][button-color color="dark-blue" link="/" title="My Link Title" target="_blank" width="auto"]Dark Blue Button[/button-color][button-color color="orange" link="/" title="My Link Title" target="_blank" width="auto"]Orange Button[/button-color]
            Pages Report

              CTA

              0 Pages
              Attributes:
              • button
              • link
              • position
              Global Shortcode:
              Portal:
              [cta button="Does Your Insurance Cover Treatment?" link="/insurance-coverage"]Blue Cross is in network with American Addiction Centers[/cta]

              Blue Cross is in network with American Addiction Centers

              Pages Report
                Attributes:
                • title
                • content
                • position - left, right (defaults to full-width)
                • type - complex (defaults to simple callout)
                • image - image url
                • alt - image alt text
                • button - button text
                • href - button link
                Global Shortcode:
                Portal:
                Notes:
                The callout shortcode has different layouts depending on the "type" attribute.
                [callout title="My Callout Title" buttonText="Click Here" href="/treatment-centers" altText="Treatment Centers"]Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.[/callout]
                My Callout Title
                Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
                Click Here
                [callout type="complex" title="My Callout Title" buttonText="Click Here" href="/treatment-centers" altText="Treatment Centers"]Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.[/callout]
                My Callout Title
                Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
                Click Here
                Pages Report

                  Callout Borders

                  0 Pages
                  Attributes:
                  • position
                  • borders
                  Global Shortcode:
                  Portal:
                  [callout-borders]Here is a callout with borders[/callout-borders][callout-borders borders="sides"]Here is a callout with borders on the sides.[/callout-borders][callout-borders borders="top-bottom"]Here is a callout with borders on top and bottom.[/callout-borders]

                  Here is a callout with borders

                  Here is a callout with borders on the sides.

                  Here is a callout with borders on top and bottom.

                  Pages Report

                    Columns

                    0 Pages
                    Attributes:
                    • count
                    Global Shortcode:
                    Portal:
                    Notes:
                    Column will automatically wrap the content to fit within the number of columns provided in the "count" value. This shortcode is mostly meant for bodies of text. For a more control over columns, see the grid shortcode.
                    [columns count="2"]Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.[/columns]

                    Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Lorem ipsum dolor sit amet, consectetur adipiscing

                    Pages Report

                      Content Overview

                      0 Pages
                      Global Shortcode:
                      Portal:
                      [content-overview]Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.[/content-overview]
                      Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
                      Pages Report

                        Drawer

                        0 Pages
                        Attributes:
                        • title
                        Global Shortcode:
                        Portal:
                        Notes:
                        This shortcode will render as an accordion on desktop and as a drawer on mobile.
                        1. Always include a “title” attribute on the opening tag.
                        2. Always include a closing tag at the end of the drawer content.
                        ❗️ Does not support nested shortcodes ❗️ this should only be used to include content/images/videos and other basic html content.
                        Why nested portals don’t work in drawer shortcode: since drawer shortcode accepts children, meaning you can wrap other content within it, that inner content gets parsed down into one long string that gets passed along to the react side. Adding another shortcode that is a portal within that string causes a break in the string and then the content will not render as expected.
                        [drawer title="My Custom Title"]Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.[/drawer]
                        My Custom Title
                        Pages Report

                          Drug of Choice

                          0 Pages
                          Attributes:
                          • pretext
                          • posttext
                          Global Shortcode:
                          Portal:
                          Notes:
                          This shortcode does not render anything on AAC.
                          [drug-of-choice]
                          Pages Report

                            Expandable Callout

                            Component Library Demo
                            0 Pages
                            Attributes:
                            • lines - truncates text at a specific number of lines, defaults to "4"
                            • position - right, left (defaults to full-width)
                            Global Shortcode:
                            Portal:
                            [expandable-callout]This is an example of body content that might occur within the Expandable Callout, which is meant to hold text-only based content. The number of lines to show is 4 by default. The position can be set to 'left' or 'right', and it'll be set to the full-width by default. The allowed text style variance consists of bold, italic, and text links, as well as ordered and unordered lists. This callout should not carry large amounts of information and should not use images.[/expandable-callout]

                            This is an example of body content that might occur within the Expandable Callout, which is meant to hold text-only based content. The number of lines to show is 4 by default. The position can be set to 'left' or 'right', and it'll be set to the full-width by default. The allowed text style variance consists of bold, italic, and text links, as well as ordered and unordered lists. This callout should not carry large amounts of information and should not use images.

                            Read More
                            [expandable-callout position="left" lines="2"]This is an example of body content that might occur within the Expandable Callout, which is meant to hold text-only based content. This example has the position "left" and lines set to "2".[/expandable-callout]

                            This is an example of body content that might occur within the Expandable Callout, which is meant to hold text-only based content. This example has the position "left" and lines set to "2".

                            Read More
                            Pages Report
                              Global Shortcode:
                              Portal:
                              Notes:
                              FAQs shortcode doesn't accept any props. The value for the questions and answers are entered on the wordpress page in the acf fields.
                              [faqs]
                              Frequently Asked Questions
                              Question 1
                              Answer 1
                              Question 2
                              Answer 2
                              Question 3
                              Answer 3
                              Pages Report

                                Financing Inquiry Form

                                Component Library Demo
                                0 Pages
                                Global Shortcode:
                                Portal:
                                [financing-inquiry-form]
                                Do you have insurance?
                                Pages Report

                                  Gallery

                                  0 Pages
                                  Attributes:
                                  • columns
                                  • images
                                  Global Shortcode:
                                  Portal:
                                  Notes:
                                  This shortcode does not currently render anything on AAC other than a portal div. Once the gallery component is added to the component library, it will be added.
                                  Other sites may have a custom working portal being injected to the portal div.
                                  [gallery]
                                  Pages Report

                                    Grid & Grid Section

                                    0 Pages
                                    Global Shortcode:
                                    Portal:
                                    Notes:
                                    These two shortcodes to be used hand in hand to create a flex-box layout. [grid] acts as the parent div element and the inner [grid-section] parts are used to create columns. Any content can be put into [grid-section], but it's important to use these shortcodes properly and check your work when finished.
                                    [grid][grid-section]Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.[/grid-section][grid-section]Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.[/grid-section][grid-section]Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.[/grid-section][/grid]
                                    Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
                                    Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
                                    Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
                                    Pages Report

                                      Line Break

                                      0 Pages
                                      Global Shortcode:
                                      Portal:
                                      Notes:
                                      This shortcode simply creates an html line break: <br/>
                                      I want to create a line break in my text right here - [br] and then continue my sentence on the next line.
                                      I want to create a line break in my text right here -
                                      and then continue my sentence on the next line.
                                      Pages Report

                                        Link Bank

                                        Component Library Demo
                                        0 Pages
                                        Attributes:
                                        • title
                                        • position
                                        Global Shortcode:
                                        Portal:
                                        [link-bank title="Example title"] <ul> <li> <a href="/">Some link 1</a> </li> <li> <a href="/">Some link 2</a> </li> <li> <a href="/">Some link 3</a> </li> <li> <a href="/">Some link 4</a> </li> </ul> [/link-bank]
                                        Pages Report

                                          Max Width

                                          0 Pages
                                          Attributes:
                                          • max
                                          Global Shortcode:
                                          Portal:
                                          Notes:
                                          No example avaiable for this shortcode. It should be used on the full-width page template to contain content that you want to remain within a certain max width and centered on the page. The default is 900px.
                                          [max-width]Put content you want to remain within 900px in here.[/max-width]
                                          Pages Report

                                            Media

                                            0 Pages
                                            Attributes:
                                            • image
                                            • alt
                                            Global Shortcode:
                                            Portal:
                                            Notes:
                                            This shortcodes adds an image wrapped in a <figure> html tag. It also allows you to add a caption to the image.
                                            [media image="https://stagingadmin.americanaddictioncenters.org/wp-content/uploads/2021/08/shutterstock_1075845719.jpg" alt="my test alt text"]My test fig caption.[/media]
                                            my test alt text
                                            My test fig caption.
                                            Pages Report

                                              Phone

                                              0 Pages
                                              Global Shortcode:
                                              Portal:
                                              Notes:
                                              The shortcode by it's self will render the full sentence seen in the example. You can elements in the shortcode to make a clickable link.
                                              [phone]
                                              or get a text for information on various treatment options.
                                              [phone]Call Us Today![/phone]
                                              Pages Report
                                                Attributes:
                                                • position
                                                • source
                                                Global Shortcode:
                                                Portal:
                                                [quote source="Author Name"]Here is an example of a quote.[/quote]
                                                Here is an example of a quote.
                                                - Author Name
                                                Pages Report

                                                  Schedule Call

                                                  0 Pages
                                                  Global Shortcode:
                                                  Portal:
                                                  [schedule-call]
                                                  Questions about treatment? We'll call you.
                                                  What's the best number to reach you?
                                                  *
                                                  When should we call you? *
                                                  Now
                                                  Later...
                                                  Call Scheduled!
                                                  An American Addiction Centers admissions navigator will be calling you momentarily.
                                                  Call me on:
                                                  at:
                                                  Call Scheduled!
                                                  An American Addiction Centers admissions navigator will be calling you on:
                                                  Disclaimer
                                                  Pages Report

                                                    Segment CTA

                                                    0 Pages
                                                    Attributes:
                                                    • type
                                                    Global Shortcode:
                                                    Portal:
                                                    Notes:
                                                    Segment CTAs are defined in the wordpress App Settings and will vary depending on segment. On the individual page level you can override the default settings. A screenshot is used for example purposes on this page.
                                                    [segment-cta type="phone"][segment-cta type="insurance"][segment-cta type="value-prop"]
                                                    american addiction centers photo
                                                    Pages Report

                                                      Self Assessment

                                                      Component Library Demo
                                                      0 Pages
                                                      Attributes:
                                                      • substance
                                                      Global Shortcode:
                                                      Portal:
                                                      [self-assessment]
                                                      Self-Assessment: Am I Addicted?
                                                      Are you worried about yourself or a loved one?
                                                      Disclaimer: Only a medical or clinical professional may diagnose a substance use disorder. This assessment may serve as an indicator of a potential addiction but should not replace a diagnosis from a professional treatment provider.
                                                      [self-assessment substance="cocaine"]
                                                      Self-Assessment: Am I Addicted?
                                                      Are you worried about yourself or a loved one?
                                                      Disclaimer: Only a medical or clinical professional may diagnose a substance use disorder. This assessment may serve as an indicator of a potential addiction but should not replace a diagnosis from a professional treatment provider.
                                                      Pages Report
                                                        Global Shortcode:
                                                        Portal:
                                                        Notes:
                                                        Sources is very similar to the Accordion component, but will have additional styling for list elements. In order to use it properly, you will still need to include a html <ul></ul> filled with list items.
                                                        [sources]<ul><li>Substance Abuse and Mental Health Services Administration. (2019) <a href="/">Source Link</a></li><li>Substance Abuse and Mental Health Services Administration. (2019) <a href="/">Source Link</a></li><li>Substance Abuse and Mental Health Services Administration. (2019) <a href="/">Source Link</a></li></ul>[/sources]
                                                        Sources
                                                        • Substance Abuse and Mental Health Services Administration. (2019) Source Link
                                                        • Substance Abuse and Mental Health Services Administration. (2019) Source Link
                                                        • Substance Abuse and Mental Health Services Administration. (2019) Source Link
                                                        Pages Report

                                                          Substance Form

                                                          0 Pages
                                                          Global Shortcode:
                                                          Portal:
                                                          [substance-form]
                                                          Health Insurance icon
                                                          See if you’re covered for addiction treatment.
                                                          Aetna
                                                          Substance Used
                                                          Alcohol
                                                          Pages Report

                                                            Video

                                                            0 Pages
                                                            Attributes:
                                                            • id
                                                            • type
                                                            • src
                                                            • title
                                                            • width
                                                            • height
                                                            • img
                                                            Global Shortcode:
                                                            Portal:
                                                            Notes:
                                                            - id attribute is the id of the video
                                                            - type attribute can be empty, "youtube", "wistia"
                                                            REQUIRED if not passing src attribute
                                                            - src attribute is video url, don't need to provide type or id attributes if using src
                                                            [video src="https://www.youtube.com/embed/nrenVPcBi7E" title="Addiction Talk Episode 5: Tackling the Stigma with Past and Present NFL Players"]
                                                            [video id="nrenVPcBi7E" type="youtube" title="Addiction Talk Episode 5: Tackling the Stigma with Past and Present NFL Players"]
                                                            [video id="jwu9htv0w2" type="wistia" img="https://admin.deserthopetreatment.com/wp-content/uploads/2020/04/Joe-testimonial-thumbnail.jpg" title="Joe - Alumni Testimonial - American Addiction Centers" width="500" height="300"]
                                                            Pages Report

                                                              Video Popup

                                                              0 Pages
                                                              Attributes:
                                                              • src
                                                              Global Shortcode:
                                                              Portal:
                                                              [video-popup src="https://www.youtube.com/watch?v=4hwtsd5RikQ&amp;list=LLoFHJn0HUsV6KXsmik8WVHw"]
                                                              Pages Report

                                                                Virtual Consultation

                                                                Component Library Demo
                                                                0 Pages
                                                                Global Shortcode:
                                                                Portal:
                                                                [vc]
                                                                american addiction centers photo

                                                                Virtual Treatment Consultation

                                                                Verify your health insurance coverage for treatment at one of our facilities.

                                                                Please have your health insurance card ready.

                                                                By submitting information through the sites, you certify that you are the individual, or authorized by the individual, seeking treatment or consultation agreement, and consent to being contacted through email and/or phone.

                                                                Pages Report
                                                                  Attributes:
                                                                  • type
                                                                  • modal
                                                                  • heading1
                                                                  • heading2
                                                                  • text1
                                                                  • text2
                                                                  Global Shortcode:
                                                                  Portal:
                                                                  Notes:
                                                                  - type attribute can be empty (defaults to one step form), "one-step", "two-step", "in-content"
                                                                  - modal attribute will add an inline link with the intent of opening the VOB in a modal (site will have to add this functionality)
                                                                  - heading1, heading2, text1, text2 attributes are for "two-step" form copies
                                                                  [vob]

                                                                  * These fields are required

                                                                  *
                                                                  John
                                                                  *
                                                                  Smith
                                                                  *
                                                                  (555) 555-5555
                                                                  *
                                                                  jsmith@mail.com
                                                                  MM/DD/YYYY
                                                                  Aetna
                                                                  WXY1030Z0
                                                                  Disclaimer
                                                                  HIPAA badge
                                                                  [vob type="two-step" heading1="heading1" text1="text1"]
                                                                  heading1
                                                                  text1

                                                                  * These fields are required

                                                                  Aetna
                                                                  WXY1030Z0
                                                                  2. Tell us about yourself or your loved one
                                                                  With a few details, we are able to connect with insurance providers across the country to instantly provide you with your coverage information.
                                                                  *
                                                                  John
                                                                  *
                                                                  Smith
                                                                  MM/DD/YYYY
                                                                  *
                                                                  (555) 555-5555
                                                                  *
                                                                  jsmith@mail.com
                                                                  Disclaimer
                                                                  HIPAA badge
                                                                  [vob type="in-content"]
                                                                  Check to see if your insurance is in-network at an American Addiction Centers location
                                                                  We'll instantly check the coverage offered by your insurance provider.
                                                                  You may receive treatment at one of our facilities at a reduced rate.
                                                                  What to expect?
                                                                  * = Required
                                                                  *
                                                                  Aetna
                                                                  *
                                                                  John
                                                                  *
                                                                  Smith
                                                                  *
                                                                  jsmith@mail.com
                                                                  *
                                                                  (555) 555-5555
                                                                  MM/DD/YYYY
                                                                  WXY1030Z0
                                                                  Disclaimer
                                                                  HIPAA badge
                                                                  Expand
                                                                  Pages Report