質問編集履歴
4
コード全体の記載
test
CHANGED
File without changes
|
test
CHANGED
@@ -104,8 +104,126 @@
|
|
104
104
|
|
105
105
|
```
|
106
106
|
|
107
|
+
<?php get_header(); ?>
|
108
|
+
|
109
|
+
|
110
|
+
|
111
|
+
<!-- mv -->
|
112
|
+
|
113
|
+
<div id="mv" class="mv">
|
114
|
+
|
115
|
+
<div class="mv__bg overlay-bk">
|
116
|
+
|
117
|
+
<div class="service-mv-ttl">
|
118
|
+
|
119
|
+
<h2 class="service-mv-ttl__main">ブログ</h2>
|
120
|
+
|
121
|
+
<p class="service-mv-ttl__sub">BLOG</p>
|
122
|
+
|
123
|
+
</div>
|
124
|
+
|
125
|
+
</div>
|
126
|
+
|
127
|
+
</div>
|
128
|
+
|
129
|
+
<!-- mv -->
|
130
|
+
|
131
|
+
|
132
|
+
|
133
|
+
<!-- main -->
|
134
|
+
|
135
|
+
|
136
|
+
|
137
|
+
|
138
|
+
|
139
|
+
|
140
|
+
|
141
|
+
<div class="main__container">
|
142
|
+
|
143
|
+
<div class="main__inner">
|
144
|
+
|
145
|
+
|
146
|
+
|
147
|
+
<div class="main-container">
|
148
|
+
|
149
|
+
<?php wp_nav_menu( array(
|
150
|
+
|
151
|
+
'menu_class' => 'main-menu',
|
152
|
+
|
153
|
+
'echo' => true,
|
154
|
+
|
155
|
+
'depth' => 1,
|
156
|
+
|
157
|
+
'theme_location' => 'blog',
|
158
|
+
|
159
|
+
) ); ?>
|
160
|
+
|
161
|
+
</div>
|
162
|
+
|
163
|
+
<div class="main__wrapper">
|
164
|
+
|
165
|
+
<main class="blog__contents">
|
166
|
+
|
167
|
+
<?php
|
168
|
+
|
169
|
+
query_posts('showposts=6');
|
170
|
+
|
171
|
+
if (have_posts()) :
|
172
|
+
|
173
|
+
while (have_posts()) :
|
174
|
+
|
175
|
+
the_post();
|
176
|
+
|
177
|
+
?>
|
178
|
+
|
179
|
+
<article class="blog-item">
|
180
|
+
|
181
|
+
<a class="blog-item__link" href="<?php the_permalink(); ?>">
|
182
|
+
|
183
|
+
<?php the_post_thumbnail( 'thumbnail', array( 'class' => 'blog-item__img' ) ); ?>
|
184
|
+
|
185
|
+
<div class="blog-item__tag">
|
186
|
+
|
187
|
+
<p class="blog-item__tag-txt"><?php $cat = get_the_category(); ?>
|
188
|
+
|
189
|
+
<?php $cat = $cat[0]; ?>
|
190
|
+
|
191
|
+
<?php echo get_cat_name($cat->term_id); ?></p>
|
192
|
+
|
193
|
+
</div>
|
194
|
+
|
195
|
+
<div class="blog-item__article">
|
196
|
+
|
197
|
+
<p class="blog-item__date"><?php the_time( "Y年n月j日" ); ?></p>
|
198
|
+
|
199
|
+
<h3 class="blog-item__heading">
|
200
|
+
|
201
|
+
<?php the_title(); ?>
|
202
|
+
|
203
|
+
</h3>
|
204
|
+
|
205
|
+
</div>
|
206
|
+
|
207
|
+
</a>
|
208
|
+
|
209
|
+
</article>
|
210
|
+
|
211
|
+
|
212
|
+
|
213
|
+
|
214
|
+
|
107
215
|
<?php
|
108
216
|
|
217
|
+
endwhile;
|
218
|
+
|
219
|
+
endif;
|
220
|
+
|
221
|
+
?>
|
222
|
+
|
223
|
+
|
224
|
+
|
225
|
+
<?php
|
226
|
+
|
109
227
|
//Pagenation
|
110
228
|
|
111
229
|
if (function_exists("pagination")) {
|
@@ -116,4 +234,122 @@
|
|
116
234
|
|
117
235
|
?>
|
118
236
|
|
237
|
+
</main>
|
238
|
+
|
239
|
+
<aside class="sidebar__contents">
|
240
|
+
|
241
|
+
<?php if ( is_active_sidebar('top-sidebar') ) : ?>
|
242
|
+
|
243
|
+
<ul class="menu">
|
244
|
+
|
245
|
+
<?php dynamic_sidebar('top-sidebar'); ?>
|
246
|
+
|
247
|
+
</ul>
|
248
|
+
|
249
|
+
<?php endif; ?>
|
250
|
+
|
251
|
+
<?php if ( is_active_sidebar('middle-sidebar') ) : ?>
|
252
|
+
|
253
|
+
<ul class="menu">
|
254
|
+
|
255
|
+
<?php dynamic_sidebar('middle-sidebar'); ?>
|
256
|
+
|
257
|
+
</ul>
|
258
|
+
|
259
|
+
<?php endif; ?>
|
260
|
+
|
261
|
+
<?php if ( is_active_sidebar('bottom-sidebar') ) : ?>
|
262
|
+
|
263
|
+
<ul class="menu">
|
264
|
+
|
265
|
+
<?php dynamic_sidebar('bottom-sidebar'); ?>
|
266
|
+
|
267
|
+
</ul>
|
268
|
+
|
269
|
+
<?php endif; ?>
|
270
|
+
|
271
|
+
</aside>
|
272
|
+
|
273
|
+
</div>
|
274
|
+
|
275
|
+
|
276
|
+
|
277
|
+
</div>
|
278
|
+
|
279
|
+
</div>
|
280
|
+
|
281
|
+
<!-- contacts -->
|
282
|
+
|
283
|
+
<section id="contact" class="contact">
|
284
|
+
|
285
|
+
<div class="contact__bg overlay-gr">
|
286
|
+
|
287
|
+
<div class="contact-ttl">
|
288
|
+
|
289
|
+
<h2 class="contact-ttl__main">お問い合わせ</h2>
|
290
|
+
|
291
|
+
<p class="contact-ttl__sub">CONTACTS</p>
|
292
|
+
|
293
|
+
</div>
|
294
|
+
|
295
|
+
<div class="contact-items">
|
296
|
+
|
297
|
+
<div class="contact-item">
|
298
|
+
|
299
|
+
<a class="contact-item__wrapper">
|
300
|
+
|
301
|
+
<img src="<?php echo get_template_directory_uri() ?>/img/phone-wh.png" alt="電話アイコン"
|
302
|
+
|
303
|
+
class="contact-item__ico" />
|
304
|
+
|
305
|
+
<div class="contact-item__set">
|
306
|
+
|
307
|
+
<div class="contact-item__txt">1234567</div>
|
308
|
+
|
309
|
+
<div class="contact-item__date">
|
310
|
+
|
311
|
+
受付時間 0 <br class="contact-item__br" />定休日
|
312
|
+
|
313
|
+
</div>
|
314
|
+
|
315
|
+
</div>
|
316
|
+
|
317
|
+
</a>
|
318
|
+
|
319
|
+
</div>
|
320
|
+
|
321
|
+
<div class="contact-item">
|
322
|
+
|
323
|
+
<a href="<?php echo home_url('/contacts'); ?>" class="contact-item__wrapper">
|
324
|
+
|
325
|
+
<img src="<?php echo get_template_directory_uri() ?>/img/mail-wh.png" alt="メールアイコン"
|
326
|
+
|
327
|
+
class="contact-item__ico" />
|
328
|
+
|
329
|
+
<div class="contact-item__set">
|
330
|
+
|
331
|
+
<div class="contact-item__txt">お問い合わせフォーム</div>
|
332
|
+
|
333
|
+
<div class="contact-item__date">24時間受付中</div>
|
334
|
+
|
335
|
+
</div>
|
336
|
+
|
337
|
+
</a>
|
338
|
+
|
339
|
+
<div class="corner"></div>
|
340
|
+
|
341
|
+
</div>
|
342
|
+
|
343
|
+
</div>
|
344
|
+
|
345
|
+
</div>
|
346
|
+
|
347
|
+
</section>
|
348
|
+
|
349
|
+
<!-- contact -->
|
350
|
+
|
351
|
+
<?php get_footer(); ?>
|
352
|
+
|
353
|
+
?>
|
354
|
+
|
119
355
|
```
|
3
シート名の追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -10,7 +10,11 @@
|
|
10
10
|
|
11
11
|
|
12
12
|
|
13
|
-
|
13
|
+
functions.php
|
14
|
+
|
15
|
+
|
16
|
+
|
17
|
+
```
|
14
18
|
|
15
19
|
//Pagenation
|
16
20
|
|
@@ -94,7 +98,11 @@
|
|
94
98
|
|
95
99
|
|
96
100
|
|
97
|
-
|
101
|
+
archive.php
|
102
|
+
|
103
|
+
|
104
|
+
|
105
|
+
```
|
98
106
|
|
99
107
|
<?php
|
100
108
|
|
2
誤字
test
CHANGED
File without changes
|
test
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
|
7
7
|
|
8
8
|
|
9
|
-
情報が少なく
|
9
|
+
情報が少なく申し訳ございませんが、ご助力をお願いいたします
|
10
10
|
|
11
11
|
|
12
12
|
|
1
説明文訂正
test
CHANGED
File without changes
|
test
CHANGED
@@ -5,6 +5,8 @@
|
|
5
5
|
次へを押した後にはURLの末尾がpage/2/になっているのでページの移動はできているようですが、2ページ目の内容が表示されません。
|
6
6
|
|
7
7
|
|
8
|
+
|
9
|
+
情報が少なく、もうしわけございませんが、ご助力をお願いいたします
|
8
10
|
|
9
11
|
|
10
12
|
|