• Hi,

    I can confirm that for me this also doesn’t work with TwentyTwenty theme.

    The issue lies in TwentyTwenty theme using has_post_thumbnail() function to determine whether to display the featured image template code in template-parts/featured-image.php, has_post_thumbnail() will always return false as this function calls get_post_meta() which is hooked into by Feslider and returns false if Feslider is overriding the Featured Image.

    Not sure of the best way to get round the issue in terms of dealing with people using the has_post_thumbnail() to determine whether to display featured images, haven’t looked into it deeply enough yet.

    Matt

Viewing 1 replies (of 1 total)
  • Thread Starter mattallenuk

    (@mattallenuk)

    As a quick update I have just disabled the get_post_metdata filter from the Feslider plugin and I get the desired functionality. Not sure that is the fix though ultimately, there must be a reason that the meta data is being filtered?

Viewing 1 replies (of 1 total)
  • The topic ‘Does’t work with Twenty Twenty’ is closed to new replies.