//絶対パス→相対パス function make_href_root_relative($input) { return preg_replace('!http(s)?://' . $_SERVER['SERVER_NAME'] . '/!', '/', $input); }
Warning: Cannot modify header information - headers already sent by (output started at /home/content/55/14010055/html/wp-content/themes/twentysixteen/functions.php:5) in /home/content/55/14010055/html/wp-includes/pluggable.php on line 1210