[memb_php_include, memb_php_include_once]


This shortcode displays the contents of the specified PHP file within a website.

Shortcode Examples

The below shortcode will display contents of http://www.yourdomain.com/demo/helloworld_include.php:

[memb_php_include filename=demo/helloworld_include]

Note: Please use this shortcode with caution and do not include the .php extension to the shortcode, as it is automatically added to the filename.

Shortcode Parameters

filename: Refers to the name of the PHP file on the website that needs to be displayed on a particular page. Through this shortcode, you can use absolute, or relative filenames. The relative filenames will be referenced from the document root.  Do NOT include the .php at the end of the filename.  That will be automatically added.

Shortcode Attributes

Conditional: Yes (?)
Nestable: No (?)
Accepts formatting: No (?)
Capturable: No (?)

ActiveCampaign Shortcode Documentation

Looking for info on the ActiveCampaign version of this shortcode?

Click Here to View the ActiveCampaign Shortcode Documentation

Memberium Membership Site Workshop
October 10th-12th, 2018 in Phoenix, Arizona

Get your Memberium site and Infusionsoft app fully implemented in 3 days. Save $100 OFF your ticket until the end of this Monday, September 24th!

Click Here to Learn More and Reserve Your Seat