localizing variable on front-page.php template fails but succeeds on single page and taxonomy archive
Managed to work it out, the problem was down to how I had set up my home page to display only my custom posts. I had set a static home page in Settings > Reading and I was using the following new WP_Query in front-page.php to show all my CPT ‘portfolio’ posts. <?php $args = … Read more