Duh! Well spotted, d4z_c0nf – that cured it. (Scratching my head over the fact that the broken URL didn’t stop new browsers displaying it – or could they have been fetching the image from cache?)
I guess I can fix my green checkmark keyboard character by linking to some external clipart instead.
I’ve also found an outdated URL in my functions.php – but it doesn’t appear to be hurting the function:
add_filter('tc_slide_link_url' , 'my_slide_custom_link', 10, 2);
function my_slide_custom_link( $slide_link , $image_id ) {
$image_links = array(
'2837' => '?page_id=171/#reviewform',
'2996' => '?page_id=19/#bourneend',
'2997' => '?page_id=19/#kilngreen'
);
//does nothing if the requested image_id is not a key of the array
if ( ! array_key_exists( $image_id, $image_links ) )
return $slide_link;
//else returns the custom link
return 'https://localhost:8888/sitename/' . $image_links[$image_id];
}
In php, can I replace 'https://localhost:8888/sitename/'
with just '/'
?