• Resolved Micha85

    (@micha85)


    Hi,
    I just installed Sydney and have added a featured image to a page which has the default template layout. Even though I can see the image in the preview window, it does not show up when I view the page. Can you help?
    Cheers!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hello there,

    Thank you for reaching out to us here.

    In order to achieve that objective, could you please try to do the following steps?

    1. Download premade Sydney child theme if you haven’t made it yet

    2. Extract/unzip it

    3. Copy content-page.php file from parent theme and paste into the child theme folder, then edit it

    4. Add this code:

    
    <?php if ( has_post_thumbnail() && ( get_theme_mod( 'post_feat_image' ) != 1 ) ) : ?>
    	<div class="entry-thumb">
    		<?php the_post_thumbnail('sydney-large-thumb'); ?>
    	</div>
    <?php endif; ?>
    

    right before this line:

    
    <header class="entry-header">
    

    5. Compress/zip the child theme folder, then install and activate it.

    Regards,
    Kharis

    Thread Starter Micha85

    (@micha85)

    Thanks a lot Kharis, that worked great and was very easy.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Featured image not showing on pages’ is closed to new replies.