Support » Plugin: WP YouTube Lyte » Placeholder image

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Optimizing Matters

    (@optimizingmatters)

    yes, with a couple of lines of code that hook into the lyte_match_thumburl filter, e.g.;

    add_filter('lyte_match_thumburl','lyte_my_own_thumburl');
    function lyte_my_own_thumburl($thumb) {
            return "https://cdn.shortpixel.ai/client/to_webp,q_glossy,ret_img,w_300/https://blog.futtta.be/wp-content/uploads/2019/06/Selection_364-300x169.jpg";
    }

    hope this helps,
    frank

    Great news! Thanks Frank

    Morning Frank, sorry to wake you up…

    On my site, I have several pages that use your plugin. But now they all have the same placeholder image. Is there a way to give only one (or each) their own placeholder image?

    Assuming to put this in the functions.php…

    Thanks again for all the service!

    • This reply was modified 5 months, 3 weeks ago by Wendihihihi.
    • This reply was modified 5 months, 3 weeks ago by Wendihihihi.
    Plugin Author Optimizing Matters

    (@optimizingmatters)

    sure, but you’ll have to add that logic in the function I provided.

    I managed Frank. Thank you so much!

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    great job! 🙂

Viewing 6 replies - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.