Thumbnails loading forever

I’m thinking the images are hosted on Cloudflare’s CDN? Have you tried using a different browser to see if the issue still persists? Also, if you provide a link, other users could validate if they have the same issue.

How can I add a featured thumbnail into a div via a data-image-src?

I asked a friend for help and solved it like this <?php $thumb = wp_get_attachment_image_src( get_post_thumbnail_id($post->ID), ‘NAME_OF_THE_THUMBNAIL_KIND’ ); $url = $thumb[‘0’]; ?> <div id=”featured” data-parallax=”scroll” data-speed=”0.1″ data-natural-width=”2304″ data-natural-height=”1536″ data-ios-fix=”true” data-position=”top” data-bleed=”10″ data-image-src=”https://wordpress.stackexchange.com/questions/220324/<?php echo $url ?>”>

Display woocommerce product_cat child terms with thumbnails

I’m not completely sure that you do actually need get_terms() twice. It looks very ineffecient and overboard. I don’t know if you need this for ordering purposes, but still, there are better ways of doing this without hitting the db so hard. One alternative is to make one call to get_terms() and then use usort() … Read more

Thumbnail informations (meta)

Try the following code inside the loop and modify it as per requirement. $thumb_id = get_post_thumbnail_id(); echo ‘Name=”. get_post_field( “post_name’, $thumb_id ).'<br />’; echo ‘Alt=”. get_post_meta( $thumb_id, “_wp_attachment_image_alt’, true ).'<br />’; echo ‘Title=”. get_the_title( $thumb_id ).”<br />’; echo ‘Caption = ‘. get_post_field( ‘post_excerpt’, $thumb_id ).'<br />’; echo ‘Description = ‘. get_post_field( ‘post_content’, $thumb_id ).'<br />’; … Read more