質問編集履歴

2

wordpressのスペルミス

2019/06/21 08:26

投稿

HozDer
HozDer

スコア25

test CHANGED
File without changes
test CHANGED
@@ -346,7 +346,7 @@
346
346
 
347
347
  ### 試したこと
348
348
 
349
- ・キャッシュクリア、wrodpress側のキャッシュクリア(wrodpress側はうまくできてないかもしれない)
349
+ ・キャッシュクリア、wordpress側のキャッシュクリア(wordpress側はうまくできてないかもしれない)
350
350
 
351
351
  ・https://www.merges.co.jp/archives/745
352
352
 

1

補足情報、ファイル名

2019/06/21 08:26

投稿

HozDer
HozDer

スコア25

test CHANGED
File without changes
test CHANGED
@@ -20,330 +20,330 @@
20
20
 
21
21
  header.php
22
22
 
23
+ ```php
24
+
25
+ <!DOCTYPE html>
26
+
27
+ <html lang="ja">
28
+
29
+ <head>
30
+
31
+ <meta charset="utf-8">
32
+
33
+ <title></title>
34
+
35
+
36
+
37
+ <!-- Bootstrap CSS -->
38
+
39
+ <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.2.1/css/bootstrap.min.css" integrity="sha384-GJzZqFGwb1QTTN6wy59ffF1BuGJpLSa9DkKMp0DgiMDm4iYMj70gZWKYbI706tWS" crossorigin="anonymous">
40
+
41
+ </head>
42
+
43
+ <body class="mt-n4">
44
+
45
+ <h1 class="title"></h1>
46
+
47
+ <!-- Optional JavaScript -->
48
+
49
+ <!-- jQuery first, then Popper.js, then Bootstrap JS -->
50
+
51
+ <link rel="stylesheet" type="text/css" href="<?php echo get_template_directory_uri(); ?>/reset.css">
52
+
53
+ <link rel="stylesheet" type="text/css" href="<?php echo get_stylesheet_uri(); ?>?<?php echo date('Ymd-His'); ?>">
54
+
55
+ <script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
56
+
57
+ <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.6/umd/popper.min.js" integrity="sha384-wHAiFfRlMFy6i5SRaxvfOCifBUQy1xHdJ/yoi7FRNXMRBu5WHdZYu1hA6ZOblgut" crossorigin="anonymous"></script>
58
+
59
+ <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.2.1/js/bootstrap.min.js" integrity="sha384-B0UglyR+jN6CkvvICOB2joaf5I4l3gm9GU6Hc1og6Ls7i6U/mkkaduKaBhlAXv9k" crossorigin="anonymous"></script>
60
+
61
+ <!-- header -->
62
+
63
+ <header>
64
+
65
+ <ul class="container-fluid">
66
+
67
+ <div class="row">
68
+
69
+ <a class="button col-sm" href="#">ホーム<br><span class="font-size">HOME</span></a>
70
+
71
+ <a class="button col-sm" href="#">商品紹介<br><span class="font-size">INTRODUCTION</span></a>
72
+
73
+ <a class="button col-sm" href="#">業務内容<br><span class="font-size">SERVICES</span></a>
74
+
75
+ <a class="button col-sm" href="#">事業者情報<br><span class="font-size">PROFILE</span></a>
76
+
77
+ <a class="button col-sm" href="#">お問い合わせ<br><span class="font-size">CONTANCT</span></a>
78
+
79
+ </div>
80
+
81
+ </ul>
82
+
83
+ </header>
84
+
85
+ <?php wp_head(); ?>
86
+
23
87
  ```
24
88
 
