webnik
Forum Replies Created
-
Thanks Savvas, I’ve done that on the live site and it works fine.
If it would be helpful for you to work out why this was happening, in case it’s a bug affecting other sites, I’d be happy to give someone from Themeboy access to my staging site. It only started in the last week or two but I don’t think there was a SportsPress update in that time.
Thanks Plou – I’ll keep that plugin in my back pocket for the future ??
I should add that I also tried the same shortcode in a new post so that it wouldn’t have any leftover code from page builders or whatever, and the same thing happened:
https://staging.tangy-aardvark.flywheelsites.com/test-25-8-20/
- This reply was modified 4 years, 3 months ago by webnik.
Hi Roch,
Thank you. It’s very odd isn’t it?
Here’s a staging site with 2020 and all plugins disabled except SportsPress. On the production site we’re using the Classic Editor plugin but this is Gutenberg. I can’t see anything relating to this in the Console but I’m not an expert.
The events all just have the “team [separator] team” format as their titles. Even if I delete a match, whichever event/match is next up, the “(On time)” still appears in the countdown.
The shortcode used is:
[countdown show_venue=”0″ show_league=”1″ align=”none”]
https://staging.tangy-aardvark.flywheelsites.com/
Thank you!
Forum: Plugins
In reply to: [Zeno Font Resizer] Not working but fonts are in %s :sHi Marcel,
I’ve looked at this some more and the theme is loading Google’s copy of jQuery (which I’ve changed to the version currently bundled with WP) but that doesn’t help.
In Console I’m just getting the follow error over and over. I can change which js scripts the theme calls up to get rid of the error, but that still doesn’t make the resizer work. Again, happy to make a donation via the plugin for your time if we can resolve this as I have about a dozen sites running on the same theme….
Uncaught TypeError: jQuery(...).zeno_font_resizer_manager is not a function at HTMLDocument.<anonymous> (jquery.fontsize.js?ver=1.7.1:124) at i (jquery.min.js?ver=1.12.4:2) at Object.fireWith [as resolveWith] (jquery.min.js?ver=1.12.4:2) at Function.ready (jquery.min.js?ver=1.12.4:2) at HTMLDocument.K (jquery.min.js?ver=1.12.4:2)
Forum: Plugins
In reply to: [Zeno Font Resizer] Not working but fonts are in %s :sJust to add, if I remove the Google jQuery library by modifying the code as below, the site runs into all sorts of formatting problems and the font re-sizer still doesn’t work (though I can see it attempting to change the size in the opening html tag).
function enqueue_scripts() { if (!is_admin()) { // Register Custom jquery wp_register_script('custom-common', EMPIRE_DIR . '/js/common.js', array('jquery'), '1.0.0', true); // Enqueue jquery wp_enqueue_script('custom-common'); } } add_action('wp_enqueue_scripts', 'enqueue_scripts');
(I realise this is a lot to ask for support with but this is outside of my area and so would be happy to make a donation or buy a pro version if that would help)
Forum: Plugins
In reply to: [Zeno Font Resizer] Not working but fonts are in %s :sThanks Marcel. It looks like the developer (not me – I just inherited a dozen sites built on this theme though) is loading it from Google to improve page load times, and is then also adding some custom jQuery too. See code snippet below from the theme’s functions.php.
What would be best to do – modify this code to load the latest version of jQuery from Google’s respository or to load it locally? Either way I’m aware it may cause problems with the them itself.
function enqueue_scripts() { if (!is_admin()) { // Register jquery wp_deregister_script('jquery'); wp_register_script('jquery', 'https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js', false, '1.7.2'); wp_register_script('validation', 'https://ajax.microsoft.com/ajax/jquery.validate/1.7/jquery.validate.min.js', 'jquery'); // Register Custom jquery wp_register_script('custom-common', EMPIRE_DIR . '/js/common.js', array('jquery'), '1.0.0', true); // Enqueue jquery wp_enqueue_script('jquery'); wp_enqueue_script('custom-common'); } } add_action('wp_enqueue_scripts', 'enqueue_scripts');
Forum: Plugins
In reply to: [WooCommerce] Why both in stock AND can be backorderedCan I bump this please? We have a number of customers asking what this confusing message means – is there really no option in WooCommerce to change this so that backordering is only mentioned when products are either out of stock or close to being out of stock?
Thanks!
Thanks Chris. Is this a premium-only feature?
That puts my mind at ease – thank you!
Forum: Plugins
In reply to: [WooCommerce] Apply global or taxonomy level discount?Thanks for the reply. I might not have been very clear! ?? What I’m trying to do is visibly put everything but a small proportion of our catalogue on sale for a week by a set percentage.
So I guess what I’m really asking is – if I want the customers to see the sale prices, is there any way quicker than manually calculating every new price and scheduling them per project for the sale period?
Forum: Plugins
In reply to: [WooCommerce] How to enter net price (inc VAT) when manually entering orders?Thanks Mike!
Forum: Plugins
In reply to: [WooCommerce] How to enter net price (inc VAT) when manually entering orders?OK so, in order, I would need to –
– Add the product to the order as normal (which has the ‘online’ price already filled in, excl tax)
– Work out the new/higher excl vat price and enter it in both price boxes and save
– Hit Calculate Taxes
– Hit Calculate TotalIs that the way with the least number of steps possible?
Forum: Plugins
In reply to: [WooCommerce Google Merchant Center Feed] image linkSame for me – product has an image link in the feed, but it’s not appearing in Merchant Center. Help! (Brilliant plugin, by the way, thank you!)
Forum: Plugins
In reply to: [Contact Form 7 minlength extension] Not working for me!Hi – I got the update over the weekend and it seems to be working perfectly for me now. Thanks very much for a very important little plugin!
Forum: Networking WordPress
In reply to: Give some users Editor status for all sitesThat could work! Depends how it behaves with Multisite. I’ll give it a try and report back. Thank you … can’t believe I’m the first person ever to have wanted to work this way!