jadedchron
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Post Loop leaking into other PostsHaha. Oh, goodness. I guess my client modified the header CSS underneath me and it just looked the same.
Thank you sooooooo much for your help. It’s my 3rd or 4th post here on the forums and first time I’ve received help, so it’s greatly appreciated.
Best,
NickForum: Fixing WordPress
In reply to: Post Loop leaking into other PostsAh, good eye!
What I mean by leaking into the other posts is, if you go to the homepage:http://www.iriswork.com/
and then go to any sub-page which is pulling posts such as: http://www.iriswork.com/category/work/best_sellers/
…
<img src="wp-content/uploads/2010/09/divider.jpg" alt="Divider" />divider is showing up multiple times in the main body and also missing from the banner at the top.We’re so close!
Forum: Fixing WordPress
In reply to: Post Loop leaking into other PostsHere’s updated code I’m working with:
!-- Start Banner --> <?php $banner_posts = get_posts('numberposts=1&category_name=Banner'); ?> <?php if(count($banner_posts) > 0): foreach($banner_posts as $banner_post) : setup_postdata($banner_post); ?> <div id="banner-top"> <div id="banner-left"> <?php if(get_post_meta($post->ID, 'Image URL', true)): ?><a href="<?php echo get_post_meta($post->ID, 'Banner URL', true); ?>"><img src="<?php echo get_post_meta($post->ID, 'Image URL', true); ?>" /></a><?php endif; ?> </div> <div id="banner-right"> <h3><a href="<?php echo get_post_meta($post->ID, 'Banner URL', true); ?>">IrisWork News & Events</a></h3> <img src="wp-content/uploads/2010/09/divider.jpg" alt="Divider" /> <?php the_content(); ?> </div> <div class="clear"><!--clearing--></div> </div> <?php endforeach; endif; ?> wp_reset_query(); <!-- End Banner -->Still same result shown here as described above: http://www.iriswork.com/category/work/best_sellers/
Forum: Fixing WordPress
In reply to: Post Loop leaking into other PostsHi there.
I originally tried swapping out the variables but ended up with this:
http://www.iriswork.com/category/work/best_sellers/It seems to lose traction and throw the divider img into the other posts. It’s getting close, though…
Side note: I also didn’t know ‘short_meta()’ wasn’t a native function (this code was pulled from another client’s sample site). I have two custom fields in the post and I figured short_meta was the appropriate function to retrieve them, but if there’s another way, I’m all ears.
Forum: Fixing WordPress
In reply to: Post Loop leaking into other PostsPlease see this link: http://www.iriswork.com/
On the homepage, it displays fine, because there are no post loops (I assume); however, on the sub-pages such as The Work ( http://www.iriswork.com/category/work/best_sellers/ ), it’s being included in that post rotation.
So, I’m trying to prevent it from showing up in all other aspects of the site where it pulls posts because it’s including the banner which isn’t what I’m trying to do.
Thanks a bunch for your replies thus far!
NickP.s. this is if I take out the is_home and rewind_posts, obviously.
Forum: Fixing WordPress
In reply to: Post Loop leaking into other PostsWhat conditional statement could I write to wrap around it?
I want it on every page available, not just the home page.
Thanks,
NickForum: Fixing WordPress
In reply to: Random Theme Break?Easily the worst support forum I’ve ever come across which is funny as most people boast about the community here when it comes to comparing to other platforms. Oh, well.
Forum: Fixing WordPress
In reply to: Random Theme Break?Can anyone provide some insight please? Time is of the essence here. Thanks.
Forum: Plugins
In reply to: [Plugin: NextGEN Gallery] Before & After photos in same gallery.Well, so far, I’m 0 for 2 trying to get help around here.
Is there simply no easy way to filter images by tags using the code above?