• I would like to include some code in my header.php that will display an image from an existing page in the header of my site.

    I’m using catch that image to extract the image url correctly, but not sure how to add the page address to the code – this is what I tried…

    <img src="http://mysite.co.uk/sample-blog1/logo/" <?php echo catch_that_image() ?> alt="<?php the_title(); ?>"/>

    Any advice most welcome – thanks

Viewing 1 replies (of 1 total)
  • I’m not familiar with Catch that Image but can see your code should be:
    <img src="http://mysite.co.uk/sample-blog1/logo/<?php echo catch_that_image() ?>" alt="<?php the_title(); ?>" />

Viewing 1 replies (of 1 total)

The topic ‘Advice on catch_that_image function?’ is closed to new replies.