How To: Fix no post images on index page
-
There is a typographic error in this theme’s code that prevents post images such as leading thumbnails from displaying on any index page and anywhere the rethink_main_image() function is used on a template.
The fix:
Replace line 135 of wp-content/themes/rethink/functions/inkthemes-functions.php with this:
print "<a href='" . esc_url($permalink) . "'><img src='" . esc_url($first_img) . "' width='250px' height='160px' class='postimg wp-post-image' alt='" . esc_attr($the_title) . "' /></a>";
or add a single quote
'
after<img src=
and in front of the subsequent double quote"
- The topic ‘How To: Fix no post images on index page’ is closed to new replies.