回答編集履歴
1
書式修正
test
CHANGED
@@ -4,11 +4,11 @@
|
|
4
4
|
|
5
5
|
```php
|
6
6
|
|
7
|
-
$wp_obj = get_queried_object();
|
7
|
+
$wp_obj = get_queried_object();
|
8
8
|
|
9
|
-
|
9
|
+
$page_id = $wp_obj->ID;
|
10
10
|
|
11
|
-
|
11
|
+
$page_title = $wp_obj->post_title;
|
12
12
|
|
13
13
|
|
14
14
|
|