質問編集履歴
2
編集
title
CHANGED
File without changes
|
body
CHANGED
@@ -180,6 +180,7 @@
|
|
180
180
|
```
|
181
181
|
|
182
182
|
「Wordpressでアップした全コード」
|
183
|
+
```ここに言語を入力
|
183
184
|
<?php
|
184
185
|
/**
|
185
186
|
* The template for displaying all single posts
|
@@ -310,4 +311,5 @@
|
|
310
311
|
<!-- sitemap_box -->
|
311
312
|
|
312
313
|
<footer> <small>© TEST All right reserved.</small> </footer>
|
313
|
-
</body>
|
314
|
+
</body>
|
315
|
+
```
|
1
追加
title
CHANGED
File without changes
|
body
CHANGED
@@ -177,4 +177,137 @@
|
|
177
177
|
remove_action( 'wp_head', 'adjacent_posts_rel_link_wp_head');
|
178
178
|
remove_action( 'wp_head', 'wp_shortlink_wp_head');
|
179
179
|
|
180
|
-
```
|
180
|
+
```
|
181
|
+
|
182
|
+
「Wordpressでアップした全コード」
|
183
|
+
<?php
|
184
|
+
/**
|
185
|
+
* The template for displaying all single posts
|
186
|
+
*
|
187
|
+
* @link https://developer.wordpress.org/themes/basics/template-hierarchy/#single-post
|
188
|
+
*
|
189
|
+
* @package WordPress
|
190
|
+
* @subpackage Twenty_Seventeen
|
191
|
+
* @since 1.0
|
192
|
+
* @version 1.0
|
193
|
+
*/
|
194
|
+
|
195
|
+
get_header(); ?>
|
196
|
+
<head>
|
197
|
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
198
|
+
<title>テスト会社 -</title>
|
199
|
+
</head>
|
200
|
+
|
201
|
+
<body>
|
202
|
+
<header class="head">
|
203
|
+
<!-- line -->
|
204
|
+
<div class="line"></div>
|
205
|
+
<!-- line -->
|
206
|
+
|
207
|
+
<nav>
|
208
|
+
<h1><a href="index.html"><span>テスト会社</span></a></h1>
|
209
|
+
<input id="menu-cb" type="checkbox" value="off">
|
210
|
+
<label id="menu-icon" for="menu-cb">≡</label>
|
211
|
+
<label id="menu-background" for="menu-cb"></label>
|
212
|
+
|
213
|
+
<!-- ham-menu -->
|
214
|
+
<div id="ham-menu">
|
215
|
+
<ul>
|
216
|
+
<li class="menu01"><a href="concept.html"><span class="menu_title">コンセプト</span><br>
|
217
|
+
<span class="menu_subtitle">CONCEPT</span></a></li>
|
218
|
+
<li class="menu02"><a href="flow.html"><span class="menu_title">制作の流れ</span><br>
|
219
|
+
<span class="menu_subtitle">FLOW</span></a></li>
|
220
|
+
<li class="menu03"><a href="PRICE.html"><span class="menu_title">料金</span><br>
|
221
|
+
<span class="menu_subtitle">PRICE</span></a></li>
|
222
|
+
<li class="menu04"><a href="company.html"><span class="menu_title">会社概要</span><br>
|
223
|
+
<span class="menu_subtitle">COMPANY</span></a></li>
|
224
|
+
<li class="menu05"><a href="contact.html"><span class="menu_title">お問い合わせ</span><br>
|
225
|
+
<span class="menu_subtitle">CONTACT</span></a></li>
|
226
|
+
</ul>
|
227
|
+
</div>
|
228
|
+
<!-- ham-menu -->
|
229
|
+
|
230
|
+
</nav>
|
231
|
+
</header>
|
232
|
+
|
233
|
+
<!-- main_box -->
|
234
|
+
<section id="main_box">
|
235
|
+
<p><span class="title_span">NEWS</span><br>
|
236
|
+
<span class="eng_title_span">新着情報</span></p>
|
237
|
+
</section>
|
238
|
+
<!-- main_box -->
|
239
|
+
|
240
|
+
<!-- sub_box -->
|
241
|
+
<section id="sub_box">
|
242
|
+
|
243
|
+
|
244
|
+
<?php
|
245
|
+
/* Start the Loop */
|
246
|
+
while ( have_posts() ) : the_post();
|
247
|
+
|
248
|
+
get_template_part( 'template-parts/post/content', get_post_format() );
|
249
|
+
|
250
|
+
// If comments are open or we have at least one comment, load up the comment template.
|
251
|
+
if ( comments_open() || get_comments_number() ) :
|
252
|
+
comments_template();
|
253
|
+
endif;
|
254
|
+
|
255
|
+
endwhile; // End of the loop.
|
256
|
+
?>
|
257
|
+
<!-- logo_box -->
|
258
|
+
<section id="logo_box">
|
259
|
+
<p><a href="index.html"><img src="/img/sub_logo.jpg" alt=""></a></p>
|
260
|
+
</section>
|
261
|
+
<!-- logo_box -->
|
262
|
+
|
263
|
+
<!-- sitemap_box -->
|
264
|
+
<section id="sitemap_box" class="clearfix">
|
265
|
+
<!-- box1 -->
|
266
|
+
<div class="box1">
|
267
|
+
<ul>
|
268
|
+
<li><span class="title_span">メインメニュー</span></li>
|
269
|
+
</ul>
|
270
|
+
<p class="map_p1"><a href="concept.html">コンセプト<span class="sp_span">▶</span></a></p>
|
271
|
+
<p class="map_p2"><a href="flow.html">制作の流れ<span class="sp_span">▶</span></a></p>
|
272
|
+
<p class="map_p3"><a href="price.html">料金<span class="sp_span">▶</span></a></p>
|
273
|
+
<p class="map_p3"><a href="company.html">会社概要<span class="sp_span">▶</span></a></p>
|
274
|
+
<p class="map_p4"><a href="contact.html">問い合わせ<span class="sp_span">▶</span></a>
|
275
|
+
</div>
|
276
|
+
<!-- box1 -->
|
277
|
+
|
278
|
+
<!-- box2 -->
|
279
|
+
<div class="box2">
|
280
|
+
<ul>
|
281
|
+
<li><span class="title_span">事業内容</span></li>
|
282
|
+
</ul>
|
283
|
+
<p class="map_p5"><a href="qa.html">事業内容<span class="sp_span">▶</span></a></p>
|
284
|
+
</div>
|
285
|
+
<!-- box2 -->
|
286
|
+
|
287
|
+
<!-- box3 -->
|
288
|
+
<div class="box3">
|
289
|
+
<ul>
|
290
|
+
<li><span class="title_span">制作実績</span></li>
|
291
|
+
</ul>
|
292
|
+
<p class="map_p6"><a href="performance.html">制作実績<span class="sp_span">▶</span></a></p>
|
293
|
+
</div>
|
294
|
+
<!-- box3 -->
|
295
|
+
|
296
|
+
<!-- box4 -->
|
297
|
+
<div class="box4">
|
298
|
+
|
299
|
+
<ul>
|
300
|
+
<li><span class="title_span">その他</span></li>
|
301
|
+
</ul>
|
302
|
+
<p class="map_p7"><a href="privacy.html">プライバシーポリシー<span class="sp_span">▶</span></a></p>
|
303
|
+
<p class="map_p8"><a href="sctl.html">特定商取引法に基づく表記<span class="sp_span">▶</span></a></p>
|
304
|
+
<p class="map_p9"><a href="sitemap.html">サイトマップ<span class="sp_span">▶</span></a></p>
|
305
|
+
|
306
|
+
</div>
|
307
|
+
<!-- box4 -->
|
308
|
+
|
309
|
+
</section>
|
310
|
+
<!-- sitemap_box -->
|
311
|
+
|
312
|
+
<footer> <small>© TEST All right reserved.</small> </footer>
|
313
|
+
</body>
|