WordPress theme files Organization
It seems like the WordPress community really loves this mix of PHP and HTML together, and as you say it often leads to very hard to understand and maintain code. It is a common programming pattern to separate out ‘logic’ and ‘presentation’. Logic here is PHP code which makes decisions, presentation is HTML. I strongly … Read more