Support » Plugin: Attachments » Work with post thumbnail editor

  • Would you be open to updating your plugin to work with post thumbnail editor.

    If you aren’t familiar with it, its a very useful plugin allowing the user to choose the crop on a featured image or other defined thumbnail size ( (please note, this is not my plugin)

    In terms of integration, it adds a link below the “remove featured image” link in the featured image meta, however if using your plugin to create a secondary featured image that link isn’t there.

    I had a look at the code for your plugin and think its a simple fix, which his working for me at the moment. I added the following line after line 1193 in class-attachments.php

    <div><?php if(is_plugin_active("post-thumbnail-editor/post-thumbnail-editor.php")) { echo("<a href=\"" . get_admin_url(get_current_blog_id(),"upload.php?page=pte-edit&pte-id={$attachment->id}") . "\" target=\"_blank\">Post Thumbnail Editor</a>");} ?></div>

Viewing 1 replies (of 1 total)
  • Plugin Author Jonathan Christopher


    I think the best thing to do here would be to add a hook to facilitate this, I’ll make a note to review the linked plugin soon and include a proper hook in the next release.

Viewing 1 replies (of 1 total)
  • The topic ‘Work with post thumbnail editor’ is closed to new replies.