In the example below, I’ve inserted <?php bloginfo('template_url'); ?> within the larger statement. However, it produces a blank screen. How would I get this to work?
<?php next_posts_link('<img src="<?php bloginfo('template_url'); ?>/images/next-page.png" />') ?>
You have to concatenate the „parts“ via the dot-operator (
.).The screen was blank because you had a
Parse Errorin there anddisplay_errorsis probably off in yourphp.ini