質問編集履歴
2
コードブロック部分修正
title
CHANGED
File without changes
|
body
CHANGED
@@ -7,15 +7,13 @@
|
|
7
7
|
|
8
8
|
現在、フォーマットは表示されるのですが要素は何も表示されません。
|
9
9
|
|
10
|
-
|
11
|
-
|
12
10
|
###該当のソースコード
|
13
11
|
|
14
12
|
■loop-performance .php
|
13
|
+
```
|
15
14
|
<?php query_posts('post_type=performance&showposts=-1'); ?>
|
16
15
|
<?php if(have_posts()): while(have_posts()): the_post(); ?>
|
17
|
-
|
18
|
-
<?php if (get_post_thumbnail_id()): ?>
|
16
|
+
<?php if (get_post_thumbnail_id()): ?>
|
19
17
|
<li>
|
20
18
|
<?php $src = wp_get_attachment_image_src( get_post_thumbnail_id($post->ID) ,'full'); ?>
|
21
19
|
<a rel="gallery" href="<?php echo $src[0]; ?>" >
|
@@ -25,8 +23,10 @@
|
|
25
23
|
|
26
24
|
<?php endwhile; endif; ?>
|
27
25
|
<?php wp_reset_postdata(); wp_reset_query(); ?>
|
26
|
+
```
|
28
27
|
|
29
28
|
■archive-performance.php
|
29
|
+
```
|
30
30
|
<?php get_header(); ?>
|
31
31
|
<!-- contenst -->
|
32
32
|
<div id="contents">
|
@@ -52,8 +52,10 @@
|
|
52
52
|
</div>
|
53
53
|
<!-- /contenst -->
|
54
54
|
<?php get_footer(); ?>
|
55
|
+
```
|
55
56
|
|
56
57
|
■taxonomy.php
|
58
|
+
```
|
57
59
|
<?php get_header(); ?>
|
58
60
|
<!-- contenst -->
|
59
61
|
<div id="contents">
|
@@ -79,8 +81,10 @@
|
|
79
81
|
</div>
|
80
82
|
<!-- /contenst -->
|
81
83
|
<?php get_footer(); ?>
|
84
|
+
```
|
82
85
|
|
83
86
|
■functions.php
|
87
|
+
```
|
84
88
|
<?php
|
85
89
|
// ウィジェット
|
86
90
|
register_sidebar();
|
@@ -121,6 +125,7 @@
|
|
121
125
|
'has_archive' => true
|
122
126
|
)
|
123
127
|
);
|
128
|
+
```
|
124
129
|
|
125
130
|
|
126
131
|
###試したこと
|
1
修正
title
CHANGED
File without changes
|
body
CHANGED
@@ -37,9 +37,9 @@
|
|
37
37
|
<div id="works_2nd">
|
38
38
|
<div id="works_nv">
|
39
39
|
<ul>
|
40
|
-
<li><a href="http://sasageya.co.jp/imgsol/wordpress/
|
40
|
+
<li><a href="http://sasageya.co.jp/imgsol/wordpress/performance/fashion/"><img src="<?php echo get_template_directory_uri(); ?>/images/works_snv01.png"></a></li>
|
41
|
-
<li><a href="http://sasageya.co.jp/imgsol/wordpress/
|
41
|
+
<li><a href="http://sasageya.co.jp/imgsol/wordpress/performance/food/"><img src="<?php echo get_template_directory_uri(); ?>/images/works_snv02.png"></a></li>
|
42
|
-
<li><a href="http://sasageya.co.jp/imgsol/wordpress/
|
42
|
+
<li><a href="http://sasageya.co.jp/imgsol/wordpress/performance/live/"><img src="<?php echo get_template_directory_uri(); ?>/images/works_snv03.png"></a></li>
|
43
43
|
</ul>
|
44
44
|
</div>
|
45
45
|
<div id="works_dt">
|
@@ -64,9 +64,9 @@
|
|
64
64
|
<div id="works_2nd">
|
65
65
|
<div id="works_nv">
|
66
66
|
<ul>
|
67
|
-
<li><a href="http://sasageya.co.jp/imgsol/wordpress/
|
67
|
+
<li><a href="http://sasageya.co.jp/imgsol/wordpress/performance/fashion/"><img src="<?php echo get_template_directory_uri(); ?>/images/works_snv01.png"></a></li>
|
68
|
-
<li><a href="http://sasageya.co.jp/imgsol/wordpress/
|
68
|
+
<li><a href="http://sasageya.co.jp/imgsol/wordpress/performance/food/"><img src="<?php echo get_template_directory_uri(); ?>/images/works_snv02.png"></a></li>
|
69
|
-
<li><a href="http://sasageya.co.jp/imgsol/wordpress/
|
69
|
+
<li><a href="http://sasageya.co.jp/imgsol/wordpress/performance/live/"><img src="<?php echo get_template_directory_uri(); ?>/images/works_snv03.png"></a></li>
|
70
70
|
</ul>
|
71
71
|
</div>
|
72
72
|
<div id="works_dt">
|