WordPress.org

Support

Support » Plugins and Hacks » [Plugin: Image Credit] Template Tag?

[Plugin: Image Credit] Template Tag?

Viewing 4 replies - 1 through 4 (of 4 total)
  • @betadog,

    It’s a bit hacky, but since the plugin provides a shortcode, you could probably use do_shortcode() as a template tag.

    betadog
    Participant

    @betadog

    Thanks, that is a good idea.

    But let me rephrase my question then: what is the shortcode to display the template tag?

    betadog
    Participant

    @betadog

    Okay, too early in the morning. This should have read: what is the shortcode to display the image credit?

    Haven’t actually used the plugin yet (actually couldn’t get it working…) so I don’t know. Just add an image with an image credit but WITHOUT a caption and then look at the HTML view.

    If that doesn’t pan out, you’ll have to see how the plugin stores the credit and then use one of the WP template tags to call the image object and grab the field from there (this is all just guess work).

    -Mark

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: Image Credit] Template Tag?’ is closed to new replies.