• Resolved Jacky

    (@h0_)


    hi,
    is it possible to migrate this plugin to wordpress with <figcaption> tag?
    if caption exists show the credit after caption.
    if caption does not exists, create new figcaption in the photo?
    because i want it to better integrate to facebook instant articles
    thank you.

    • This topic was modified 7 years, 6 months ago by Jacky.
Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author pepe

    (@pputzer)

    You can, but currently not without some customization. Please have a look at this thread for starters.

    Thread Starter Jacky

    (@h0_)

    look through the code and i found theres a part to Inject markup to figcaption
    but i don’t know how to put credit in to figcaption?

    Plugin Author pepe

    (@pputzer)

    You can use the Media Credit API to retrieve or print the credit for an attachment. (Note: $post in the API documentation generally means the attachment ID or object, as attachments are special kind of post internally.)

    Thread Starter Jacky

    (@h0_)

    will you consider to make a feature about this??
    thank you

    Plugin Author pepe

    (@pputzer)

    Yes, I am. However, I can’t give you an estimate on when I’ll get around to it yet.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Possible to use figcaption?’ is closed to new replies.