Structured way to create to properly create a ps_query object
1 2 | new_ps_query(url, type, sort_type, sort_direction, pagination_strategy,
size)
|
url |
the full URL endpoint the query is going to hit (params and all) |
type |
the type of query |
sort_type |
whether to sort on time, score, etc... |
sort_direction |
ascending or descending |
pagination_strategy |
different ways to paginate |
size |
the number of rows returned per request |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.