Title: 's Replies | WordPress.org

---

# matttail

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

 *   [Profile](https://wordpress.org/support/users/matttail/)
 *   [Topics Started](https://wordpress.org/support/users/matttail/topics/)
 *   [Replies Created](https://wordpress.org/support/users/matttail/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/matttail/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/matttail/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/matttail/engagements/)
 *   [Favorites](https://wordpress.org/support/users/matttail/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: [Enable wpautop for custom fields](https://wordpress.org/support/topic/enable-wpautop-for-custom-fields/)
 *  Thread Starter [matttail](https://wordpress.org/support/users/matttail/)
 * (@matttail)
 * [16 years, 2 months ago](https://wordpress.org/support/topic/enable-wpautop-for-custom-fields/#post-1424162)
 * any suggestions, please?
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Enable wpautop for custom fields](https://wordpress.org/support/topic/enable-wpautop-for-custom-fields/)
 *  Thread Starter [matttail](https://wordpress.org/support/users/matttail/)
 * (@matttail)
 * [16 years, 2 months ago](https://wordpress.org/support/topic/enable-wpautop-for-custom-fields/#post-1424132)
 * I am a moderate to advanced user, don’t be afraid to give me a technical answer–
   I can figure it out.
 * Thanks again!
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [conditional tags, query posts, and page template](https://wordpress.org/support/topic/conditional-tags-query-posts-and-page-template/)
 *  Thread Starter [matttail](https://wordpress.org/support/users/matttail/)
 * (@matttail)
 * [17 years, 10 months ago](https://wordpress.org/support/topic/conditional-tags-query-posts-and-page-template/#post-798646)
 * Thanks for all the suggestions. For the site in question I have a relatively 
   simple 3 column layout. On the left, the pages I have are automatically listed
   on the left, content (posts) in the center, and some static contact content on
   the right.
 * I started working with the pages, and setting up the page template to call the
   specific entires I want because the theme I started working from did that. This
   is also the first real project I’ve done with wordpress so I pretty much jumped
   in head first not knowing how to do what I wanted inside wordpress.
 * I like the pages because it’s very easy to let the end user edit the content 
   them selves. The end user can go into wp-admin, easily add new posts to a specific
   category, pages that will automatically be linked, and or links to show on the
   side of the main page. They can just as easily jump in and edit content that’s
   already there. For this project in particular it’s very important that things
   be both obvious and easy to accomplish. While you may be able to edit category
   level text from the backed, it’s not as obviously placed as the pages are.
 * I have the main page, which uses the template index.php do a wp query call a 
   specific post – my welcome post. After that I have a new wp query call the two
   most recent posts from the news category. Next I have several pages that all 
   reference page.php as the template. Most of those pages just hold a bit of information
   that’s entered directly on that page when creating it. A few of those pages, 
   two right now, meet one of the conditional if statements I set up to show posts
   from a specific category. That my “news” page and a “blog” page.
 * The way I’m working it the pages are less of jumping off places and more of the
   ending. It also seems like it will work out well for contributors who have trouble
   using programs like MS word. You’re welcome to look at the site if it makes any
   difference. It’s still a little un-finished and broken in some places right now.
   
   [http://stjohnsbreese.org](http://stjohnsbreese.org) – a church website.
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [conditional tags, query posts, and page template](https://wordpress.org/support/topic/conditional-tags-query-posts-and-page-template/)
 *  Thread Starter [matttail](https://wordpress.org/support/users/matttail/)
 * (@matttail)
 * [17 years, 10 months ago](https://wordpress.org/support/topic/conditional-tags-query-posts-and-page-template/#post-798596)
 * You’re the best. Thanks so much for your help – in both of my threads. It’s working
   perfectly now.
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Query posts](https://wordpress.org/support/topic/query-posts-2-2/)
 *  Thread Starter [matttail](https://wordpress.org/support/users/matttail/)
 * (@matttail)
 * [17 years, 10 months ago](https://wordpress.org/support/topic/query-posts-2-2/#post-797950)
 * I got this figured out while asking a different question. Basically you have 
   to use multiple loops and a new query object. See this article for example. [http://codex.wordpress.org/The_Loop#Multiple_Loops_Example_1](http://codex.wordpress.org/The_Loop#Multiple_Loops_Example_1)
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [conditional tags, query posts, and page template](https://wordpress.org/support/topic/conditional-tags-query-posts-and-page-template/)
 *  Thread Starter [matttail](https://wordpress.org/support/users/matttail/)
 * (@matttail)
 * [17 years, 10 months ago](https://wordpress.org/support/topic/conditional-tags-query-posts-and-page-template/#post-798552)
 * That doesn’t seem to accomplish what I’m trying to do, if I read right. I’m using
   WP as a CMS for a website for a client. On the main page I am showing a welcome
   entry and the two most recent news articles. Then I have certain pages that I’ve
   created where I want to show posts from specific categories and other pages can
   just show what ever is written on that page. This way I can have certain pages
   that do what I want, and the client can later add on extra content on their own.
 * So far I’m really digging WP, it’s admin section is very easy to use, and the
   site is not that big which is why I want a nice light CMS like this.
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [conditional tags, query posts, and page template](https://wordpress.org/support/topic/conditional-tags-query-posts-and-page-template/)
 *  Thread Starter [matttail](https://wordpress.org/support/users/matttail/)
 * (@matttail)
 * [17 years, 10 months ago](https://wordpress.org/support/topic/conditional-tags-query-posts-and-page-template/#post-798540)
 * Excellent, I understand now and have it showing the page text and calling my 
   conditional info. Thanks! But now I have an other problem. On pages that aren’t
   referenced by my conditional tags it’s showing an error. Here’s my code:
 *     ```
       <?php
       	if (is_page('6')) { $my_query = new WP_Query('cat=3'); }
       	if (is_page('14')) { $my_query = new WP_Query('cat=6'); }
       	while ($my_query->have_posts()) : $my_query->the_post(); ?>
       ```
   
 * The problem is that for pages that are not 6 or 14 my_query is not defined. But
   how do I change this so it doesn’t produce error on those pages?
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Query posts](https://wordpress.org/support/topic/query-posts-2-2/)
 *  Thread Starter [matttail](https://wordpress.org/support/users/matttail/)
 * (@matttail)
 * [17 years, 10 months ago](https://wordpress.org/support/topic/query-posts-2-2/#post-797770)
 * So I tried both
    `query_posts('p=3&cat=6');` and `query_posts('p=3+cat=6');`
 * Both of which display the post, but not the category. Is there any way to accomplish
   this?
 * Thanks!
 * –Matt
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Things FF does and IE not with unpublished Pages](https://wordpress.org/support/topic/things-ff-does-and-ie-not-with-unpublished-pages/)
 *  [matttail](https://wordpress.org/support/users/matttail/)
 * (@matttail)
 * [17 years, 10 months ago](https://wordpress.org/support/topic/things-ff-does-and-ie-not-with-unpublished-pages/#post-797657)
 * Are you logged into wordpress in FF and not ie? Try logging out of the admin 
   interface and refreshing, I bet the unpublished entires go away! 🙂 (learned 
   this from personal head-bashing experience)
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [call specific entry in template](https://wordpress.org/support/topic/call-specific-entry-in-template/)
 *  Thread Starter [matttail](https://wordpress.org/support/users/matttail/)
 * (@matttail)
 * [17 years, 10 months ago](https://wordpress.org/support/topic/call-specific-entry-in-template/#post-797167)
 * excellent, thank you. I was just being dense and not seeing that part of the 
   page where it says “before” instead of “in”.
 * Thanks again.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [WPG2 styling](https://wordpress.org/support/topic/wpg2-styling/)
 *  Thread Starter [matttail](https://wordpress.org/support/users/matttail/)
 * (@matttail)
 * [19 years, 3 months ago](https://wordpress.org/support/topic/wpg2-styling/#post-513223)
 * Perhaps I wasn’t clear before. What I’m wanting to do is control what is shown
   to a site visitor when they click on a thumbnail to view a larger image.
 * A visit might go something like this: Visitor comes to my site, reads a blog 
   post with images in it. The images in the post are small thumbnails that link
   to a larger image. When the visitor clicks on a thumbnail they get a pop-up window
   that shows the image and the exif data.
 * The way it works right now, a visitor comes to my site, reads a blog post with
   images in it. The images are small thumbnails that link to a larger image shown
   with gallery links to add this to a cart and see my other albums, ect. You can
   see my set up at [http://art.googlies.net/wp/](http://art.googlies.net/wp/). 
   Right now when a visitor clicks on one of my images, the gallery page loads within
   the wordpress page. Obviously with a small layout this is no good. That’s why
   I’d like the image to pop-up in a new window and only show the image and the 
   exif data, and nothing else of Gallery 2. No Gallery logo, no links to the cart,
   other albums, or anything else.
 * Is this possible?
 * Thanks!

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