adayin
Forum Replies Created
-
Forum: Plugins
In reply to: [Plugin: WP E-Commerce] – Items not Adding to CartI’m having the exact same problem with a wp-eccomerce shop. I’ve attached a video that shows the problem.
I’ve no idea how to fix it myself. If any one has an idea and would like to share would be greatly appreciated!
Link to video
Forum: Fixing WordPress
In reply to: Skip category to single page if there is only one post in categoryThank you very much. That works perfectly.
Forum: Themes and Templates
In reply to: Go to post from a category link ?I can’t get Ralevs solution to work. If any one does know of a plugin, fucntion or snippet of code that will bypass the category page straight to the post if only one post in category, that would be great.
Forum: Themes and Templates
In reply to: Go to post from a category link ?Have yet to give Ralevs solution a go, but would love an automatic script/plugin. I’ve been searching for some thing like this for a while now.
Forum: Plugins
In reply to: $postcount help needed.I managed to get this working in the end. Just for those that may want to know, this is how:
<?php get_header(); ?> <div id="work_wrap"> <h2 class="headers">Recent work </h2> <?php $postcount = 0; ?> <?php if ( have_posts() ) : while(have_posts()) : the_post(); ?> <?php $postcount++; ?> <div id="work"> <div class="work_item<? if ( $postcount%3 == 0 ) { echo ' last'; } ?>"> <a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?>"><?php echo get_post_image (get_the_id(), '', '', '' .get_bloginfo('template_url') .'/scripts/timthumb.php?zc=1&w=300&h=177&src='); ?></a> <p><?php foreach((get_the_category()) as $category) { echo $category->cat_name . ''; } ?>: <a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title_attribute(); ?>"><?php the_title(); ?></a></p> </div><!--END WORK ITEM CLASS--> </div> <?php endwhile; ?> <?php include (TEMPLATEPATH . '/pagination.php'); ?> <?php else : ?> <p><?php _e('Sorry, no posts matched your criteria.'); ?></p> <?php endif; ?> </div><!--END WORK_WRAP WRAPPER--> <?php get_sidebar(); ?> <?php get_footer(); ?>Forum: Plugins
In reply to: $postcount help needed.Oh I also forgot to mention that there will be 9 posts per page and showing the children of one specific category. 🙂