paul13234
Forum Replies Created
-
Forum: Plugins
In reply to: [AMP] AMP Plugin Stopped Switching AMP VersionThis worked like a charm! Thank you!
Forum: Plugins
In reply to: [AMP] Hamburger Menu Toggle doesn’t work when in AMP modeI’m trying the nav_container_xpath and menu_button_xpath and this is what i got but the menu still isn’t working?
add_theme_support(
‘amp’,
array(
‘nav_menu_toggle’ => array(
‘nav_container_xpath’ => ‘//[@id=”mobile-nav-menu-btn”]/div/div/nav’, ‘nav_container_toggle_class’ => ‘hfe-active-menu’, ‘menu_button_xpath’ => ‘//[@id=”mobile-nav-menu-btn”]/div/div/div’,
‘menu_button_toggle_class’ => ‘hfe-active-menu’,
),
)
);Could you help me figure out what i’m doing wrong?
Forum: Plugins
In reply to: [WooCommerce] WooCommerce recent product shortcode shows hidden productsHi,
I deactivated the NitroPack plugin and still displays less. Please check again and you will see that it only shows 7 active products.
Forum: Plugins
In reply to: [WooCommerce] WooCommerce recent product shortcode shows hidden productsHi @maykato
I went ahead and set the products “Christmas Nutcrackers Clipart” to hidden. If you retry the same page again you will find that it now has 7 products. The problem is why doesn’t it populate the 8 product if i have 2 rows and 4 columns, shouldn’t it select the next visible product automatically that is by orderly=”date” ?
Whenever i hide a product for some reason it just leaves an empty box of where the hidden product is instead of populating with the next product from the list. How can I make this feature replace the hidden product with the next visible product?
I hope this clears it up?
Thanks.
Forum: Fixing WordPress
In reply to: Woocommerce Exclude Hidden Products PHP FunctionHi,
I’m currently using the following code to hide member product but for some reason it only hides it but still leaves an empty are on the front page and shop page of where it was.
/** * Hides membership product from active members */ /** * Hides membership product from active members */ function hide_product_from_members( $is_visible, $id ) { $product_id_to_hide = array(994); if ( in_array($id, $product_id_to_hide)) { $is_visible = false; } return $is_visible; } add_filter( 'woocommerce_product_is_visible', 'hide_product_from_members', 10, 2 );
Forum: Plugins
In reply to: [WooCommerce] WooCommerce recent product shortcode shows hidden productsForum: Plugins
In reply to: [WooCommerce] WordPress WooCommerce Recent Products Exclude Hidden ProductsVijay,
Would you have a code snippet sample of how this would work?
Forum: Plugins
In reply to: [WooCommerce] WordPress WooCommerce Recent Products Exclude Hidden ProductsThank you for the heads up.
Forum: Plugins
In reply to: [WooCommerce] WordPress WooCommerce Recent Products Exclude Hidden ProductsHi Vijay,
I’m currently using code snippet plugin to include custom php code, do you know if that is a good place to add this function?
Thanks.
Forum: Plugins
In reply to: [WooCommerce] WordPress WooCommerce Recent Products Exclude Hidden ProductsVijay,
What do you mean by post__not_in and how do I pass the product ids?
By new function, did you mean the one I mentioned on the initial post?
Thanks.
Forum: Plugins
In reply to: [Product GTIN (EAN, UPC, ISBN) for WooCommerce] WooCommerce APIHi,
Do you know if the issue with using API to update the GTIN for the Product GTIN (EAN, UPC, ISBN) for WooCommerce plugin got resolved?
I’m trying to update the GTIN using API Post Calls and can’t seem to figure out why i can’t update using that method, please let me know if it was fixed and how to resolve it on my end?
Thanks.