Advertisement
humarb

WP Ads

Mar 26th, 2020
210
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.36 KB | None | 0 0
  1. <?php
  2. /**
  3. * Front to the WordPress application. This file doesn't do anything, but loads
  4. * wp-blog-header.php which does and tells WordPress to load the theme.
  5. *
  6. * @package WordPress
  7. */
  8.  
  9. /**
  10. * Tells WordPress to load the WordPress theme and output it.
  11. *
  12. * @var bool
  13. */
  14. define( 'WP_USE_THEMES', true );
  15.  
  16. /** Loads the WordPress Environment and Template */
  17. require __DIR__ . '/wp-blog-header.php';
  18. ?>
  19. <script type="text/javascript">//<![CDATA[
  20. (function() {
  21. var configuration = {
  22. "token": "69e191ba368a7b206dccd2f571bf9e52",
  23. "excludeDomains": [
  24. "yourowndomain.com"
  25. ],
  26. "capping": {
  27. "limit": 5,
  28. "timeout": 24
  29. },
  30. "entryScript": {
  31. "type": "click",
  32. "capping": {
  33. "limit": 5,
  34. "timeout": 24
  35. }
  36. },
  37. "exitScript": {
  38. "enabled": true
  39. },
  40. "popUnder": {
  41. "enabled": true
  42. }
  43. };
  44. var script = document.createElement('script');
  45. script.async = true;
  46. script.src = '//cdn.shorte.st/link-converter.min.js';
  47. script.onload = script.onreadystatechange = function () {var rs = this.readyState; if (rs && rs != 'complete' && rs != 'loaded') return; shortestMonetization(configuration);};
  48. var entry = document.getElementsByTagName('script')[0];
  49. entry.parentNode.insertBefore(script, entry);
  50. })();
  51. //]]></script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement