-
AuthorPosts
-
September 23, 2014 at 2:53 pm #110895
When making a post and inserting images, they show up at the bottom to select them fine, but only randomly do they show up above the post heading and on the “blog posts” page above the heading. I have tried posting certain posts that do not show them exactly like I am posting the ones that Do work, but still there is some sort of hang up.. here is the URL: http://wooddudeflooring.com/monthly-specials/
Hope this explanation makes sense.
September 23, 2014 at 2:53 pm #110897This reply has been marked as private.September 23, 2014 at 4:15 pm #110987Hi Will,
Thanks for writing in!
Currently there is no featured image specified for the posts. Please set featured image for the blog posts first: http://en.support.wordpress.com/featured-images/
September 23, 2014 at 4:52 pm #111025I had tried that… just tried it again for the second post from the top, still nada. Besides, if I don’t specify a Featured Image it will setup all of them by default – with left and right selection arrows – showing the first one in the order. Again, there are currently 2 posts (ironically the one at the top of the list is one of them) that show the images working and they do Not have a Featured Image selected.
September 24, 2014 at 2:25 am #111197Hi Will,
Upon checking your site I can see why the images are not showing.
In using gallery type post the images needs to be attached/uploaded to the post using add media to work.The post at the top shows an image slider and is working because you have uploaded the images on that post.
http://screencast.com/t/0oP4shDULcz
However there is no feature in wordpress to reattached the image into another post.
I found a workaround online but it’s not that convenient. You can try this out.
1. Paste the code below in your child theme functions.php
add_filter("manage_upload_columns", 'upload_columns'); add_action("manage_media_custom_column", 'media_custom_columns', 0, 2); function upload_columns($columns) { unset($columns['parent']); $columns['better_parent'] = "Parent"; return $columns; } function media_custom_columns($column_name, $id) { $post = get_post($id); if($column_name != 'better_parent') return; if ( $post->post_parent > 0 ) { if ( get_post($post->post_parent) ) { $title =_draft_or_post_title($post->post_parent); } ?> <strong><a href="<?php echo get_edit_post_link( $post->post_parent ); ?>"><?php echo $title ?></a></strong>, <?php echo get_the_time(__('Y/m/d')); ?> <br /> <a class="hide-if-no-js" onclick="findPosts.open('media[]','<?php echo $post->ID ?>');return false;" href="#the-list"><?php _e('Re-Attach'); ?></a></td> <?php } else { ?> <?php _e('(Unattached)'); ?><br /> <a class="hide-if-no-js" onclick="findPosts.open('media[]','<?php echo $post->ID ?>');return false;" href="#the-list"><?php _e('Attach'); ?></a> <?php } }
The code will add a column in media library where you can re attach the image.
2. Navigate to WP Dahsboard > Media > Library.
Click on re-attach and select to which post you would like the image to be attached.http://screencast.com/t/ixNuhoRvty7
Note: You won’t be needing this if you are using different images for each gallery type post. This is only helpful if
you would like to use the same image from another post.Hope that helps.
September 24, 2014 at 9:34 am #111470Thanks for the time spent on this as my head has been pounding trying to figure this out. Considering everything you found out, I figured out that since I already uploaded the images and used them in a Gallery page so to speak, they are “married” to that page so that disables being able to have the default slider be active/show images above the titles on a given post. What I may do is rename the images locally on the HD then upload the images Again to each respectable post. That way WP thinks they are brand new images and each one gets “married” to it’s assigned post. Then again I may try the code you provided as well.
Thank you guys (and gals)!
September 24, 2014 at 11:08 am #111556You’re most welcome Will!
-
AuthorPosts