2014-10-20, 06:57:22
In fact, I would like to abstract things, to clean my code out and separate php from the template.
Based on DynPages, into Pages, instead of stuff like :
Actually I'm just using something more Moustache-like or Twig :
I would appreciate to use that in the tempaltes too.
Based on DynPages, into Pages, instead of stuff like :
Code:
<h2><?php get_page_title(); ?></h2>
Actually I'm just using something more Moustache-like or Twig :
Code:
<h2>{{ page title }}</h2>
I would appreciate to use that in the tempaltes too.