WordPress.org

Ready to get started?Download WordPress

Forums

Iconic One
[resolved] [closed] images are not displaying until full post is opened (5 posts)

  1. ankursidroy
    Member
    Posted 11 months ago #

    images are not displaying until full post is opened.. no images are displayed before i click "read more" in the home page.. how to solve this problem in http://www.playnstudy.com/ ?

  2. Jesin A
    Member
    Posted 11 months ago #

    This is because this theme uses the_excerpt() function for home and archive pages which doesn't display images.

    So first create a child theme. Then copy iconic-one/content.php to iconic-one-child/content.php

    Edit iconic-one-child/content.php and find the_excerpt() and replace it with the_content()

    Go to Appearance > Themes and activate this child theme.

  3. Themonic
    Member
    Theme Author

    Posted 11 months ago #

    @ankur

    The theme will display the images on homepage only if you have selected featured image.

    Refer: http://wordpress.org/support/topic/why-i-cant-veiw-my-image-on-homepage?replies=4

    @Jesin

    Thank you for diving in.

  4. Jesin A
    Member
    Posted 11 months ago #

    @Themonic

    You're welcome! But ankur's images are all wide so if he uses them as featured images it'd be cropped.

    Also I find that featured images are not displayed on is_single() pages which is why I suggested creating a child theme.

  5. Themonic
    Member
    Theme Author

    Posted 11 months ago #

    Iconic One uses thumbnail function to generate homepage images from featured images, it means they are resized once during upload to fit along with the excerpt.

    Featured images are not displayed on single pages to give manual control to the blogger to place images where ever they like for eg. after the first paragraph.

    Auto display for featured images on single posts is answered here for anyone who is looking http://wordpress.org/support/topic/how-to-display-the-featured-image-below-the-title?replies=9

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic