Dekadinious
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Picture FixHappy to help 🙂
Forum: Fixing WordPress
In reply to: custom header won’t show on front pageThis seems to be theme specific. I would ask the developers of your active theme for help 🙂
It seems your theme declares the namespace in the wrong place in the file “header.php” in the folder /themes/neve/inc/views/. I tried downloading the theme from Themeisle now to check the file. It is indeed at line 8, but all the lines above are comments. It should not be a problem.
Have you tried updating your theme to the newest version? You can try changing themes to TwentyTwentyOne to see if you get access to your site again.
Forum: Fixing WordPress
In reply to: Picture FixI would hazard a guess that this has something to do with the theme you are using and how the theme is fetching featured images. I could be wrong, but it’s the first place I’d look. Do the theme developers offer support?
Forum: Plugins
In reply to: [WooCommerce] $order->get_total_discount() not working?It seems I was confused about terms here. The method only returns total discount given by using coupons. If a product is directly discounted, this does not get stored anywhere it seems.
I think this is something that should be considered added to core. Where can I suggest?
Forum: Developing with WordPress
In reply to: Translating and changing strings (how to maintain)Great, no problem! 🙂
I was wondering if there is a better way to do what I want. Let’s say I want some other strings there, and I don’t want to call it a “translation” or manually check after each update.
Are there any hooks that can remove the original text and add my own here?
Forum: Developing with WordPress
In reply to: Moving site title and tag line to next to logoYou probably have some specificity issues going on. You could try
body .site-header > .site-logo { border: none; padding-bottom: 0; float: left; max-width: 13rem; }or
.site-header > .site-logo { border: none !important; padding-bottom: 0 !important; float: left !important; max-width: 13rem !important; }Though I wouldn’t recommend the latter if you can avoid it.
I haven’t seen the code, but do what is easiest to read and maintain. Don’t over optimize just for the sake of optimizing. And don’t fix it if it ain’t broke! 😀
In your case I would avoid optimizing for nanoseconds and focus the attention elsewhere to build something awesome 🙂
Just pick one! It doesn’t sound like you are building a massive web app to handle tens of millions of requests per second here.
And for what it’s worth, get_posts still instantiates the WP_Query class:
https://developer.wordpress.org/reference/functions/get_posts/#source
So you’re basically doing a WP_Query either way.
Forum: Developing with WordPress
In reply to: Moving site title and tag line to next to logoSuggestion for the first problem. Probably not perfect, so do your own customization:
.site-header > .site-logo { border: none; padding-bottom: 0; float: left; max-width: 13rem; }I am not sure what you mean by number 2?
Forum: Plugins
In reply to: [Mailchimp for WooCommerce] Suddenly changed audience settings in MailchimpI think this actually happened during and update of the plugin.
Additional info: If I go incognito and take note of the event ID, and refresh the page, I get the same event ID. If I wait for a few minutes and do it again, I get another one.
It seems that the pixel is firing a browser event and a server event on every event. Facebook therefore deduplicates all the server events. Is that normal behavior of the plugin?
Another problem is that it desperately tries to sync products even though we have turned that feature off completely.
11-23-2020 @ 07:49:12 - There was an error trying sync products using the Catalog Batch API for job *****: OAuthException: (#613) Calls to this api have exceeded the rate limit. 11-23-2020 @ 07:50:11 - There was an error trying sync products using the Catalog Batch API for job *****: OAuthException: (#613) Calls to this api have exceeded the rate limit. 11-23-2020 @ 07:50:12 - There was an error trying sync products using the Catalog Batch API for job *****: OAuthException: (#613) Calls to this api have exceeded the rate limit. 11-23-2020 @ 07:50:13 - There was an error trying sync products using the Catalog Batch API for job *****: OAuthException: (#613) Calls to this api have exceeded the rate limit. 11-23-2020 @ 07:50:15 - There was an error trying sync products using the Catalog Batch API for job *****: OAuthException: (#613) Calls to this api have exceeded the rate limit. 11-23-2020 @ 07:50:15 - There was an error trying sync products using the Catalog Batch API for job *****: OAuthException: (#613) Calls to this api have exceeded the rate limit. 11-23-2020 @ 07:50:16 - There was an error trying sync products using the Catalog Batch API for job *****: OAuthException: (#613) Calls to this api have exceeded the rate limit. 11-23-2020 @ 07:50:17 - There was an error trying sync products using the Catalog Batch API for job *****: OAuthException: (#613) Calls to this api have exceeded the rate limit.Forum: Developing with WordPress
In reply to: wp_localize_script and cachingAnswer: Hash it and throw it in a cookie 🙂
Forum: Plugins
In reply to: [LiteSpeed Cache] srcset on imagesRoger that, I’ll check my theme!