manualmode
Forum Replies Created
-
Forum: Developing with WordPress
In reply to: Multiple Loops not workingHi ,
Thanks for replying. Sorry, i am doing it on the localhost.
I only want to display 1 post from “featured” category on the top of homepage (kind like sticky post). But do not want it duplicates in the normal loop. However, now, it does’t duplicate in the normal loop. but it displayed on the top of every post page e.g. 2nd and 3rd page of normal loop (kind like same sticky post now is displaying on each page of the loop). below is my modified code. i used the wp_reset_query(); as suggested but seem not working. Sorry, not an expert on php and wordpress if the code looks silly…<?php do_action( 'responsive_mobile_blog_title' ); ?> <?php if ( have_posts() ) : ?> <?php get_template_part( 'template-parts/loop-header' ); ?> <?php /* Start the Loop */ ?> <?php $my_query = new WP_Query( 'category_name=featured&posts_per_page=1' ); while ( $my_query->have_posts() ) : $my_query->the_post(); $do_not_duplicate = $post->ID; ?> <?php get_template_part( 'template-parts/content', get_post_format() );?> <?php endwhile; ?> <?php wp_reset_query();?> <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); if ( $post->ID == $do_not_duplicate ) continue; ?> <?php get_template_part( 'template-parts/content', get_post_format() );?> <?php endwhile; endif; ?> <?php responsive_mobile_paging_nav(); ?> <?php else : ?> <?php get_template_part( 'template-parts/content', 'none' ); ?> <?php endif; ?>
Thank you so much.
Forum: Plugins
In reply to: [WPB Product Slider for WooCommerce - Product Carousel] slideBy page option?awesome, best support ever. Really appreciate.
It seems that the numeric pagination number is counting across different slider.
e.g. the first slider counts page 1,2,3. the second slider counts 4,5,6 (which should be 1,2,3 as well)Thank you.
- This reply was modified 7 years, 4 months ago by manualmode.
- This reply was modified 7 years, 4 months ago by manualmode.
Forum: Plugins
In reply to: [WooCommerce] products once added to cart can checkout even out of stock?you can find the solution at here:
https://www.ads-software.com/support/topic/woocommerce-poor-guys-swiss-knife-conflict/
Forum: Plugins
In reply to: [WooCommerce] shipping options disappear since update to 2.6.4same here. the only shipping method which is showing is the local pick up.
edit: i just found out that , only the first/top shipping method in the list is displayed.
figured it out. have to set up different methods in the same zone.
Forum: Plugins
In reply to: [WooCommerce] Woocommerce poor guys swiss knife conflict?Hi, Riaan and Mike.
Thanks for your reply.The developer seems removed the plugin/support from the wordpress.
Hi Mike,
Do you suggest to delete all other Functions? Only keep the following function right? I am using the latest WC.
function wcpgsk_clear_messages() { global $woocommerce; }
Thanks a lot.
Regards.Forum: Plugins
In reply to: [WooCommerce] products once added to cart can checkout even out of stock?Hi,
ive sorted out the problem.
It turns out that the plugin “woocommerce poor guys swiss knife” is causing the problem.
very great plugins i use a lot of its feature. Have to find another replacement now.Thanks Mike.
Forum: Plugins
In reply to: [WooCommerce] products once added to cart can checkout even out of stock?Hi Mike,
it is a simple product. Sorry, not allowed to provide a link.
Do i need to look into a specific file?
Thank you!
Forum: Plugins
In reply to: [WooCommerce] products once added to cart can checkout even out of stock?Hi Mike,
thanks for your reply.
The product stock goes to -1 in my case. But i have already set no backorder.Is this my theme or plugin problem?
Forum: Plugins
In reply to: [WooCommerce] New order email not sending for Paypal ordersprobably Paypal doesnt auto return to your website or customer closes the browser after finishing payment (thus not return to your website)
Hi Mike,
Thanks for you reply.Is there any way or any code to show these for guest checking out?
Because most of our customers are “local picking up” customers, we only require a name and mobile number in the checkout page. E-mail is not a require field.
Thanks.
Forum: Fixing WordPress
In reply to: WordPress 4.4 and lazysizes?Hi, i just disable the responsive image feature in WP 4.4 and it started to work again with lazysizes.
if anyone interested in how to disable the feature, you can check
Forum: Plugins
In reply to: [WooCommerce] Paypal auto return to order-received page not working anymore?I tried to add “mywebsite.com/checkout/order-received/” in paypal setting with auto-return turned on. But it still requires buyer to click “return to [email protected]” in order to return to the order-received page.
Forum: Plugins
In reply to: [Autoptimize] disable plugin makes error / not able to control cache sizeHi Frank, thanks for your reply.
I will just keep everything as it is and will manually delete the cache.
Thanks again for the great plugin.
Forum: Plugins
In reply to: [WooCommerce] Related products by tagsThanks Yuri,
Really appreciate your reply.
It works now, might be cache issue before.
Regards.
??
Forum: Plugins
In reply to: [WooCommerce] Related products by tagsadd_filter( 'woocommerce_get_related_product_cat_terms', '__return_empty_array' );
Hi, Mike and Yuri,
I am looking for the same thing for months.
I pasted the above code into my function.php, but it doesn’t work.
Is this only part of the code?
Can you advise the full code that i need to paste into function.php?
Thanks in advance.