MrThunder
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] Endless loading spinner checkoutI am having the same the issue I have tried everything, I have even installed a clean version of wordpress and woocommerce and only have the realex payments plugin activated to see if it would work.
I get no JS errors on the checkout page.
I have added the htaccess code above and made sure the site and wp URLS are the same.
I am at my wits end, any help would be fantastic
Forum: Plugins
In reply to: [WooCommerce] WooCommerce adding anonymous usersThe exact same thing just happened to me. The client had wp e-commerce before I changed them woocommerce.
Thanks for saving me some time!
Forum: Plugins
In reply to: [WP eCommerce] Add Realex Sub-Accounts options to wp e-commerce moduleHi Mihai
I think Realex made the plugin but they will not edit it or change it because they have very little customer support, they just recommended moving to woo commerce.
I have just taken over the website, I have not built it and I am not very familiar with wp e-commerce.
I don’t know where else to post help on this question, I presumed here is fine as it is related to wp e-commerce?
Forum: Themes and Templates
In reply to: Help with category loopThat worked great thanks!! ??
Forum: Themes and Templates
In reply to: Help with category loopThank you very much, that worked great, except I now my pagination has disappeared.
Any suggestions?
<?php $paged = (get_query_var('paged')) ? get_query_var('paged') : 1; $my_query = new WP_Query(array('category__in' => array(4), 'posts_per_page' => 2,'paged'=>$paged)); ?> <?php if ($my_query->have_posts()) : while ($my_query->have_posts()) : $my_query->the_post(); ?> <?php $currentid = get_the_id(); ?> <div class="project-box grid-box grid-block mod-box width100"> <div class="project-img"> <?php if (get_the_post_thumbnail($currentid) != "") { ?> <a href="<?php the_permalink(); ?>" ><?php echo get_the_post_thumbnail($currentid,array(300,600)); ?></a> <?php } else { ?> <a href="<?php the_permalink(); ?>" ><img src='<?php bloginfo('template_url') ?>/images/default.png' alt='Killen Civlil Engineering'/></a> <?php } ?> </div> <div class="project-info"> <h2><a href="<?php the_permalink(); ?>"><?php echo get_the_title($currentid); ?></a></h2> <p><?php echo get_the_excerpt(); ?></p> <a href="<?php the_permalink(); ?>" class="info">More ?</a> </div> </div> <?php endwhile; ?> <div class="project-pagination"> <div class="pagination page-btn"><?php next_posts_link( '? Prev' ); ?></div> <div class="pagination page-btn-1"><?php previous_posts_link( 'Next ?' ); ?></div> </div> <?php endif; wp_reset_postdata(); ?>
Forum: Themes and Templates
In reply to: Display loop only on a certain page?Its fine, I got it fixed I was using an archive so it was different.
<?php if ( is_post_type_archive('musicnews') ) { ?> <?php query_posts( 'post_type=musicnews&posts_per_page=9&offset=5'); ?> <div id="recent-posts-side" style=""> <div class="grid-box width100 grid-v"> <div class="module mod-dark deepest"> <h3 class="module-title"><?php post_type_archive_title(); ?></h3> <ul class="line"> <?php $currentid = get_the_id(); ?> <?php if (have_posts()) : while (have_posts()) : the_post(); ?> <?php $currentid = get_the_id(); ?> <li> <a href="<?php the_permalink(); ?>"><?php echo get_the_title($currentid); ?></a> </li> <?php endwhile; endif; wp_reset_query(); ?> </ul> </div> </div> </div> <?php } ?>
Forum: Themes and Templates
In reply to: Pagination for a custom page templateThat worked perfectly, thanks for your help!!
Forum: Themes and Templates
In reply to: Display set amount of custom postsNever mind I figured it out.
<?php query_posts( 'post_type=latestnews&posts_per_page=3&offset=5'); ?> <?php if (have_posts()) : while (have_posts()) : the_post(); ?> <?php $currentid = get_the_id(); ?> <ul class="line"> <li><a href="<?php the_permalink(); ?>"><?php echo get_the_title($currentid); ?></a></li> </ul> <?php endwhile; endif; wp_reset_query(); ?>
Forum: Themes and Templates
In reply to: Display set amount of custom postsThanks a million that worked!
How do I change the code so that I display the 5 posts after the most current 5? I have a page of the latest 5 posts and I wish to have the titles of the previous 5 in the sidebar.