katmacau
Forum Replies Created
-
Forum: Plugins
In reply to: [LiteSpeed Cache] Keep pages cached when item in cartHi. No, I just display the cart in the header as part of the theme using:
<?php //CART if ( ! function_exists( 'is_woocommerce_activated' )) { $items = WC()->cart->get_cart_contents_count(); ?> <a href="<?php echo wc_get_checkout_url(); ?>" rel="nofollow"><strong>CHECKOUT <span class="count"><?php echo $items; ?></span></strong></a> <?php }That creates a link to the checkout page and how many items in the cart.
Thanks Patrick. I had tried that option but didnt have any luck with that either. I am trying out some of caching avenues instead. Thanks for your help.
Hi Patrick
Is there a way to share the link privately? Can I contact WMPU directly? They have a pro account.
Thanks.
Hi Zafer
I think I might have identified a potential issue with the browser caching rules. If you look at a page that is not cached you get this header data:
cache-control: no-store, no-cache, must-revalidate content-type: text/html; charset=UTF-8 date: Fri, 29 Jul 2022 04:08:53 GMT expires: Thu, 19 Nov 1981 08:52:00 GMT pragma: no-cache server: LiteSpeed vary: Accept-Encoding,User-AgentThen if you look at the page when the cache has worked you get:
alt-svc: h3=":443"; ma=2592000 cache-control: max-age=3600, must-revalidate content-type: text/html; charset=UTF-8 date: Fri, 29 Jul 2022 04:10:32 GMT hummingbird-cache: Served server: LiteSpeed vary: Accept-Encoding,User-AgentWhen you look at hummingbird browser cache rules it is saying that caching is enabled. I also did a reset of the browser cache rules and copied the litespeed rules back into the htacess file. Is it possible cache rules are the issue?
Hi Zafer
It was looking promising this morning withn 30+ files cached. But then this afternoon it dropped back to 5 without and pages edited or the cache being flushed.
Can you elaborate on serving assets dynamically? What should I be looking for there?
Forum: Themes and Templates
In reply to: [Twenty Twenty-Two] Using the block settings in other themesThanks Kathryn. I tried that but no luck. I only want the group styling options and not the fonts, colors etc. So I only included the below items in the json file. Adding the theme.json also created the issue where the ‘wp-block-group__inner-container’ div is not included in the group blocks which is annoying as page styling was based around this. But for now, can you tell me if there is something specific I need from the theme json to get group styling working?
{ "version": 2, "styles": { "blocks": { "core/button": { "border": { "radius": "0" }, "color": { "background": "var(--wp--preset--color--primary)", "text": "var(--wp--preset--color--background)" }, "typography": { "fontSize": "var(--wp--preset--font-size--medium)" } }, "core/post-title": { "typography": { "fontFamily": "var(--wp--preset--font-family--source-serif-pro)", "fontWeight": "300", "lineHeight": "var(--wp--custom--typography--line-height--tiny)", "fontSize": "var(--wp--custom--typography--font-size--gigantic)" } }, "core/post-comments": { "spacing": { "padding": { "top": "var(--wp--custom--spacing--small)" } } }, "core/pullquote": { "border": { "width": "1px 0" } }, "core/query-title": { "typography": { "fontFamily": "var(--wp--preset--font-family--source-serif-pro)", "fontWeight": "300", "lineHeight": "var(--wp--custom--typography--line-height--small)", "fontSize": "var(--wp--custom--typography--font-size--gigantic)" } }, "core/quote": { "border": { "width": "1px" } }, }, "color": { "background": "var(--wp--preset--color--background)", "text": "var(--wp--preset--color--foreground)" }, "spacing": { "blockGap": "1.5rem" }, }, }An interesting observation. It was viewing pages to trigger their caching was able to get up to 15 files cached. but then it showed this message:
Hummingbird has halted page caching to prevent any issues while asset optimization is in progress. Page caching will resume automatically when asset optimization is complete.
When I refreshed the page it then went back to only 1 file cached. Caching was working on the site until plugin updates were made recently.
Forum: Plugins
In reply to: [WP Crontrol] Change times permanatelyThanks. So if I edit a daily event and its currently set for 2pm for example, and I change it 8pm. It will then always be scheduled for 8pm (assuming site traffic). Is that correct?
What does it mean when I edit an event but it says:
“The event you are trying to edit does not exist.”
Forum: Plugins
In reply to: [WP Store Locator] Get users closest store nameThanks. Will keep an eye out for that.
Thanks but it didn’t work as I needed. I will try some other options.
Forum: Themes and Templates
In reply to: [Twenty Twenty-Two] Using the block settings in other themesHi Kathryn
I use a variety of the wordpress twenty themes – twentyone, twentytwenty etc. In twenty-twentytwo you get lots of group block formatting options like padding, radius, spacing, border etc. Eg https://snipboard.io/xkLB8a.jpg
In twentyone you only get padding. I want to know how I can enable those group block formatting options on my various themes. I noticed twentyone has the padding option but not the other things like border etc.
Does this make sense?
Thanks Kris.
We solved the X issue but just switching the slide-in to align to the bottom center instead of bottom right.
For the ‘never see again’, I inspected the source code of the slider and could see what the issue was. The message was set to appear below the slider but because the slider is aligned to the bottom of the page, it is cut off. Is there a setting for where the never again message should appear when you bottom align your slider?
I can see the position is hard-coded into the slider like so:
<div class="hustle-layout-footer" style="bottom: -37px;">I tried adding custom css code like so:
.hustle-layout-footer { bottom:40px !important; right: 10px !important; }But my custom code does not seem to be applied. Any custom css I add is ignored. Enable custom css is active.
Thanks.
Thank you. That worked.
That worked for the styling. Thanks. The for submitted but the confirmation did not show. that seems to be the only issue with it now.
That’s unfortunate. Are their any actions I could add to my themes function file that I could use to force it to load the Forminator Assets?
Or does the Branda coming soon setting allow your to make certain pages of your site public? For example, some other coming soon plugins allow you to make certain pages public. I could use that to make a enquiry page which excludes links to other pages in the site via my theme setup.
Thanks