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'
-
AuthorSearch Results
-
In forum: Virtue Theme
In reply to: Adding Multiple Custom Fields…
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 ThemeIn reply to: Force Dev Mode
September 25, 2015 at 2:32 pm #60222Hey,
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/
BenIn forum: Virtue ThemeIn reply to: Pinterest on hover
September 25, 2015 at 2:04 pm #602161. 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?
BenIn forum: Virtue ThemeIn reply to: Getting Forced Dev Mode Off Enabled
September 25, 2015 at 10:08 am #60132I think it must be a caching thing. I just logged in and there is no warning. Have you tried clearing your cache?
Ben
In forum: Virtue ThemeIn reply to: Adding Multiple Custom Fields…
September 25, 2015 at 9:36 am #60127I 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
In forum: Virtue ThemeIn forum: Virtue ThemeIn reply to: Adding Multiple Custom Fields…
September 24, 2015 at 3:44 pm #60033ok, 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
In forum: Virtue ThemeIn reply to: Adding Multiple Custom Fields…
September 24, 2015 at 2:31 pm #600111. 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.
In forum: Virtue ThemeIn reply to: Adding Multiple Custom Fields…
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
In forum: Virtue ThemeIn reply to: Adding Multiple Custom Fields…
September 24, 2015 at 2:20 pm #60004I cleared the super cache and can see it fine. Hopefully it’s been explained. You have to clear super cache after any change.
Ben
In forum: Virtue ThemeIn reply to: Add TO Cart Button Size – Single Product Page
September 24, 2015 at 2:02 pm #59998When 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
In forum: Virtue ThemeIn reply to: Getting Forced Dev Mode Off Enabled
September 24, 2015 at 1:24 pm #59983Could also be internal cacheing issue from the server no updating the css file.
Ben
In forum: Virtue ThemeIn reply to: Adding Multiple Custom Fields…
In forum: Virtue ThemeIn reply to: Adding Multiple Custom Fields…
September 24, 2015 at 1:11 pm #599741. 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 ThemeIn reply to: Virtue Premium Help Needed
September 24, 2015 at 12:40 pm #59952Hey,
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 pagesee here for more: http://docs.woothemes.com/document/woocommerce-shortcodes/
does that help?
Ben
In forum: Virtue Theme*Login to see link
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.In forum: Virtue ThemeIn reply to: Virtue Premium update changed site lost blog
September 23, 2015 at 9:17 pm #59815I just looked at your link and it’s working fine for me? Did you clear your cache?
Ben
In forum: Virtue ThemeIn reply to: Full width menu & slider on homepage
September 23, 2015 at 2:33 am #59732Can you check with your friend and make sure they have cleared there browser cache?
Ben
In forum: Virtue ThemeSeptember 23, 2015 at 2:29 am #59727I just looked and it worked for me on your site. Did you clear your cache?
Ben
In forum: Virtue ThemeIn reply to: Full width menu & slider on homepage
-
AuthorSearch Results


