Title: r_chee's Replies | WordPress.org

---

# r_chee

  [  ](https://wordpress.org/support/users/r_chee/)

 *   [Profile](https://wordpress.org/support/users/r_chee/)
 *   [Topics Started](https://wordpress.org/support/users/r_chee/topics/)
 *   [Replies Created](https://wordpress.org/support/users/r_chee/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/r_chee/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/r_chee/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/r_chee/engagements/)
 *   [Favorites](https://wordpress.org/support/users/r_chee/favorites/)

 Search replies:

## Forum Replies Created

Viewing 7 replies - 1 through 7 (of 7 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Photo Gallery, Sliders, Proofing and Themes - NextGEN Gallery] "Unexpected error" when uploading](https://wordpress.org/support/topic/unexpected-error-when-uploading-1/)
 *  [r_chee](https://wordpress.org/support/users/r_chee/)
 * (@r_chee)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/unexpected-error-when-uploading-1/#post-7254694)
 * Hi, just to add a bit of weight to your post Sven, I’m having exactly the same
   issue by the sound of it.
 * I can create the Gallery, choose the files to upload and set it away (note I 
   always resize images first so no images are larger than 1mb), each one does the
   upload however shows a warning triangle at the end.
 * Once the batch has finished I get the same error “An unexpected error occured.
   This is most likely due to a server misconfiguration.”
 * The odd thing is this, if I go to do it again, the gallery I have created is 
   not in the drop down list at the top of the add image gallery dropdown. However,
   if I navigate away to the Manage Gallery section I notice that it has created
   a gallery of the same name for each image that failed to upload, each with one
   image in. However clicking in to any of these galleries I just see the image 
   cannot be displayed thumb instead of the image.
 * For example, if I attempt to upload 12 images to a gallery called Gallery 1, 
   the process will fail but I will have created 12 Gallery 1 galleries all with
   one missing image in it. Make sense?
 * I am running the latest version of the Gallery and WordPress. I do already have
   many galleries that still work – so I guess the plug in is still working for 
   the viewer.
 * Hope this ramble helps troubleshoot!
 * Mic
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] WooCommerce Styling issues](https://wordpress.org/support/topic/woocommerce-styling-issues/)
 *  Thread Starter [r_chee](https://wordpress.org/support/users/r_chee/)
 * (@r_chee)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/woocommerce-styling-issues/#post-4133352)
 * After my 3rd day of debugging I’ve got it. And it wasn’t what I expected – but
   then again I am still but a novice. One piece of code was wrong.
 * JQuery was fine, in fact everything was except the `<body>` opening tag in my
   theme.
 * Once I changed it to `<body <?php body_class(); ?>>` it all worked fine.
 * Not sure why that would be but there you go. Thought I’d paste the result on 
   the off chance it helps someone else!
 * Thanks for your input thefieldset.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] WooCommerce Styling issues](https://wordpress.org/support/topic/woocommerce-styling-issues/)
 *  Thread Starter [r_chee](https://wordpress.org/support/users/r_chee/)
 * (@r_chee)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/woocommerce-styling-issues/#post-4133341)
 * Hi, thanks for you reply.
 * Yes I have enabled the WooCommerce stylesheet, and on a default wordpress supplied
   theme it works, just switching to my theme breaks it.
 * As far as I can tell I have no other mentions to jQuery on my page, it is simply
   called in my Functions.php, indeed adding a little script to test jQuery shows
   me that it works – and yet WooCommerce still just shows all the products in one
   long vertical list.
 * I’m afraid the installation is on an offline test environment so I can’t show
   a link to the site. However, the code I am using in my Functions.php to enqueue
   jQuery is
 *     ```
       if ( !is_admin() ) {
             wp_deregister_script('jquery');
             wp_register_script('jquery', ("http://ajax.googleapis.com/libs/jquery/1.10.2/jquery.min.js"), false, '1.10.2');
             wp_enqueue_script('jquery');
       }
       ```
   
 * And thats it, no mention of it my header, and according to posts have read as
   long as jQuery is not conflicting it should work….. what am I missing?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Plugin: WooCommerce] Styling breaks](https://wordpress.org/support/topic/plugin-woocommerce-styling-breaks/)
 *  Thread Starter [r_chee](https://wordpress.org/support/users/r_chee/)
 * (@r_chee)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/plugin-woocommerce-styling-breaks/#post-4133140)
 * OK, have done. Thanks Esmi
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Missing posts from query_posts](https://wordpress.org/support/topic/missing-posts-from-query_posts/)
 *  Thread Starter [r_chee](https://wordpress.org/support/users/r_chee/)
 * (@r_chee)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/missing-posts-from-query_posts/#post-3150941)
 * Sorted. Thank you so much for your advice Marvel Labs. Using what you gave me
   for inspiration and an evening of reading and tweaking we have it!
 * The code I finished with in case anyone else is struggling like i was (nothing
   worse than a forum cry for help that matches your problem with just a thank you
   and no details to copy from! 😀 ) is below. I’m very sure holes can easily be
   punched in it, but it works.
 * Thanks again.
 * R
 *     ```
       <h2 class="side-title">Pick of the day</h2>
   
       <?php $posts = get_posts('category=33&numberposts=3'); ?>
       <?php if( $posts ) : ?>
       <?php foreach( $posts as $post ) : setup_postdata( $post ); ?>
       	<div class="latest-post">
       		<div class="recent-thumb"><img src="<?php echo get_post_meta($post->ID, 'thumb_med', true); ?>" /></div>
   
       				<div class="sidebar-post">
       					<p class="side-cat"><?php the_date(); ?></p>
       					<h5 class="side-name"><?php the_title(); ?></h5>
       				</div>
       		</div>
       <?php endforeach; ?>
       <?php endif; ?>
       <?php wp_reset_query(); ?>
       ```
   
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Missing posts from query_posts](https://wordpress.org/support/topic/missing-posts-from-query_posts/)
 *  Thread Starter [r_chee](https://wordpress.org/support/users/r_chee/)
 * (@r_chee)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/missing-posts-from-query_posts/#post-3150910)
 * Oooh, close – thank you.
 * When I first used your code i got nothing but a blank screen, but after a little
   fiddling it almost works. It now shows the latest post in that category, but 
   only 1 despite asking for 3.
 * Would you mind just quickly casting your eye over what I have done and see if
   you can see where the error is – just thinking, do I need an array for the query
   if I want posts_per_page and the category?
 * Do I also need to reset the query or is that done automatically as I have specified
   posts per page as 3?
 * Thanks.
 *     ```
       <h2 class="side-title">Pick of the day</h2>
   
       <?php
       $query = 'posts_per_page=3'.'&cat=pickoftheday';
       $queryObject = new WP_Query($query);
       if ($queryObject->have_posts()) {
       	$queryObject->the_post();
       }
       ?>
       		<div class="latest-post">
       		<div class="recent-thumb"><img src="<?php echo get_post_meta($post->ID, 'thumb_med', true); ?>" /></div>
       		<div class="sidebar-post">
       				<p class="side-cat"><?php the_date(); ?></p>
       				<h5 class="side-name"><?php the_title(); ?></h5>
       		</div>
       		</div>
       ```
   
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Missing posts from query_posts](https://wordpress.org/support/topic/missing-posts-from-query_posts/)
 *  Thread Starter [r_chee](https://wordpress.org/support/users/r_chee/)
 * (@r_chee)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/missing-posts-from-query_posts/#post-3150893)
 * Thanks for the quick reply but please excuse my next question…
 * I do the above code once on the left of the page to call up 3 post headings and
   thumbnails, once down the right to call up 5 posts, and several other times throughout
   the static homepage to show just one. All from different categories.
 * If I did what I think you are suggesting wouldn’t that dictate how many posts
   were shown in each list – so I couldn’t have different amounts in each list?
 * Again, forgive me if I’ve mis-understood your advice.

Viewing 7 replies - 1 through 7 (of 7 total)