Skip to content

Tag: hover

WordPress featured image on hover – jQuery.Deferred exception: hrefValue is not defined

I’m trying to make website which shows posts featured image on link hover. Example: So I started to learn basic jQuery and php and I tried to achieve that by using get_the_post_thumbnail($post_id); function which return image basing on post id. To get id I used url_to_postid(); Wordpress function. As it states it: “Examine a URL and try to determine the