25
- <!DOCTYPE html>
26
-
27
- <html lang="ja">
28
-
29
- <head>
30
-
31
- <meta charset="utf-8">
32
-
33
- <title></title>
34
-
35
-
36
-
37
- <!-- Bootstrap CSS -->
38
-
39
- <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.2.1/css/bootstrap.min.css" integrity="sha384-GJzZqFGwb1QTTN6wy59ffF1BuGJpLSa9DkKMp0DgiMDm4iYMj70gZWKYbI706tWS" crossorigin="anonymous">
40
-
41
- </head>
42
-
43
- <body class="mt-n4">
44
-
45
- <h1 class="title"></h1>
46
-
47
- <!-- Optional JavaScript -->
48
-
49
- <!-- jQuery first, then Popper.js, then Bootstrap JS -->
50
-
51
- <link rel="stylesheet" type="text/css" href="<?php echo get_template_directory_uri(); ?>/reset.css">
52
-
53
- <link rel="stylesheet" type="text/css" href="<?php echo get_stylesheet_uri(); ?>?<?php echo date('Ymd-His'); ?>">
54
-
55
- <script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
56
-
57
- <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.6/umd/popper.min.js" integrity="sha384-wHAiFfRlMFy6i5SRaxvfOCifBUQy1xHdJ/yoi7FRNXMRBu5WHdZYu1hA6ZOblgut" crossorigin="anonymous"></script>
58
-
59
- <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.2.1/js/bootstrap.min.js" integrity="sha384-B0UglyR+jN6CkvvICOB2joaf5I4l3gm9GU6Hc1og6Ls7i6U/mkkaduKaBhlAXv9k" crossorigin="anonymous"></script>
60
-
61
- <!-- header -->
62
-
63
- <header>
64
-
65
- <ul class="container-fluid">
66
-
67
- <div class="row">
68
-
69
- <a class="button col-sm" href="#">ホーム<br><span class="font-size">HOME</span></a>
70
-
71
- <a class="button col-sm" href="#">商品紹介<br><span class="font-size">INTRODUCTION</span></a>
72
-
73
- <a class="button col-sm" href="#">業務内容<br><span class="font-size">SERVICES</span></a>
74
-
75
- <a class="button col-sm" href="#">事業者情報<br><span class="font-size">PROFILE</span></a>
76
-
77
- <a class="button col-sm" href="#">お問い合わせ<br><span class="font-size">CONTANCT</span></a>
78
-
79
- </div>
80
-
81
- </ul>
82
-
83
- </header>
84
-
85
- <?php wp_head(); ?>
89
+ ```css
90
+
91
+ /*
92
+
93
+ Theme Name: hp_sakusei
94
+
95
+ Theme URI: https://rmultigamingsever.com/
96
+
97
+ Description: test
98
+
99
+ Author: yusuke
100
+
101
+ Author URI: https://rmultigamingsever.com/
102
+
103
+ Version: 1.0
104
+
105
+ */
106
+
107
+
108
+
109
+ body {
110
+
111
+ font-family: Verdana, 'Arial Black', sans-serif;
112
+
113
+ font-size: 20px;
114
+
115
+ margin: 0;
116
+
117
+ }
118
+
119
+ /* header */
120
+
121
+ header {
122
+
123
+ height:120px;
124
+
125
+ }
126
+
127
+ h1 {
128
+
129
+ text-align: center;
130
+
131
+ display: block;
132
+
133
+ }
134
+
135
+ .title {
136
+
137
+ white-space: nowrap;
138
+
139
+ }
140
+
141
+ .container-fluid {
142
+
143
+ display: flex;
144
+
145
+ justify-content: center;
146
+
147
+ }
148
+
149
+ @media (min-width: 0px) and ( max-width:576px){
150
+
151
+ .container-fluid {
152
+
153
+ margin-top: 100px;
154
+
155
+ }
156
+
157
+ }
158
+
159
+ .font-size {
160
+
161
+ font-size: 0.3vw;
162
+
163
+ }
164
+
165
+ div.row {
166
+
167
+ width: 912px;
168
+
169
+ }
170
+
171
+ ul{
172
+
173
+ display: flex;
174
+
175
+ justify-content: center;
176
+
177
+ align-items: center;
178
+
179
+ position: inherit;
180
+
181
+ background-color: black;
182
+
183
+ font-size: 20px;
184
+
185
+ height: 49px;
186
+
187
+ line-height: 20px;
188
+
189
+
190
+
191
+ }
192
+
193
+ ul > a {
194
+
195
+ text-decoration: none;
196
+
197
+ text-align: center;
198
+
199
+ color: white;
200
+
201
+ font-size: 1.2vw;
202
+
203
+ }
204
+
205
+ .button {
206
+
207
+ background-color: black;
208
+
209
+ color: #fff;
210
+
211
+ text-align: center;
212
+
213
+ }
214
+
215
+
216
+
217
+ .button:hover {
218
+
219
+ background: #888888;
220
+
221
+ color: white;
222
+
223
+ text-decoration: none;
224
+
225
+
226
+
227
+ }
228
+
229
+ /* main */
230
+
231
+ nav.contact-text {
232
+
233
+ display: table-cell;
234
+
235
+ vertical-align: middle;
236
+
237
+ }
238
+
239
+ table,tr,th,td {
240
+
241
+ border: solid black 1px;
242
+
243
+ line-height: 22px;
244
+
245
+ }
246
+
247
+ th.list {
248
+
249
+ background: #EEEEEE;
250
+
251
+ padding: 10px;
252
+
253
+ }
254
+
255
+ .about {
256
+
257
+ width: 35%;
258
+
259
+ padding-left: 10px;
260
+
261
+ }
262
+
263
+ .about2 {
264
+
265
+ width: 35%;
266
+
267
+ height: 200px;
268
+
269
+ padding: 10px;
270
+
271
+ }
272
+
273
+ iframe {
274
+
275
+ float: right;
276
+
277
+ width: 30%;
278
+
279
+ height: 45%;
280
+
281
+ }
282
+
283
+ .leftbox {
284
+
285
+ float: left;
286
+
287
+ width: 20%;
288
+
289
+ }
290
+
291
+ /* footer */
292
+
293
+ footer {
294
+
295
+ width: 100%;
296
+
297
+ min-height: 160px;
298
+
299
+ margin: 0;
300
+
301
+ padding: 20px 10px;
302
+
303
+ display: grid;
304
+
305
+ grid-template-columns: minmax(20%, 1fr) auto minmax(20%, 1fr);
306
+
307
+ grid-template-rows: repeat(3, auto);
308
+
309
+ }
310
+
311
+ div, dl {
312
+
313
+ grid-column: 2;
314
+
315
+ }
316
+
317
+
318
+
319
+ p.h6 {
320
+
321
+ grid-row: 3;
322
+
323
+ grid-column: 3;
324
+
325
+ overflow-wrap: break-word;
326
+
327
+ white-space: nowrap;
328
+
329
+ }
330
+
331
+
332
+
333
+ @media (max-width: 800px) {
334
+
335
+ p.h6 {
336
+
337
+ grid-column: 2;
338
+
339
+ }
340
+
341
+ }
342
+
343
+
86
344
 
87
345
  ```
