Forum Replies Created

Viewing 11 replies - 1 through 11 (of 11 total)
  • Thread Starter matttail

    (@matttail)

    any suggestions, please?

    Thread Starter matttail

    (@matttail)

    I am a moderate to advanced user, don’t be afraid to give me a technical answer – I can figure it out.

    Thanks again!

    Thread Starter matttail

    (@matttail)

    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 – a church website.

    Thread Starter matttail

    (@matttail)

    You’re the best. Thanks so much for your help – in both of my threads. It’s working perfectly now.

    Forum: Themes and Templates
    In reply to: Query posts
    Thread Starter matttail

    (@matttail)

    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

    Thread Starter matttail

    (@matttail)

    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.

    Thread Starter matttail

    (@matttail)

    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
    In reply to: Query posts
    Thread Starter matttail

    (@matttail)

    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

    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)

    Thread Starter matttail

    (@matttail)

    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
    In reply to: WPG2 styling
    Thread Starter matttail

    (@matttail)

    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/. 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)