WordPress.org

Ready to get started?Download WordPress

Forums

Credit Tracker
[resolved] Featured Images (3 posts)

  1. mgk
    Member
    Posted 3 weeks ago #

    Can I get this to work with featured images?

    Or, is there a way to retrieve the extra fields like 'credit-tracker-author' so that I can insert them manually?

    Thanks,
    Mark

    https://wordpress.org/plugins/credit-tracker/

  2. mgk
    Member
    Posted 3 weeks ago #

    Just in case anyone else is looking for this I worked out I can use this code;

    $image['author'] = wptexturize(get_post_meta(get_post_thumbnail_id($post->ID),'credit-tracker-author',true));

  3. labs64
    Member
    Plugin Author

    Posted 3 weeks ago #

    Hi mgk,

    Thank you for your interest to our plugin and prompt investigation.
    You are completely right, using provided code snippet you can access additional information stored by Credit Tracker plugin.

    Further you can always refer to the source code of the plugin:
    https://github.com/Labs64/credit-tracker/blob/master/credit-tracker-functions.php
    … function get_images() for instance shows how to access this information.

    Best Regards,
    Labs64

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.