Notice: These forums are now retired and closed. For active support, please Submit a Ticket or visit our official WordPress.org community pages.
Kadence Theme | Kadence Blocks | Starter Templates | WooCommerce Email Designer | Ascend | Virtue | Pinnacle

Search Results for 'cache'

Home / Forums / Search / Search Results for 'cache'

Viewing 20 results - 4,521 through 4,540 (of 5,558 total)
  • Author
    Search Results
  • #60249

    Hi Ben

    Success!! Thank you, you were right the parent theme had the brand already in, thanks for your patience. Will adding <p> as follows break them up a bit? (below) Ideally I’m looking for a spacing top, bottom and between each line of around 15px

    <p>echo '<div class="prod-code, pc-brand">Brand: '.get_post_meta( $post->ID, 'Brand', true ).'</div>';</p>
    <p>echo '<div class="prod-code pc-designer">Designer: '.get_post_meta( $post->ID, 'Designer', true ).'</div>';</p>
    <p>echo '<div class="prod-code pc-leadtime">Lead Time: '.get_post_meta( $post->ID, 'Lead Time', true ).'</div>';</p>

    i’m using Firefox web developer now so the cache won’t be a problem, or so I’m told.

    The only thing to do now is figure out how to fix the size of ‘Add to cart +’ button on the variable products, I have no idea why this should appear different to the single products, any thoughts?

    In forum: Virtue Theme

    In reply to: Force Dev Mode

    #60222

    Hey,
    Try clearing your cache in the bowser. This notice shouldn’t be showing and I believe it just a caching issue.
    https://www.kadencewp.com/support-forums/topic/getting-forced-dev-mode-off-enabled/
    Ben

    In forum: Virtue Theme

    In reply to: Pinterest on hover

    #60216

    1. It would only do that if your screen height pushed the image against the top and there isn’t much I can really do there. again this is a hack to force a plugin to place there code on an image. The real thing is to control that plugin.

    You can add this css but it will mean the caption can be hidden on screen sizes like that:

    .mfp-image-holder .mfp-content {
    margin-top: 30px;
    }

    2. You cleared your cache?
    Ben

    #60132

    I think it must be a caching thing. I just logged in and there is no warning. Have you tried clearing your cache?

    Ben

    #60127

    I don’t have the power to see your entire child theme.

    I can tell you that in the functions file you have:

    add_action( 'woocommerce_single_product_summary', 'kt_add_custom_field', 36 );
    
    function kt_add_custom_field() {
    global $post;
    
    echo '<div class="prod-code pc-designer">Designer: '.get_post_meta( $post->ID, 'Designer', true ).'</div>';
    echo '<div class="prod-code pc-leadtime">Lead Time: '.get_post_meta( $post->ID, 'Lead Time', true ).'</div>';
    }

    Which is clearly missing Brand. I assume you have some other file in your child theme that is adding brand. Unless you want me to delete your child theme you need to fix this. Just simply use the function I’ve posted here for your benefit.

    add_action( 'woocommerce_single_product_summary', 'kt_add_custom_field', 36 );
    
    function kt_add_custom_field() {
    global $post;
    
    echo '<div class="prod-code, pc-brand">Brand: '.get_post_meta( $post->ID, 'Brand', true ).'</div>';
    echo '<div class="prod-code pc-designer">Designer: '.get_post_meta( $post->ID, 'Designer', true ).'</div>';
    echo '<div class="prod-code pc-leadtime">Lead Time: '.get_post_meta( $post->ID, 'Lead Time', true ).'</div>';
    
    }

    Can you please tell me how you go about “clearing your cache” on your site and browser. Step by step that would help us a lot to make sure you can clear your cache and we don’t have to keep going back and forth.

    Ben

    #60059

    Could have been you just needed to clear your cache. Let us know if this comes back up!

    Hannah

    #60033

    ok, I’m turning off wp-super cache this is silly, shouldn’t be using while your developing anyway.

    Open up a different browser and go to your home page.

    as for brand. I see it once you have it added back into the original function. What I don’t understand is why you have added single-product.php to your child theme and what else you’ve added thats adding brand in a second area. Please remove anything but the single function I posted and lets start from there. Don’t add anything else.

    Ben

    #60011

    1. I changed more then 36 please copy and paste what I added…

    2. I see clearly on the home page. Clear the cache in your browser and site. and refresh your home page.

    #60009

    Hi Ben

    Two issues outstanding:

    1. The custom fields are not aligned above the SKU, when I change it to 36 instead of 0 they just disappear. How else can I reposition these?

    2. The main menu on the home page still isn’t appearing despite remove the css.

    I have cleared the super cache.

    Thanks

    James

    #60004

    I cleared the super cache and can see it fine. Hopefully it’s been explained. You have to clear super cache after any change.

    Ben

    #59998

    When you clear your super cache are you going into the settings > super-cache and clicking the delete cache button?

    I just cleared it and looked at a variable product. I’m not seeing it all messed up?

    Ben

    #59983

    Could also be internal cacheing issue from the server no updating the css file.

    Ben

    #59981

    Changed it Ben and tested the cache, no luck though :/

    #59974

    1. Did you clear super cache?

    2. You would need to change this:

    add_action( 'woocommerce_after_single_product_summary', 'kt_add_custom_field', 0 );

    To this:

    add_action( 'woocommerce_single_product_summary', 'kt_add_custom_field', 36 );

    Ben

    In forum: Virtue Theme
    #59952

    Hey,
    First thing you need to do. Go to settings > wp-super cache. Turn that off. Once it’s off then go to appearance > plugins and deactivate super cache. (you must turn it off in the settings first).

    Caching keeps a copy of your site from the point at which you start it then it refreshes that cache copy every day or so. You will be really frustrated with things not showing if your constantly looking a cached page.

    Next. Your sample product has not been assigned a price. For there to be an add to cart you have to give the product a price. If you want it to be free then you need to add 0 in the product price box.

    Learn more about working with products here: http://docs.woothemes.com/document/managing-products/

    Next It looks like your cart page is missing the shortcode for the woocomemrce cart. These shortcodes need to be in the assigned pages:

    [woocommerce_cart] – shows the cart page
    [woocommerce_checkout] – shows the checkout page
    [woocommerce_my_account] – shows the user account page

    see here for more: http://docs.woothemes.com/document/woocommerce-shortcodes/

    does that help?

    Ben

    #59917


    I am trying to change the background colour and nothing is happening. I have also tried with code`.kad-slider-1 .kad-slider .kad-slider-btn-01{
    background-color: black;}` I have wp-supercache and am clearing the cache each time but no luck. Advice appreciated, thanks.

    #59815

    I just looked at your link and it’s working fine for me? Did you clear your cache?

    Ben

    #59732

    Can you check with your friend and make sure they have cleared there browser cache?

    Ben

    #59727

    I just looked and it worked for me on your site. Did you clear your cache?

    Ben

    #59682

    Have you tried clearing your cache? Can you send a screenshot?

    Hannah

Viewing 20 results - 4,521 through 4,540 (of 5,558 total)