質問編集履歴

2

書式の改善

2018/11/01 14:40

投稿

MomoSatou
MomoSatou

スコア8

test CHANGED
File without changes
test CHANGED
@@ -39,56 +39,6 @@
39
39
  ```PHP
40
40
 
41
41
 
42
-
43
-
44
-
45
- <?php
46
-
47
- //CSS
48
-
49
- function wpbeg_script() {
50
-
51
- wp_enqueue_style( 'google-webfont-style', '//fonts.googleapis.com/css?family=notosansjapanese' );
52
-
53
-
54
-
55
- wp_enqueue_style( 'html5reset-1.6.1', get_template_directory_uri() . '/css/html5reset-1.6.1.css', array(), '1.0.0' );
56
-
57
-
58
-
59
- wp_enqueue_style( 'style.css', get_template_directory_uri() . '/css/style.css?201808181', array(), '4.5.0' );
60
-
61
-
62
-
63
- wp_enqueue_style( 'style_tb', get_template_directory_uri() . '/css/style_tb.css?20180818', array(), '1.0.0' );
64
-
65
-
66
-
67
- wp_enqueue_style( 'style_sp', get_template_directory_uri() . '/css/style_sp.css?20180818', array(), '1.0.0' );
68
-
69
-
70
-
71
- wp_enqueue_script( 'intavew', get_template_directory_uri() . '/js/jquery.inview.js');
72
-
73
-
74
-
75
- }
76
-
77
- add_action( 'wp_enqueue_scripts', 'wpbeg_script' );
78
-
79
-
80
-
81
- //imagesフォルダ適用
82
-
83
- function replaceImagePath($arg) {
84
-
85
- $content = str_replace('"images/', '"' . get_bloginfo('template_directory') . '/images/', $arg);
86
-
87
- return $content;
88
-
89
- }
90
-
91
- add_action('the_content', 'replaceImagePath');
92
42
 
93
43
 
94
44
 

1

誤字

2018/11/01 14:40

投稿

MomoSatou
MomoSatou

スコア8

test CHANGED
File without changes
test CHANGED
@@ -10,7 +10,7 @@
10
10
 
11
11
 
12
12
 
13
- Fatal error: Cannot redeclare my_validation_rule() (previously declared in /app/public/wp-content/themes/SMIC/functions.php:31) in /app/public/wp-content/themes/テーマ名/functions.php on line 59
13
+ Fatal error: Cannot redeclare my_validation_rule() (previously declared in /app/public/wp-content/themes/AAA/functions.php:31) in /app/public/wp-content/themes/AAA/functions.php on line 59
14
14
 
15
15
 
16
16