Support » Plugin: AMP for WP - Accelerated Mobile Pages » Featured Images change thumbnail

  • Hi! I edited the file featured-image.php to change the thumbnail used, you know, like:
    $thumb_url_array = wp_get_attachment_image_src($thumb_id, 'my_thumb', true);
    it works, I’d only need a way to make this change survive the next updates of plugin. Does anyone knows if there is a way?
    Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor ampforwp

    (@ampforwp)

    Hi @planetcappe,

    We are so sorry for getting back to you lately.
    This week we are going to release a tutorial on ampforwp.com/blog to modify featured image and to make it update proof.

    Please keep an eye on the blog.

    Regards
    Marqas

    Thread Starter planetcappe

    (@planetcappe)

    Hi @ampforwp,
    I’m wondering if you had the time to release that tutorial; I’ve been on your blog many times but I didn’t find it.
    Thanks very much!

    Thread Starter planetcappe

    (@planetcappe)

    Hi @ampforwp, any news?

    Hey @planetcappe

    Sorry for the extremely delayed response

    You could do as follows here :

    1. download zip file from here and put it in

    /wp-content/plugins

    folder
    2. simply copy your changes into the featured-image.php folder in the custom-plugin folder and your good to go,

    These changes will stay even if you update the plugin 🙂

    Regards
    Khaled

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Featured Images change thumbnail’ is closed to new replies.