Title: wphax's Replies | WordPress.org

---

# wphax

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

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

 Search replies:

## Forum Replies Created

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

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Question about Post Thumbnails](https://wordpress.org/support/topic/question-about-post-thumbnails/)
 *  Thread Starter [wphax](https://wordpress.org/support/users/wphax/)
 * (@wphax)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/question-about-post-thumbnails/#post-1842107)
 * Hmm. Anyone?
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Getting error on localhost (xampp), but not online — problem with the loop](https://wordpress.org/support/topic/getting-error-on-localhost-xampp-but-not-online-problem-with-the-loop/)
 *  Thread Starter [wphax](https://wordpress.org/support/users/wphax/)
 * (@wphax)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/getting-error-on-localhost-xampp-but-not-online-problem-with-the-loop/#post-1808580)
 * That works, thanks a lot. Looks great on localhost now and on the web.
 * 🙂
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Getting error on localhost (xampp), but not online — problem with the loop](https://wordpress.org/support/topic/getting-error-on-localhost-xampp-but-not-online-problem-with-the-loop/)
 *  Thread Starter [wphax](https://wordpress.org/support/users/wphax/)
 * (@wphax)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/getting-error-on-localhost-xampp-but-not-online-problem-with-the-loop/#post-1808570)
 * I’m not really sure what you mean or what I would do to fix that, could you explain
   a little more?
 *   Forum: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
   
   In reply to: [Need Help using select tag in my custom options page](https://wordpress.org/support/topic/need-help-using-in-my-custom-options-page/)
 *  Thread Starter [wphax](https://wordpress.org/support/users/wphax/)
 * (@wphax)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/need-help-using-in-my-custom-options-page/#post-1809180)
 * Figured it out, had to set up my options like this:
 *     ```
       <?php $h2_color = get_option('h2_color'); ?>
       <option value="red" <?php if($h2_color == "red") { echo "selected='selected'"; } ?>>Red</option>
       ```
   
 *   Forum: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
   
   In reply to: [Need Help using select tag in my custom options page](https://wordpress.org/support/topic/need-help-using-in-my-custom-options-page/)
 *  Thread Starter [wphax](https://wordpress.org/support/users/wphax/)
 * (@wphax)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/need-help-using-in-my-custom-options-page/#post-1809122)
 * Anyone? 🙂
 *   Forum: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
   
   In reply to: [Last loop not displaying on a homepage with 3 loops](https://wordpress.org/support/topic/last-loop-not-displaying-on-a-homepage-with-3-loops/)
 *  Thread Starter [wphax](https://wordpress.org/support/users/wphax/)
 * (@wphax)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/last-loop-not-displaying-on-a-homepage-with-3-loops/#post-1806087)
 * Fixed my problem! I needed to offset the last query 2 posts, like this:
 * `$my_query = new WP_Query('category_name=portfolio&posts_per_page=2&offset=2');`
 * Just posting in case anyone else runs into this problem.
 *   Forum: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
   
   In reply to: [Last loop not displaying on a homepage with 3 loops](https://wordpress.org/support/topic/last-loop-not-displaying-on-a-homepage-with-3-loops/)
 *  Thread Starter [wphax](https://wordpress.org/support/users/wphax/)
 * (@wphax)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/last-loop-not-displaying-on-a-homepage-with-3-loops/#post-1806084)
 * The `<?php wp_reset_query(); ?>` code didn’t work, I put it just before each 
   query but nothing changed.
 *   Forum: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
   
   In reply to: [Last loop not displaying on a homepage with 3 loops](https://wordpress.org/support/topic/last-loop-not-displaying-on-a-homepage-with-3-loops/)
 *  Thread Starter [wphax](https://wordpress.org/support/users/wphax/)
 * (@wphax)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/last-loop-not-displaying-on-a-homepage-with-3-loops/#post-1806083)
 * Well the last query isn’t displaying any posts. I have it set for the first query
   to display 2 posts from the category `portfolio`, and also the third query does
   the same thing, but I don’t want it to duplicate posts. Query 2 takes 1 post 
   from the category `blog`. There’s 3 posts in the portfolio category, and the 
   first loop is displaying the first 2, but the last loop is not displaying any
   posts at all.
 *   Forum: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
   
   In reply to: [Last loop not displaying on a homepage with 3 loops](https://wordpress.org/support/topic/last-loop-not-displaying-on-a-homepage-with-3-loops/)
 *  Thread Starter [wphax](https://wordpress.org/support/users/wphax/)
 * (@wphax)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/last-loop-not-displaying-on-a-homepage-with-3-loops/#post-1806056)
 * Can anyone help…..?
 *   Forum: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
   
   In reply to: [Creating Default Text for Custom Theme Options](https://wordpress.org/support/topic/creating-default-text-for-custom-theme-options/)
 *  Thread Starter [wphax](https://wordpress.org/support/users/wphax/)
 * (@wphax)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/creating-default-text-for-custom-theme-options/#post-1800679)
 * Actually, I fixed this myself. This is the code I used for reference if anyone
   else might need it:
 *     ```
       <?php
               	$headline_one = get_option('headline_one');
   
       			if($headline_one == "") {
       				echo "<h1 class=\"center font-georgia\">This is the default text for the first headline and you can't change that. Well actually, you can in the options panel now! Weeeeeeeee!</h1>";
       			} elseif($headline_one != "") {
       				echo "<h1 class=\"center font-georgia\">" . get_option('headline_one') . "</h1>";
       			}
       		?>
       ```
   

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