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

    (@sitehatchery)

    It’s because there’s no filter defined for ‘focuswp_thumb_size’ from functions.shortcodes.php, line 177.

    So I changed the code for the slide_image function to:

    function slide_image( $array ){
    		    if( isset( $array['type'] ) && 'featured--on' == $array['type'] ){
    		        if( has_post_thumbnail( $array['item']->ID ) ){
    		            echo '<a href="'. get_permalink( $array['item'] ) .'" />';
    						echo get_the_post_thumbnail( $array['item']->ID);
    					echo '</a>';
    				}else{
    					return false;
    				}
    			}else{
    				return false;
    			}
    		} 

    Please add the filter to your next release so that it fixes this issue.

Viewing 1 replies (of 1 total)
  • The topic ‘Featured image not displaying’ is closed to new replies.