質問編集履歴

2

ソースコード追加しました。

2019/07/25 12:22

投稿

sakana
sakana

スコア18

test CHANGED
File without changes
test CHANGED
@@ -108,7 +108,181 @@
108
108
 
109
109
 
110
110
 
111
-
111
+ ### 追加
112
+
113
+ ソースコードです。
114
+
115
+ ```ここに言語名を入力
116
+
117
+
118
+
119
+ <!doctype html>
120
+
121
+ <html lang="ja">
122
+
123
+ <head>
124
+
125
+ <!-- Required meta tags -->
126
+
127
+ <meta charset="utf-8">
128
+
129
+ <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=no">
130
+
131
+ <!-- <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> -->
132
+
133
+ <link name="viewport" rel="stylesheet" href="http://localhost:8888/wp-content/themes/eden/style.css" media="screen and (max-width:900px)">
134
+
135
+ <!-- Bootstrap CSS -->
136
+
137
+ <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
138
+
139
+ <link rel="stylesheet" href="http://localhost:8888/wp-content/themes/eden/style.css">
140
+
141
+ <link rel="stylesheet" href="http://localhost:8888/wp-content/themes/eden/thanks.css" type="text/css" />
142
+
143
+ <!-- font awesome -->
144
+
145
+ <link href="https://use.fontawesome.com/releases/v5.6.1/css/all.css" rel="stylesheet">
146
+
147
+
148
+
149
+ <title>EDEN | 北海道・帯広市のフリーランスエンジニアによるプログラミングスクール</title>
150
+
151
+ <script>
152
+
153
+ ( function() {
154
+
155
+ var query = document.location.search;
156
+
157
+
158
+
159
+ if ( query && query.indexOf( 'preview=true' ) !== -1 ) {
160
+
161
+ window.name = 'wp-preview-76';
162
+
163
+ }
164
+
165
+
166
+
167
+ if ( window.addEventListener ) {
168
+
169
+ window.addEventListener( 'unload', function() { window.name = ''; }, false );
170
+
171
+ }
172
+
173
+ }());
174
+
175
+ </script>
176
+
177
+ <link rel='dns-prefetch' href='//s.w.org' />
178
+
179
+ <script type="text/javascript">
180
+
181
+ window._wpemojiSettings = {"baseUrl":"https://s.w.org/images/core/emoji/12.0.0-1/72x72/","ext":".png","svgUrl":"https://s.w.org/images/core/emoji/12.0.0-1/svg/","svgExt":".svg","source":{"concatemoji":"http://localhost:8888/wp-includes/js/wp-emoji-release.min.js?ver=5.2.2"}};
182
+
183
+ !function(a,b,c){function d(a,b){var c=String.fromCharCode;l.clearRect(0,0,k.width,k.height),l.fillText(c.apply(this,a),0,0);var d=k.toDataURL();l.clearRect(0,0,k.width,k.height),l.fillText(c.apply(this,b),0,0);var e=k.toDataURL();return d===e}function e(a){var b;if(!l||!l.fillText)return!1;switch(l.textBaseline="top",l.font="600 32px Arial",a){case"flag":return!(b=d([55356,56826,55356,56819],[55356,56826,8203,55356,56819]))&&(b=d([55356,57332,56128,56423,56128,56418,56128,56421,56128,56430,56128,56423,56128,56447],[55356,57332,8203,56128,56423,8203,56128,56418,8203,56128,56421,8203,56128,56430,8203,56128,56423,8203,56128,56447]),!b);case"emoji":return b=d([55357,56424,55356,57342,8205,55358,56605,8205,55357,56424,55356,57340],[55357,56424,55356,57342,8203,55358,56605,8203,55357,56424,55356,57340]),!b}return!1}function f(a){var c=b.createElement("script");c.src=a,c.defer=c.type="text/javascript",b.getElementsByTagName("head")[0].appendChild(c)}var g,h,i,j,k=b.createElement("canvas"),l=k.getContext&&k.getContext("2d");for(j=Array("flag","emoji"),c.supports={everything:!0,everythingExceptFlag:!0},i=0;i<j.length;i++)c.supports[j[i]]=e(j[i]),c.supports.everything=c.supports.everything&&c.supports[j[i]],"flag"!==j[i]&&(c.supports.everythingExceptFlag=c.supports.everythingExceptFlag&&c.supports[j[i]]);c.supports.everythingExceptFlag=c.supports.everythingExceptFlag&&!c.supports.flag,c.DOMReady=!1,c.readyCallback=function(){c.DOMReady=!0},c.supports.everything||(h=function(){c.readyCallback()},b.addEventListener?(b.addEventListener("DOMContentLoaded",h,!1),a.addEventListener("load",h,!1)):(a.attachEvent("onload",h),b.attachEvent("onreadystatechange",function(){"complete"===b.readyState&&c.readyCallback()})),g=c.source||{},g.concatemoji?f(g.concatemoji):g.wpemoji&&g.twemoji&&(f(g.twemoji),f(g.wpemoji)))}(window,document,window._wpemojiSettings);
184
+
185
+ </script>
186
+
187
+ <style type="text/css">
188
+
189
+ img.wp-smiley,
190
+
191
+ img.emoji {
192
+
193
+ display: inline !important;
194
+
195
+ border: none !important;
196
+
197
+ box-shadow: none !important;
198
+
199
+ height: 1em !important;
200
+
201
+ width: 1em !important;
202
+
203
+ margin: 0 .07em !important;
204
+
205
+ vertical-align: -0.1em !important;
206
+
207
+ background: none !important;
208
+
209
+ padding: 0 !important;
210
+
211
+ }
212
+
213
+ </style>
214
+
215
+ <link rel='stylesheet' id='dashicons-css' href='http://localhost:8888/wp-includes/css/dashicons.min.css?ver=5.2.2' type='text/css' media='all' />
216
+
217
+ <link rel='stylesheet' id='admin-bar-css' href='http://localhost:8888/wp-includes/css/admin-bar.min.css?ver=5.2.2' type='text/css' media='all' />
218
+
219
+ <link rel='stylesheet' id='wp-block-library-css' href='http://localhost:8888/wp-includes/css/dist/block-library/style.min.css?ver=5.2.2' type='text/css' media='all' />
220
+
221
+ <script type='text/javascript' src='http://localhost:8888/wp-includes/js/jquery/jquery.js?ver=1.12.4-wp'></script>
222
+
223
+ <script type='text/javascript' src='http://localhost:8888/wp-includes/js/jquery/jquery-migrate.min.js?ver=1.4.1'></script>
224
+
225
+ <link rel='https://api.w.org/' href='http://localhost:8888/wp-json/' />
226
+
227
+ <link rel="EditURI" type="application/rsd+xml" title="RSD" href="http://localhost:8888/xmlrpc.php?rsd" />
228
+
229
+ <link rel="wlwmanifest" type="application/wlwmanifest+xml" href="http://localhost:8888/wp-includes/wlwmanifest.xml" />
230
+
231
+ <meta name="generator" content="WordPress 5.2.2" />
232
+
233
+ <link rel="canonical" href="http://localhost:8888/testok/" />
234
+
235
+ <link rel='shortlink' href='http://localhost:8888/?p=76' />
236
+
237
+ <link rel="alternate" type="application/json+oembed" href="http://localhost:8888/wp-json/oembed/1.0/embed?url=http%3A%2F%2Flocalhost%3A8888%2Ftestok%2F" />
238
+
239
+ <link rel="alternate" type="text/xml+oembed" href="http://localhost:8888/wp-json/oembed/1.0/embed?url=http%3A%2F%2Flocalhost%3A8888%2Ftestok%2F&#038;format=xml" />
240
+
241
+ <style type="text/css" media="print">#wpadminbar { display:none; }</style>
242
+
243
+ <style type="text/css" media="screen">
244
+
245
+ html { margin-top: 32px !important; }
246
+
247
+ * html body { margin-top: 32px !important; }
248
+
249
+ @media screen and ( max-width: 782px ) {
250
+
251
+ html { margin-top: 46px !important; }
252
+
253
+ * html body { margin-top: 46px !important; }
254
+
255
+ }
256
+
257
+ </style>
258
+
259
+ </head>
260
+
261
+
262
+
263
+
264
+
265
+
266
+
267
+
268
+
269
+ <div class="thanks">
270
+
271
+ <div class="container">
272
+
273
+ <h1 class="text-center">お問合せありがとうございます。</h1>
274
+
275
+ <p>ご記入して頂いた情報は無事に送信されました。</p>
276
+
277
+ <p>確認次第、ご連絡させて頂きますのでしばらくお待ちください。</p>
278
+
279
+ <p><a href="http://localhost:8888/" title="">トップページに戻る</a></p>
280
+
281
+ </div>
282
+
283
+ </div>
284
+
285
+ ```
112
286
 
