Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- // This section is experimental and not working (also the 'do_shorcode...' sections below)
- include ("../../../wp-load.php");
- include ("../../../wp-includes/shortcodes.php");
- // end of section
- $cwd = getcwd();
- $path = substr($cwd, 0, strpos($cwd, 'wp-content/'));
- require $path . 'wp-blog-header.php';
- global $adrotate_config;
- do_shortcode('[CBC country="us" show="y"]');
- echo adrotate_group('1');
- do_shortcode('[/CBC]');
- do_shortcode('[CBC country="us" show="n"]');
- echo "Hello World!";
- do_shortcode('[/CBC]');
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement