回答編集履歴

2

参考URL追記

2017/01/17 08:42

投稿

退会済みユーザー
test CHANGED
@@ -55,3 +55,9 @@
55
55
  add_action('do_meta_boxes', 'my_do_meta_boxes');
56
56
 
57
57
  ```
58
+
59
+ **参考URL**
60
+
61
+ - [http://wordpress.stackexchange.com/questions/25793/how-to-force-one-column-layout-on-custom-post-type-edit-page](http://wordpress.stackexchange.com/questions/25793/how-to-force-one-column-layout-on-custom-post-type-edit-page)
62
+
63
+ - [http://www.warna.info/archives/627/](http://www.warna.info/archives/627/)

1

ソースコードの誤記を修正

2017/01/17 08:42

投稿

退会済みユーザー
test CHANGED
@@ -2,21 +2,21 @@
2
2
 
3
3
  ```PHP
4
4
 
5
- function my_get_user_option_meta_box_order_post()
5
+ function my_get_user_option_meta_box_order_post($result)
6
6
 
7
7
  {
8
8
 
9
9
  if( wp_is_mobile() ) {
10
10
 
11
- $ret = array(
11
+ $ret = array(
12
12
 
13
- 'normal' => 'tagsdiv-post_tag,categorydiv,postimagediv,submitdiv',
13
+ 'normal' => 'tagsdiv-post_tag,categorydiv,postimagediv,submitdiv',
14
14
 
15
- 'side' => '',
15
+ 'side' => '',
16
16
 
17
- 'advanced' => '',
17
+ 'advanced' => '',
18
18
 
19
- );
19
+ );
20
20
 
21
21
  }
22
22