88
346
 
89
- ```ここに言語を入力
90
-
91
- /*
92
-
93
- Theme Name: hp_sakusei
94
-
95
- Theme URI: https://rmultigamingsever.com/
96
-
97
- Description: test
98
-
99
- Author: yusuke
100
-
101
- Author URI: https://rmultigamingsever.com/
102
-
103
- Version: 1.0
104
-
105
- */
106
-
107
-
108
-
109
- body {
110
-
111
- font-family: Verdana, 'Arial Black', sans-serif;
112
-
113
- font-size: 20px;
114
-
115
- margin: 0;
116
-
117
- }
118
-
119
- /* header */
120
-
121
- header {
122
-
123
- height:120px;
124
-
125
- }
126
-
127
- h1 {
128
-
129
- text-align: center;
130
-
131
- display: block;
132
-
133
- }
134
-
135
- .title {
136
-
137
- white-space: nowrap;
138
-
139
- }
140
-
141
- .container-fluid {
142
-
143
- display: flex;
144
-
145
- justify-content: center;
146
-
147
- }
148
-
149
- @media (min-width: 0px) and ( max-width:576px){
150
-
151
- .container-fluid {
152
-
153
- margin-top: 100px;
154
-
155
- }
156
-
157
- }
158
-
159
- .font-size {
160
-
161
- font-size: 0.3vw;
162
-
163
- }
164
-
165
- div.row {
166
-
167
- width: 912px;
168
-
169
- }
170
-
171
- ul{
172
-
173
- display: flex;
174
-
175
- justify-content: center;
176
-
177
- align-items: center;
178
-
179
- position: inherit;
180
-
181
- background-color: black;
182
-
183
- font-size: 20px;
184
-
185
- height: 49px;
186
-
187
- line-height: 20px;
188
-
189
-
190
-
191
- }
192
-
193
- ul > a {
194
-
195
- text-decoration: none;
196
-
197
- text-align: center;
198
-
199
- color: white;
200
-
201
- font-size: 1.2vw;
202
-
203
- }
204
-
205
- .button {
206
-
207
- background-color: black;
208
-
209
- color: #fff;
210
-
211
- text-align: center;
212
-
213
- }
214
-
215
-
216
-
217
- .button:hover {
218
-
219
- background: #888888;
220
-
221
- color: white;
222
-
223
- text-decoration: none;
224
-
225
-
226
-
227
- }
228
-
229
- /* main */
230
-
231
- nav.contact-text {
232
-
233
- display: table-cell;
234
-
235
- vertical-align: middle;
236
-
237
- }
238
-
239
- table,tr,th,td {
240
-
241
- border: solid black 1px;
242
-
243
- line-height: 22px;
244
-
245
- }
246
-
247
- th.list {
248
-
249
- background: #EEEEEE;
250
-
251
- padding: 10px;
252
-
253
- }
254
-
255
- .about {
256
-
257
- width: 35%;
258
-
259
- padding-left: 10px;
260
-
261
- }
262
-
263
- .about2 {
264
-
265
- width: 35%;
266
-
267
- height: 200px;
268
-
269
- padding: 10px;
270
-
271
- }
272
-
273
- iframe {
274
-
275
- float: right;
276
-
277
- width: 30%;
278
-
279
- height: 45%;
280
-
281
- }
282
-
283
- .leftbox {
284
-
285
- float: left;
286
-
287
- width: 20%;
288
-
289
- }
290
-
291
- /* footer */
292
-
293
- footer {
294
-
295
- width: 100%;
296
-
297
- min-height: 160px;
298
-
299
- margin: 0;
300
-
301
- padding: 20px 10px;
302
-
303
- display: grid;
304
-
305
- grid-template-columns: minmax(20%, 1fr) auto minmax(20%, 1fr);
306
-
307
- grid-template-rows: repeat(3, auto);
308
-
309
- }
310
-
311
- div, dl {
312
-
313
- grid-column: 2;
314
-
315
- }
316
-
317
-
318
-
319
- p.h6 {
320
-
321
- grid-row: 3;
322
-
323
- grid-column: 3;
324
-
325
- overflow-wrap: break-word;
326
-
327
- white-space: nowrap;
328
-
329
- }
330
-
331
-
332
-
333
- @media (max-width: 800px) {
334
-
335
- p.h6 {
336
-
337
- grid-column: 2;
338
-
339
- }
340
-
341
- }
342
-
343
-
344
-
345
- ```
346
-
347
347
  ### 試したこと
348
348
 
349
349
  ・キャッシュクリア、wrodpress側のキャッシュクリア(wrodpress側はうまくできてないかもしれない)
@@ -366,4 +366,4 @@
366
366
 
367
367
  ### 補足情報(FW/ツールのバージョンなど)
368
368
 
369
- Windows10 bootstrap4 wordpress
369
+ Windows10 bootstrap4 wordpress mixhost