This shortcode is used to call pages defined within Awesome Pages section. aw2_page is one of the few shortcode that is registered directly with WordPress and will inside WordPress posts and pages. You should not call aw2_page inside an awesome page.

  • slug:
    You can specify slug of awesome page to load.

  • data:
    You can specify the slug of awesome data you want to load before loading the awesome page. It is optional

  • site_id:
    You can specify the ID of the site using site_id attribute, and the page will be loaded from that site, in a multisite environment. By default it is current site

p.s remove the space between “[” and “aw2” in the examples below, they have been added to avoid their execution on this page.


This is most common usage of aw2_page

We can use aw2_page along with data

In multisite environment aw2_page can be used as