dustpress
dustpress copied to clipboard
A WordPress theme framework for writing templates with Dust.js templating engine and separate data models.
Add escaping filters for the DustPress default partials https://github.com/devgeniem/dustpress/tree/master/partials Docs https://github.com/devgeniem/dustpress#escaping-filters
Check why \DustPress\Query::get_post( $id ); returns global post if there isn't ID https://github.com/devgeniem/dustpress/blob/master/classes/query.php#L37 Check that preview works if this will be removed.
No some helpers return an error message as the helper content. This is problematic in production environment as it is seen by the end user. Provide filters for the error...
Currently Chromium supports the `loading` attribute on `img` and `iframe` elements, which can speed up initial page load considerably especially on mobile. It's still a draft in the WHATWG spec...
A little bit a monkeying around, there was no {@excerpt/} like there were {@content/} So I figure out to make new copy_paste from the content helper and just change every...
`Minulla on PHP 7.2 ja Ubuntu 18.04 LTS, joten voisiko tähä virhe ilmoitus johtua liian uudesta PHP:sta? [10-Nov-2020 07:39:16 UTC] PHP Fatal error: Uncaught Error: Cannot use object of type...
Fixes permalink data on WP object in archive views. Tested on WPML and Polylang.
If a public model method is overridden in an extending class, DustPress executes both during data fetching. The expected outcome would be that only the method in the extending class...
How about 1. redesigning helpers loading using `$this->add_helper` outside a class (maybe a static method?) 1. moving from `extract` towards [`wp_parse_args`](https://codex.wordpress.org/Function_Reference/wp_parse_args) 1. undefined $user in https://github.com/devgeniem/dustpress/blob/master/models/user-activate.php#L60 1. introduce TravisCI: syntax...
:) https://www.google.com/search?q="DustPress+error%3A+No+suitable+model+found."