• Firstly, liking this theme so far. Now on to my questions…

    1) it seems if I don’t upload a featured image, that a “broken image” icon is displayed; did I miss a setting somewhere, or am I required to use a featured image for each/every post?

    2) will only the small silhouette user avatar be shown, regardless of what you setup on your specific user settings page?

    The url: https://www.lifeofawrapper.com/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Chevy, while I’m not the author of the theme, I have been hacking away at it for a few days to customize it to my needs.

    I can help with #1, though I’ve not had the need to modify the code in such a way to handle #2.

    This theme sets a ‘default’ featured image, which is a no no of course, so if you don’t set a featured image, you’re going to get the default, in this case it’s going to be images/default.png

    So, if you open up content-single.php and remove the else statement, you will stop getting a default featured image.

    // content-single.php lines 32-45
    <?php if ( has_post_thumbnail( ) )
    	{
    		the_post_thumbnail( );
    
    	}
    // Remove this
    	else
    		{
    			//To display the default featured image in posts
    			$img_url = esc_url(get_template_directory_uri() . '/images/default.png');
    
    			echo "<img src={$img_url} >";
    		}
    // Do not remove past here.
    ?>
    Thread Starter chevy454

    (@chevy454)

    Awesome, thanks for the direction! I also had to remove the else statement in content.php as it was doing the same thing on the main blog roll page.

    Theme Author Imran Sayed

    (@gsayed786)

    @chevy454
    Thank you for downloading the theme.
    Looks like your questions have been answered by Jerry

    Should you need any help please write to me..

    Theme Author Imran Sayed

    (@gsayed786)

    @jerry
    Thank you for downloading the theme
    And Thanks for the help!

    Cheers!
    Ghafir

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘No Featured image=broken image & Avatar question’ is closed to new replies.