Advanced iframe pro standalone examples

This are some examples how to use the advanced iframe pro plugin standalone without wordpress. The examples below start from a simple include but also show many of the examples you already find in the pro demo. See the setting files below as examples. standalone-advanced-iframe-settings.php is the default if nothing is specified.

All settings have to be defined in an array $iframeStandaloneOptions where you can use ANY shortcode attribute! Simply use the shortcode attributes without the security_code and the use_shortcode_only.

Please read the readme.html first as there you find very important information about the setup there.

This page does load several settings files and includes the standalone-advanced-iframe.php several times. So please check the source code of this page and the setting files of each example.
You see that the settings file do match a standalone shortcode exept that no security key is needed.

Simple iframe example

This simple example shows the TinyWebGallery homepage with the following features:

The settings file is: standalone-advanced-iframe-settings.php

$iframeStandaloneOptions = array(
    'id' => 'example1',
    'name' => 'example1',
    'src' => 'http://www.tinywebgallery.com',
    'width' => '600',
    'height' => '300',
    'enable_lazy_load' => 'true',
    'show_iframe_loader' => 'true'
);

Warning: require_once(/mnt/web220/b0/35/5167035/htdocs/twg/main/blog/wp-content/plugins/advanced-iframe/standalone/../advanced-iframe.php): Failed to open stream: No such file or directory in /mnt/web220/b0/35/5167035/htdocs/twg/main/blog/wp-content/plugins/advanced-iframe/standalone/standalone-advanced-iframe.php on line 298 Fatal error: Uncaught Error: Failed opening required '/mnt/web220/b0/35/5167035/htdocs/twg/main/blog/wp-content/plugins/advanced-iframe/standalone/../advanced-iframe.php' (include_path='.:/opt/RZphp81/includes') in /mnt/web220/b0/35/5167035/htdocs/twg/main/blog/wp-content/plugins/advanced-iframe/standalone/standalone-advanced-iframe.php:298 Stack trace: #0 /mnt/web220/b0/35/5167035/htdocs/twg/main/advanced-iframe-standalone/standalone/standalone-example.php(64): include() #1 {main} thrown in /mnt/web220/b0/35/5167035/htdocs/twg/main/blog/wp-content/plugins/advanced-iframe/standalone/standalone-advanced-iframe.php on line 298