Child Thumbnails
-
Hi,
I think I found a problem in loop-children.php
In that it seems to display the thumbnail from the parent, rather than the child, in each excerpt below the post.
I changed the code from line 63 from:
echo graphene_get_post_image(get_the_id(), apply_filters('graphene_excerpt_thumbnail_size', 'thumbnail'), 'excerpt');
to:
echo graphene_get_post_image($page->ID, apply_filters('graphene_excerpt_thumbnail_size', 'thumbnail'), 'excerpt');
And it seemed to work OK for me then, though I am no expert!
—
Nick
Hello
First time on WP and first time with this theme which I found easy to get to grips with.
I’m having the same problem in that the sub pages all show the parent image even though (using WPv3) I have set the “featured image” in each sub page.
Can anyone explain where I can find my “child” php files???
Thanks!
AdminThanks for highlighting that! Fixed it.
Just discovered that you need to add thumbnail support individually for posts and pages. . . is that correct, and is that why just setting a Featured Image doesn’t automatically give the page a thumbnail in the loop-children? (By the way, it still seems like it’s not working. Does the graphene-option Slider image have to be set to a particular value?)
add_theme_support( 'post-thumbnails', array( 'page' ) );
Source: http://markjaquith.wordpress.com/2009/12/23/new-in-wordpress-2-9-post-thumbnail-images/
Viewing 5 posts - 1 through 5 (of 5 total)
- You must be logged in to reply to this topic.