質問編集履歴
3
失礼しました。。再度大文字小文字を見直しました。
test
CHANGED
File without changes
|
test
CHANGED
@@ -36,7 +36,7 @@
|
|
36
36
|
|
37
37
|
extract(shortcode_atts(array(
|
38
38
|
|
39
|
-
'id' =>'a'
|
39
|
+
'id' =>'a'), $atts));
|
40
40
|
|
41
41
|
$href = get_permalink($id);
|
42
42
|
|
@@ -48,9 +48,7 @@
|
|
48
48
|
|
49
49
|
}
|
50
50
|
|
51
|
-
add_shortcode(
|
51
|
+
add_shortcode('get_text_link', 'get_text_link');
|
52
|
-
|
53
|
-
|
54
52
|
|
55
53
|
```
|
56
54
|
|
2
ご指摘いただき、大文字だった箇所を小文字に修正しました。
test
CHANGED
File without changes
|
test
CHANGED
@@ -36,7 +36,7 @@
|
|
36
36
|
|
37
37
|
extract(shortcode_atts(array(
|
38
38
|
|
39
|
-
|
39
|
+
'id' =>'a' ), $atts));
|
40
40
|
|
41
41
|
$href = get_permalink($id);
|
42
42
|
|
1
code で囲みました!
test
CHANGED
File without changes
|
test
CHANGED
@@ -30,6 +30,8 @@
|
|
30
30
|
|
31
31
|
|
32
32
|
|
33
|
+
```
|
34
|
+
|
33
35
|
function get_text_link($atts) {
|
34
36
|
|
35
37
|
extract(shortcode_atts(array(
|
@@ -50,6 +52,8 @@
|
|
50
52
|
|
51
53
|
|
52
54
|
|
55
|
+
```
|
56
|
+
|
53
57
|
|
54
58
|
|
55
59
|
どうぞよろしくお願いいたします。
|