-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathreadme.txt
86 lines (81 loc) · 3.33 KB
/
readme.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
-> WP API (Essential)
--> REST API Developer Endpoint Reference
--> https://developer.wordpress.org/rest-api/reference/
--> https://developer.wordpress.org/rest-api/reference/#rest-api-developer-endpoint-reference
--> wp.api.models.Post / Page / Category / ...
--> wp.api.collections.Posts / Pages / Categories / ...
--> Backbone JavaScript Client
--> https://developer.wordpress.org/rest-api/using-the-rest-api/backbone-javascript-client/
--> wp.api.models.Post( 'Query collection of posts HERE!' )
--> wp.api.collections.Posts( 'Query collection of posts HERE!' )
--> Query collection of posts
--> https://developer.wordpress.org/rest-api/reference/posts/#arguments
--> context
--> page
--> per_page
--> search
--> after
--> modified_after
--> author
--> author_exclude
--> before
--> modified_before
--> exclude
--> include
--> offset
--> order
--> orderby
--> search_columns
--> slug
--> status
--> tax_relation
--> categories
--> categories_exclude
--> tags
--> tags_exclude
--> sticky
--> Global Parameters
--> https://developer.wordpress.org/rest-api/using-the-rest-api/global-parameters/
--> _fields=""
--> _embed=""
--> Linking and Embedding
--> https://developer.wordpress.org/rest-api/using-the-rest-api/linking-and-embedding/
--> _links (inside the _fields="" and outside it is also possible)
--> _embedded (only after fetch / .forEach)
--> SCHEMA (query parameter: Posts)
--> https://developer.wordpress.org/rest-api/glossary/#schema
--> (Posts) Query parameter _fields="Query parameter HERE!" / _embed="Query parameter HERE!"
--> https://developer.wordpress.org/rest-api/reference/posts/#schema
--> date ( _fields )
--> date_gmt ( _fields )
--> guid ( _fields )
--> id ( _fields )
--> link ( _fields )
--> modified ( _fields )
--> modified_gmt ( _fields )
--> slug ( _fields )
--> status ( _fields )
--> type ( _fields )
--> password ( _fields )
--> permalink_template ( _fields )
--> generated_slug ( _fields )
--> title ( _fields )
--> content ( _fields )
--> author ( _fields )
--> excerpt ( _fields )
--> featured_media ( _fields )
--> wp:featuredmedia ( _embed )
--> comment_status ( _fields )
--> ping_status ( _fields )
--> format ( _fields )
--> meta ( _fields )
--> sticky ( _fields )
--> template ( _fields )
--> categories ( _fields )
--> wp:term ( _embed )
--> tags ( _fields )
-> WP Query (Essential)
--> https://developer.wordpress.org/reference/classes/wp_query/
--> https://developer.wordpress.org/reference/classes/wp_query/#properties-and-methods
--> https://developer.wordpress.org/reference/classes/wp_query/#parameters
--> https://developer.wordpress.org/reference/classes/wp_query/#methods