add title support to wp-template