derlfa
Forum Replies Created
-
@rogierlankhorst thanks so much for taking the time to answer my questions, testing my site, and for explaining it to me. I’m really glad to hear that my site worked very fast for you! I tried deactivating the plugin with “keep https” earlier this morning and that didn’t affect my speed, so it sounds like the plugin is not the cause of my issues.
Forum: Themes and Templates
In reply to: [Astra] Cart Icon Button not workingUpdate: I finally figured out what the new Header Footer Builder (HFB) is. To turn it on, go to Appearance> Astra Option and then select the button that says “Use New Header/Footer”. After doing that I was able to recreate my header and footers and I’m happy with them.
@joy0114 if you try that and don’t like it, then you can contact BSF and ask them to send you the dev version of the theme in a zip file that contains the fix.
Forum: Themes and Templates
In reply to: [Astra] Cart Icon Button not workingI contacted BSF and they sent me the dev version that contained the fix. I put it on my site and it fixed my problem. Thanks so much for your help in solving this problem!
Forum: Themes and Templates
In reply to: [Astra] Cart Icon Button not workingThank you Herman for your response! When you say new HFB, do you mean the plugin “Elementor Header & Footer Builder”? I tried adding that plugin after I saw your comment. I also had to add Elementor since I didn’t have that. I’m having trouble getting the menu to look the same with that. I used the Support Portal several days ago but haven’t heard back from them after clarifying my question.
Forum: Themes and Templates
In reply to: [Astra] Cart Icon Button not workingThanks for your reply dankuwp! I haven’t changed my header in years so I’m guessing I’m using the old header but I’m not 100% sure. When using the “Customizing” options under Primary Menu, in the “Last Item in Menu” section I have “WooCommerce” selected and “Take Last Item Outside of Menu” is checked. Is there some other way I should be doing this?
Forum: Plugins
In reply to: [WooCommerce] Lightbox not working unless Logged InI was able to fix my problem. Thanks so much Joseph for your help! In Lightspeed Cache, I turned off CSS Minify, CSS Combine, Inline CSS Async Lib, HTML Minify, JS Minify, JS Combine, and Load JS Deferred. I think one of those changes fixed my problem.
Forum: Plugins
In reply to: [LiteSpeed Cache] Lightbox not working unless Logged InThank you qtwrk! I was able to fix my problem. First I tried your suggestions but that didn’t fix it. Then I looked into recommended settings and made these changes. I turned on Guest Mode, Cache Mobile, and DNS Prefetch Control. I turned off CSS Minify, CSS Combine, Inline CSS Async Lib, and HTML Minify. I think turning off the minifies and combine might have fixed the problem.
- This reply was modified 3 years, 12 months ago by derlfa.
Forum: Plugins
In reply to: [WooCommerce] Lightbox not working unless Logged InThanks Joseph! I did what you suggested and discovered it is the plugin LiteSpeed Cache that is causing my problem. What would you suggest I do now so I may continue using that plugin without causing the problem?
Forum: Plugins
In reply to: [WooCommerce] Product images not displaying correctly after updateThank you for your reply Riann! I went to the page you suggested and I think I was able to declare the support for the new single product image gallery but I’m not really sure. I pasted my functions.php code below. I already had the remove zoom part in there because I don’t want the zoom function. I’m still having the same problem with my site. I’ve tried using the Site Relic tool to test my site. When I remove this line of code the problem is fixed on Site Relic but I still have the problem when I visit my site from my desktop PC.
remove_action( 'woocommerce_after_single_product_summary', 'woocommerce_output_related_products', 20 );Here is my functions.php code. Is there anything I should change in there to try to fix my problem? Thanks again!
<?php function my_theme_enqueue_styles() { $parent_style = 'parent-style'; // This is 'twentytwelve-style' for the Twenty Twelve theme. wp_enqueue_style( $parent_style, get_template_directory_uri() . '/style.css' ); wp_enqueue_style( 'child-style', get_stylesheet_directory_uri() . '/style.css', array( $parent_style ), wp_get_theme()->get('Version') ); } add_action( 'wp_enqueue_scripts', 'my_theme_enqueue_styles' ); ?> <?php /* * wc_remove_related_products * * Clear the query arguments for related products so none show. * Add this code to your theme functions.php file. */ function wc_remove_related_products( $args ) { return array(); } add_filter('woocommerce_related_products_args','wc_remove_related_products', 10); // remove default sorting dropdown remove_action( 'woocommerce_before_shop_loop', 'woocommerce_catalog_ordering', 30 ); add_filter( 'wc_product_sku_enabled', '__return_false' ); /*Display custom meta description or the post excerpt */ function add_custom_meta_des(){ #Homepage Meta Description if( is_home() || is_front_page() ){ $meta_des = "Kent Paulette is an artist living in the mountains of North Carolina. He uses uninhibited, energetic brush strokes to create paintings that leap off the canvas, alive with color, texture, & movement."; #Edit here echo '<meta name="description" content="' . $meta_des . '" />'; } #Single Page Meta Description if( is_single() ){ $des = get_post_meta( get_the_id(), 'description', true); if( ! empty( $des ) ){ $meta_des = esc_html($des); echo '<meta name="description" content="' . $meta_des . '" />'; } }} add_action( 'wp_head', 'add_custom_meta_des', 4 ); /*Function to add custom title tag*/ function custom_title_filter($title,$sep){ if( is_single() ){ $sitename = get_bloginfo('name'); #custom value is present. if(count(get_post_custom_values("title")) >= 1){ $title_values = get_post_custom_values("title"); # Get custom value. $title = "$title_values[0] $sep "; return esc_html($title); } } #custom value is not present. Return single post title. return $title; } add_filter('wp_title', 'custom_title_filter', 10, 2); add_filter( 'woocommerce_cart_no_shipping_available_html', 'change_noship_message' ); add_filter( 'woocommerce_no_shipping_available_html', 'change_noship_message' ); function change_noship_message() { print "Please email [email protected] for shipping cost information."; } /** * Change the Shop archive page title. * @param string $title * @return string */ function wc_custom_shop_archive_title( $title ) { if ( is_shop() ) { return str_replace( __( 'Products', 'woocommerce' ), 'Paintings for Sale of Animals, People, & Landscapes | Buy Abstract Modern Art on Canvas | Boone, NC Artist ', $title ); } return $title; } add_filter( 'wp_title', 'wc_custom_shop_archive_title' ); remove_action( 'woocommerce_after_single_product_summary', 'woocommerce_output_related_products', 20 ); add_filter( 'woocommerce_product_tabs', 'woo_remove_product_tabs', 98 ); function woo_remove_product_tabs( $tabs ) { unset( $tabs['additional_information'] ); // Remove the additional information tab return $tabs; } add_action( 'after_setup_theme', 'yourtheme_setup' ); function yourtheme_setup() { add_theme_support( 'wc-product-gallery-lightbox' ); add_theme_support( 'wc-product-gallery-slider' ); } remove_theme_support( 'wc-product-gallery-zoom' );Forum: Plugins
In reply to: WooCommerce Single Product Image stopped displayingI had removed the Nextgen gallery plugin and when I reinstalled it, everything worked again.
Forum: Plugins
In reply to: WooCommerce Single Product Image stopped displaying