• mtwelve

    (@mtwelve)


    Hello,

    I’ve searched endlessly but could someone tell me how to add a filter to always set the Gallery shortcode to link to the image file?

    I’ve seen bits about filter the title etc but nothing concrete and nothing about editing the ‘link’ attribute.

    Here is some code for excluding a PT from the gallery if it gets people in the right direction: here

    Many Thanks!

  • The topic ‘Setting / Modifying "link=" for Gallery Shortcode’ is closed to new replies.