質問編集履歴

2

書式の改善

2020/03/11 17:16

投稿

roto_note
roto_note

スコア11

test CHANGED
File without changes
test CHANGED
@@ -8,7 +8,11 @@
8
8
 
9
9
 
10
10
 
11
- ![イメージ説明](9946df19d85fd6acc7c27657f1a45300.png)
11
+ [本記事](https://tokyofreelance.jp/30days-trial-3rd-vol10/)
12
+
13
+
14
+
15
+
12
16
 
13
17
 
14
18
 
@@ -22,11 +26,21 @@
22
26
 
23
27
  ```
24
28
 
25
- ![表示されてるエラー画面](da2c27cc1bd4de405c562eaede35bfcf.png)
29
+ Warning: Illegal string offset 'link' in /Users/user/Local Sites/day3rd/app/public/wp-content/themes/tf30/functions.php on line 276
30
+
31
+ ```
26
32
 
27
33
  エラーメッセージ内容をググってみるとfunctions.phpの「link」が無効と表示されていました
28
34
 
35
+
36
+
37
+
38
+
29
- ```
39
+ ###エラー画像
40
+
41
+
42
+
43
+ ![イメージ説明](9946df19d85fd6acc7c27657f1a45300.png)
30
44
 
31
45
 
32
46
 
@@ -37,24 +51,6 @@
37
51
  functions.php
38
52
 
39
53
  ```
40
-
41
- /**
42
-
43
- * ボタンのショートコード
44
-
45
- *
46
-
47
- * @param array $atts ショートコードの引数.
48
-
49
- * @param string $content ショートコードのコンテンツ.
50
-
51
- * @return string ボタンのHTMLタグ.
52
-
53
- * @codex https://wpdocs.osdn.jp/%E9%96%A2%E6%95%B0%E3%83%AA%E3%83%95%E3%82%A1%E3%83%AC%E3%83%B3%E3%82%B9/add_shortcode
54
-
55
- */
56
-
57
-
58
54
 
59
55
  function my_shortcode( $atts, $content = '' ) {
60
56
 

1

画像が表示されてなかった

2020/03/11 17:16

投稿

roto_note
roto_note

スコア11

test CHANGED
File without changes
test CHANGED
@@ -8,7 +8,7 @@
8
8
 
9
9
 
10
10
 
11
- [本記事](https://tokyofreelance.jp/30days-trial-3rd-vol10/)
11
+ ![イメージ説明](9946df19d85fd6acc7c27657f1a45300.png)
12
12
 
13
13
 
14
14