Viewing 2 replies - 1 through 2 (of 2 total)
  • It looks like where you’re getting $custom_url, you’re passing in $attachment_id, which it doesn’t look like you’ve defined anywhere. A couple lines above that, you’re using a value of $attachment->ID – try replacing $attachment_id with $attachment->ID.

    Thread Starter Steve

    (@mods2003)

    Ah Yes, works a treat now thanks very much!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘gallery template’ is closed to new replies.