Winter Special Sale! Unlock a 20% OFF on Bundle of 240+ WP Themes & 5 Plugins. Use code "SNOW20"
This Winter, Enjoy a cozy 25% discount on Premium WordPress Themes with the coupon code "WINTER25" at Checkout.

Feature Image Link to post

Home Forums VW Theme VW MOBILE APP PRO THEME Feature Image Link to post

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #46752
    Ivan Petrić
    Participant

    Hi….
    On free version feature image link to post working fine but on pro doesn’t.
    Tried some Codes for function.php, or plugin from wordpress still doesn’t works.
    Pls, can u provide fix. PS: Im using three column blog template…

    function wpb_autolink_featured_images( $html, $post_id, $post_image_id ) {
    If (! is_singular()) {     
    $html = '<a href="' . get_permalink( $post_id ) . '" title="' . esc_attr( get_the_title( $post_id ) ) . '">' . $html . '</a>';
    return $html;
    } else { 
    return $html; 
    } 
    }
    add_filter( 'post_thumbnail_html', 'wpb_autolink_featured_images', 10, 3 );
    • This topic was modified 3 years, 8 months ago by Ivan Petrić.
    #46783
    developer vwtheme
    Participant

    Hi,

    Can you share your site URL and please share a screenshot of which post featured image link is not working it will help us to provide you a better solution.

    Many Thanks

    #46798
    Ivan Petrić
    Participant

    I will send u email with log in credentials. I made some tweaks, but also I tried fresh install on localhost, feature img link not working…wit code provided.
    Also, i need to inform u, I fixed tag page, taking some codes from search.php page.
    PS: I removed link to post code from funcion.php

    • This reply was modified 3 years, 8 months ago by Ivan Petrić.
    #46827
    developer vwtheme
    Participant

    Hi,

    We have received your mail we will give you an update in a short while.

    Many Thanks

    #46919
    Ivan Petrić
    Participant

    Feature image working, so I suppose I make it work. Thank u. Best regards

    #46930
    developer vwtheme
    Participant

    Hi,

    You are welcome.

    If you have any issue please feel free to contact us.

    Many Thanks

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