Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter dkstudiolt

    (@dkstudiolt)

    if (strpos($template, ‘%THUMBNAIL%’) !== false) {
    if ($post->ID != $post_id) {
    $post = &get_post($post_id);
    }
    $value = str_replace(“%THUMBNAIL%”, get_the_post_thumbnail($post->ID, ‘thumbnail’), $value);
    }

    That’s the code, which was in the previous version of the plugin 🙂

    Cannot edit in github, because I’m not registered there. It should be on the line 1248 🙂

    Thread Starter dkstudiolt

    (@dkstudiolt)

    I read somewhere, that you can add this %THUMBNAIL% and that worked, it actually showed the thumbnail in widget of every post. But after the update, it’s no longer working.

    Is there a possibility to make somehow to show a thumbnail in a widget?

    With regards,
    dkStudio.

Viewing 2 replies - 1 through 2 (of 2 total)