Skip to content

Latest commit

 

History

History
17 lines (13 loc) · 414 Bytes

README.md

File metadata and controls

17 lines (13 loc) · 414 Bytes

MangoPressTemplating

Prepared templating workflow with filters and macros.

MangoPressTemplating::init();

More about available filters in https://github.com/manGoweb/MangoPress/wiki/Template-filters

Using flash messages

In PHP:

$param = flashSuccess('Something just went great!');
wp_redirect(add_query_arg(FLASH_KEY, $param));

and then in latte much like in regular Nette templates.