How does one make the blog post feature images all clickable to the blog post in Upfront/Fixer?

Hey there:
How does one make the blog post feature images all clickable to the blog post in Upfront/Fixer?

:slight_smile:

  • Michael Bissett

    Hey @Greg,

    This'll require editing the code for Upfront itself, which means that you'll want to note down the following changes, as they'll be lost on an update to the plugin:

    Inside of line 149 of:

    /upfront/elements/upfront-posts/lib/class_upfront_posts_post_view.php

    You'll want to change this:

    $thumbnail = get_the_post_thumbnail($this->_post->ID);

    To this:

    $thumbnail = '<a href="' . get_permalink($post->ID) . '" >' . get_the_post_thumbnail($this->_post->ID) . '</a>';

    That should do the trick (it works for me on my site). :slight_smile:

    Hope this helps!

    Kind Regards,
    Michael

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.