Title: thomasareed's Replies | WordPress.org

---

# thomasareed

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

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

 Search replies:

## Forum Replies Created

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

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Site hacked!](https://wordpress.org/support/topic/site-hacked-58/)
 *  Thread Starter [thomasareed](https://wordpress.org/support/users/thomasareed/)
 * (@thomasareed)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/site-hacked-58/#post-5117117)
 * I was kind of hoping for more specific advice. I’ve already done most of the 
   things in the Hardening WordPress document, and have been working through some
   of those other documents as well. However, I’m still concerned about how the 
   hacker got in in the first place, and why I’m not finding any modifications where
   most pages tell me to look.
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Display multiple post excerpts on a page](https://wordpress.org/support/topic/display-multiple-post-excerpts-on-a-page/)
 *  Thread Starter [thomasareed](https://wordpress.org/support/users/thomasareed/)
 * (@thomasareed)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/display-multiple-post-excerpts-on-a-page/#post-2925502)
 * Thanks for the response, but yesterday I finally managed to work out a solution
   on my own. I simply did this:
 *     ```
       <?php
       $args= array(
       	'category_name' => 'front-page',
       	'posts_per_page' => -1,
       	'orderby' => 'date',
       	'order' => 'ASC'
       );
       $the_query = new WP_Query( $args );
       $numBoxes = 0;
       $boxGroup = 1;
   
       // The Loop
       while ( $the_query->have_posts() ) {
       	$the_query->the_post();
       	if ($boxGroup > 1)
       		$hideStyle = 'style="display: none;" ';
       	else
       		$hideStyle = '';
       	if ($numBoxes == 0)
       		echo '<div '.$hideStyle.'class="frontBoxGroup" id="frontBoxGroup-'.$boxGroup.'">';
       	echo '<div class="frontBoxContent">';
       	the_content();
       	echo '</div>';
       	$numBoxes++;
       	if ($numBoxes >= 3) {
       		echo '</div>'."\r";
       		$numBoxes = 0;
       		$boxGroup++;
       	}
       }
       if ($numBoxes < 3)
       	echo '</div>'."\r";
       ?>
       ```
   
 * After that block of code, you just have to do:
 * `<?php wp_reset_query(); ?>`
 * Then proceed with the code to display the content of the page.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Update overwrote index.php](https://wordpress.org/support/topic/update-overwrote-indexphp/)
 *  Thread Starter [thomasareed](https://wordpress.org/support/users/thomasareed/)
 * (@thomasareed)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/update-overwrote-indexphp/#post-2515998)
 * It doesn’t seem that that ought to be the case, but I suppose one could argue
   that I’m using it incorrectly by having the base address for my blog be a news.
   php page, rather than a news/ subdirectory. I suppose I’ll just have to accept
   that I have to either replace the index.php file with my own file after every
   update or move the WordPress stuff into a subdirectory. (Any pointers to instructions
   on doing the latter?)
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Update overwrote index.php](https://wordpress.org/support/topic/update-overwrote-indexphp/)
 *  Thread Starter [thomasareed](https://wordpress.org/support/users/thomasareed/)
 * (@thomasareed)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/update-overwrote-indexphp/#post-2515992)
 * Is this not something that anyone else has ever experienced?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Events Manager - Calendar, Bookings, Tickets, and more!] Tweet This plugin plus Events Manager](https://wordpress.org/support/topic/tweet-this-plugin-plus-events-manager/)
 *  Thread Starter [thomasareed](https://wordpress.org/support/users/thomasareed/)
 * (@thomasareed)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/tweet-this-plugin-plus-events-manager/#post-2514089)
 * Any ideas?
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Stop pinging myself!](https://wordpress.org/support/topic/stop-pinging-myself/)
 *  Thread Starter [thomasareed](https://wordpress.org/support/users/thomasareed/)
 * (@thomasareed)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/stop-pinging-myself/#post-2097351)
 * Ahh, that makes sense. Although, that doesn’t seem like a very effective strategy
   if you get a reply that doesn’t answer the question, as I’ve seen happen. But
   I suppose there’s no perfect way for this sort of thing to work! 🙂
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Stop pinging myself!](https://wordpress.org/support/topic/stop-pinging-myself/)
 *  Thread Starter [thomasareed](https://wordpress.org/support/users/thomasareed/)
 * (@thomasareed)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/stop-pinging-myself/#post-2097347)
 * I’m not sure what’s wrong with a single bump in a case like this – how else do
   you suggest I get a simple question noticed after it’s spent 2 days falling off
   the radar? But, in any case, thanks for the answer. I’ll give that plugin a try.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Weird spacing between sentences](https://wordpress.org/support/topic/weird-spacing-between-sentences/)
 *  Thread Starter [thomasareed](https://wordpress.org/support/users/thomasareed/)
 * (@thomasareed)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/weird-spacing-between-sentences/#post-2086939)
 * Bump!
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Weird spacing between sentences](https://wordpress.org/support/topic/weird-spacing-between-sentences/)
 *  Thread Starter [thomasareed](https://wordpress.org/support/users/thomasareed/)
 * (@thomasareed)
 * [14 years, 12 months ago](https://wordpress.org/support/topic/weird-spacing-between-sentences/#post-2086935)
 * Here’s a screenshot of the problem in action. I’ve seen it in both Safari 5.0.5
   and Firefox 4.0.1, both on the Mac. It’s tricky to spot, since it only happens
   where the line breaks between sentences. Notice the slight indent before the 
   words At and There.
 * [http://www.reedcorner.net/images/wpissue.png](http://www.reedcorner.net/images/wpissue.png)
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Weird spacing between sentences](https://wordpress.org/support/topic/weird-spacing-between-sentences/)
 *  Thread Starter [thomasareed](https://wordpress.org/support/users/thomasareed/)
 * (@thomasareed)
 * [14 years, 12 months ago](https://wordpress.org/support/topic/weird-spacing-between-sentences/#post-2086925)
 * Nobody has any ideas?
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Uploading photos](https://wordpress.org/support/topic/uploading-photos-11/)
 *  Thread Starter [thomasareed](https://wordpress.org/support/users/thomasareed/)
 * (@thomasareed)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/uploading-photos-11/#post-1970826)
 * I’ve seen that advice numerous times, and it just plain doesn’t work. Maybe it
   does for some, but it didn’t for me, and I’ve seen lots of other posts, on these
   forums and others, from people who never got it working with that sort of trick
   either. Honestly, this needs to be addressed, because I finally found a solution,
   and it wasn’t that simple, but wasn’t difficult either once I decided to ignore
   all the advice that wasn’t working and that maybe it wasn’t something I had done
   wrong with installation and configuration.
 * After talking to some folks on another forum and with the folks at pair Networks(
   my web service provider), I’ve found the problem. Files uploaded by PHP, and 
   folders created by PHP, were being assigned the owner “nobody”. pair support 
   said that I needed to run PHP through php-cgiwrap, which would cause files uploaded
   by PHP scripts to have my user as the owner. This appears to have solved the 
   problem, and I have switched the permissions on the upload folder back to 755.
 * For others using pair Networks, here’s the knowledgebase article for their system:
 * [http://kb.pair.com/f25](http://kb.pair.com/f25)
 * For everyone else having the same problem and unable to resolve it, talk to your
   web hosting service provider.

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