revert part of 7474f78 and fix the order

to prevent wp themes engine yes to be included to array $templates
References #165 7474f78 38204c4