113
287
  ### 補足情報(FW/ツールのバージョンなど)
114
288
 

1

header.phpを追加しました。

2019/07/25 12:22

投稿

sakana
sakana

スコア18

test CHANGED
File without changes
test CHANGED
@@ -30,6 +30,86 @@
30
30
 
31
31
 
32
32
 
33
+
34
+
35
+ ```ここに言語名を入力
36
+
37
+ <?php
38
+
39
+ /**
40
+
41
+ * The header for our theme
42
+
43
+ *
44
+
45
+ * This is the template that displays all of the <head> section and everything up until <div id="content">
46
+
47
+ *
48
+
49
+ * @link https://developer.wordpress.org/themes/basics/template-files/#template-partials
50
+
51
+ *
52
+
53
+ * @package WordPress
54
+
55
+ * @subpackage Twenty_Seventeen
56
+
57
+ * @since 1.0
58
+
59
+ * @version 1.0
60
+
61
+ */
62
+
63
+
64
+
65
+ ?>
66
+
67
+
68
+
69
+ <!doctype html>
70
+
71
+ <html lang="ja">
72
+
73
+ <head>
74
+
75
+ <!-- Required meta tags -->
76
+
77
+ <meta charset="utf-8">
78
+
79
+ <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=no">
80
+
81
+ <!-- <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> -->
82
+
83
+ <link name="viewport" rel="stylesheet" href="<?php echo get_stylesheet_uri(); ?>" media="screen and (max-width:900px)">
84
+
85
+ <!-- Bootstrap CSS -->
86
+
87
+ <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
88
+
89
+ <link rel="stylesheet" href="<?php echo get_stylesheet_uri(); ?>">
90
+
91
+ <link rel="stylesheet" href="<?php echo get_template_directory_uri(); ?>/thanks.css" type="text/css" />
92
+
93
+ <!-- font awesome -->
94
+
95
+ <link href="https://use.fontawesome.com/releases/v5.6.1/css/all.css" rel="stylesheet">
96
+
97
+
98
+
99
+ <title>EDEN | 北海道・帯広市のフリーランスエンジニアによるプログラミングスクール</title>
100
+
101
+ <?php wp_head(); ?>
102
+
103
+ </head>
104
+
105
+
106
+
107
+ ```
108
+
109
+
110
+
111
+
112
+
33
113
  ### 補足情報(FW/ツールのバージョンなど)
34
114
 
35
115
  ![```ここに言語を入力