Title: pineconez's Replies | WordPress.org

---

# pineconez

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

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

 Search replies:

## Forum Replies Created

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

 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Is it wrong to build a theme completely in index.php?](https://wordpress.org/support/topic/is-it-wrong-to-build-a-theme-completely-in-indexphp/)
 *  Thread Starter [pineconez](https://wordpress.org/support/users/pineconez/)
 * (@pineconez)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/is-it-wrong-to-build-a-theme-completely-in-indexphp/#post-3111640)
 * Thanks for the answers guys. Marked this as resolved.
    Is there any advantage
   to multiple part php sites? I don’t really understand the idea behind that, but
   it seems most use this technique.
 * My idea on it has always been that it’s easier to have everything I need in one
   place, which is why I have always used this single file method.
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Is it wrong to build a theme completely in index.php?](https://wordpress.org/support/topic/is-it-wrong-to-build-a-theme-completely-in-indexphp/)
 *  Thread Starter [pineconez](https://wordpress.org/support/users/pineconez/)
 * (@pineconez)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/is-it-wrong-to-build-a-theme-completely-in-indexphp/#post-3111575)
 * That’s good to know.
    Based on my above codeblock, besides the missing `<?php
   get_sidebar();?>`, would I have all the necessary items for plugins? Am I missing
   anything in that regard?
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Is it wrong to build a theme completely in index.php?](https://wordpress.org/support/topic/is-it-wrong-to-build-a-theme-completely-in-indexphp/)
 *  Thread Starter [pineconez](https://wordpress.org/support/users/pineconez/)
 * (@pineconez)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/is-it-wrong-to-build-a-theme-completely-in-indexphp/#post-3111570)
 * [@andrew](https://wordpress.org/support/users/andrew/), that would be the index.
   php within my theme directory.
    Structure: ../wp-content/themes/MyTheme/index.
   php
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Multiple loops break with this bit of code, any ideas why?](https://wordpress.org/support/topic/multiple-loops-break-with-this-bit-of-code/)
 *  Thread Starter [pineconez](https://wordpress.org/support/users/pineconez/)
 * (@pineconez)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/multiple-loops-break-with-this-bit-of-code/#post-2982023)
 * Oh man, you’re the best! Just the second eyes that I needed.
    I was using <?php
   rewind_posts();?>, and neglected <?php wp_reset_query(); ?>.
 * I’ve updated the original post to show both loops as they were. Is rewind_posts();
   even necessary in this case?
 * Thanks again!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [iPhone image upload via CliqCliq (Quickpic) / Picup](https://wordpress.org/support/topic/iphone-image-upload-via-cliqcliq-quickpic-picup/)
 *  Thread Starter [pineconez](https://wordpress.org/support/users/pineconez/)
 * (@pineconez)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/iphone-image-upload-via-cliqcliq-quickpic-picup/#post-1729209)
 * No offence to the creators of the app, but, I have given three versions a try
   over the past few months. Of the three, only one was able to actually post photos,
   and even then I was not given the same options for posting photos as I am with
   the computer admin page, which would then ruin the layout and functionality of
   my website.
 * I could see implementing this code not only being easier, but better than always
   having to wait on an app that has never worked properly for my (and obviously
   most of the people who rate it’s) needs. — Given that it is even possible, which
   I do not know.
 * Thanks for the suggestion, though.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [orderby=rand Not working on custom loops](https://wordpress.org/support/topic/orderbyrand-not-working-on-custom-loops/)
 *  Thread Starter [pineconez](https://wordpress.org/support/users/pineconez/)
 * (@pineconez)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/orderbyrand-not-working-on-custom-loops/#post-1536687)
 * I got it to work, for future reference, here’s how you can have multiple random
   loops on a single wordpress page:
 *     ```
       <div id="loop1">
       	<?php query_posts($query_string . 'cat=5&showposts=1&orderby=rand'); ?>
       	<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
       	<?php the_content(); ?>
       	<?php endwhile; ?>
       	<?php endif; ?>
       </div>
       ```
   
 * * Note that I stripped everything from this loop and it only displays a single
   post, you are still able to add your own <?php the_title(); ?> etc.
 * I assume you can have as many of these on your page as you have categories… Possibilities
   are endless! Hopefully someone finds this helpful down the road.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [Opening Thickbox iFrame from Comments link](https://wordpress.org/support/topic/opening-thickbox-iframe-from-comments-link/)
 *  [pineconez](https://wordpress.org/support/users/pineconez/)
 * (@pineconez)
 * [16 years, 2 months ago](https://wordpress.org/support/topic/opening-thickbox-iframe-from-comments-link/#post-1105954)
 * Alright, I figured it out for anyone in the future who might have this same problem.
 * First, Get and install the Shadowbox plugin. This is much better than thickbox,
   and runs the same way.
 * now it is as simple as adding this code:
 *     ```
       <div id="comments<?php echo $post->ID ?>" style="display:none">
        <!-- all the php making up the comments section -->
       </div>
   
       <a href="#comments<?php echo $post->ID ?>" rel="shadowbox">Add a comment.</a>
       ```
   
 * ps. make sure you got enableKeys:false set up in the settings section of the 
   plugin, otherwise the space bar wont work in text fields.
 * pps. I just took the parts of the comments.php file that I wanted and put them
   in the section I have labeled in the code above (which was pretty much all of
   it).
 * peace n blessings
    hope this helps someone
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [Opening Thickbox iFrame from Comments link](https://wordpress.org/support/topic/opening-thickbox-iframe-from-comments-link/)
 *  [pineconez](https://wordpress.org/support/users/pineconez/)
 * (@pineconez)
 * [16 years, 2 months ago](https://wordpress.org/support/topic/opening-thickbox-iframe-from-comments-link/#post-1105953)
 * Here’s a theme I just found that does what I’d like to do, but it seems like 
   they had to add a lot of their own java and things like that to make it work,
   honestly I wouldn’t know what to take from it to make it work on my own site,
   because it is so unlike any theme I’ve played with.
 * [http://wordpress.org/extend/themes/p2](http://wordpress.org/extend/themes/p2)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [Opening Thickbox iFrame from Comments link](https://wordpress.org/support/topic/opening-thickbox-iframe-from-comments-link/)
 *  [pineconez](https://wordpress.org/support/users/pineconez/)
 * (@pineconez)
 * [16 years, 2 months ago](https://wordpress.org/support/topic/opening-thickbox-iframe-from-comments-link/#post-1105952)
 * I’m a little bit closer to getting this, and I realize this was posted 9 months
   ago… But I am stuck too.
 * using <?php comments_popup_link(); ?>, I am able to get the thickbox to show 
   up, but it also gives the actual popup… So you now got two places to comment.
   Whats more, is the thickbox comment area doesnt actually post the comment.
 * `<?php comments_popup_link('comment.', '1 comment', '% comments', 'thickbox','
   comments off.'); ?>`
 * Can anbody help with this? I am sure there is someone out there who cant stand
   the way the whole page reloads whenever somoene wants to add a comment… I’d be
   happy with an ajax method (similar to “read more right here” plugin), thickbox,
   whatever. Just something to keep users from having to reload the whole page to
   see/make comments.
 * Anyone?

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