質問編集履歴
1
コードを変更部分のみ記載
test
CHANGED
File without changes
|
test
CHANGED
@@ -38,15 +38,9 @@
|
|
38
38
|
|
39
39
|
```php
|
40
40
|
|
41
|
-
|
41
|
+
// add_action('wp_head', 'set_myfavicon');
|
42
42
|
|
43
|
-
$href = get_site_url() . '/wp-content/images/favicon.ico';
|
44
|
-
|
45
|
-
echo '<link rel="shortcut icon" type="image/x-icon" href="' . $href . '">' . "\n";
|
46
|
-
|
47
|
-
}
|
48
|
-
|
49
|
-
add_action('init', 'set_myfavicon');
|
43
|
+
add_action('init', 'set_myfavicon');
|
50
44
|
|
51
45
|
```
|
52
46
|
|