Featured images loop for Orbit Slider

I’d use the this code to print the image instead of using the_post_thumbnail();. So that the $slider_query->current_post can be used to print the current iteration of post in WP_Query loop. Eg. <img src=”https://wordpress.stackexchange.com/questions/61017/<?php wp_get_attachment_url( get_post_thumbnail_id() ); ?>” alt=”the-alt-tag” data-caption=”#htmlCaption-<?php $slider_query->current_post; ?>” /> Update – Untested but it should work. Make sure you turn on WordPress … Read more

resize and crop thumbnail photos

I created the Post Thumbnail Editor Plugin, and this sounds like the type of problem that it should work on. However, I believe that the answer depends on how the responsiveness of your site works (i.e. how does the site change the image depending on browser size — phone, tablet, etc.). According to your example … Read more

Add Permalink to Post Thumbnail, syntax code issues

That is because you haven’t close php before anchor tag <?php $args = array( ‘post_type’ => ‘xyz’, ‘posts_per_page’ => -1, ‘orderby’ => ‘rand’ ); $loop = new WP_Query( $args ); while ( $loop->have_posts() ) : $loop->the_post(); ?> <a href=”https://wordpress.stackexchange.com/questions/66197/<?php the_permalink(); ?>” title=”<?php the_title_attribute(); ?>” > <?php the_post_thumbnail(‘wine-flow’, array(‘class’ => ‘item’)); ?> </a> <?php endwhile; ?>

“Use as featured image” not working , “Set Featured Image” hangs. GoDaddy Issue [closed]

What the problem was:- My wordpress installation is hosted on GoDaddy GoDaddy was hacked a couple of weeks back. Apparently godaddy has put some restirctions ( The reason why featured image feature was not working ) Workaround:- ( Tested only on google chrome. ) Please go to https://chrome.google.com/webstore and search for ” Edit this cookie … Read more