Twig Anything plays well with any data represented in JSON format and accessible via HTTP. It can also retrieve data directly from your blog’s MySQL database.
Demos
- MySQL – query from your blog’s database directly
- Discourse – show topics, users, search results, statistics and more
Tutorials
- Tutorial: how to retrieve and display data from WordPress database
- Tutorial: how to import data from Discourse and output it in WordPress
References
- A comprehensive Twig Templates reference – what WordPress data is available in your templates besides the data retrieved from a data source
- Twig Syntax reference – if/else statements and other logic, loops, data transformation and filtering, and more
- WordPress database reference – all table and field names
See also: Support and Community forums