osheaw2
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Uncaught SyntaxError: Identifier ‘url’ has already been declaredI removed the line but it was still an issue. I ended up rewriting the parsing section a little differently and now it is working. The updated parsing section is below;
console.log(“BEFORE!”)
// Function to parse access token from URL
function parseAccessTokenFromUrl(url) {
// Get the hash fragment (remove leading #)
const hashFragment = url.split(‘#’)[1];// Find the index of the ‘&token_type’ parameter
const tokenTypeIndex = hashFragment.indexOf(‘&token_type’);// Extract the substring containing the access token
const extractedAccessToken = hashFragment.substring(hashFragment.indexOf(‘#access_token=’) + 14, tokenTypeIndex);// Return the extracted access token (no global variable)
return extractedAccessToken;
}// Get the current URL
const currentUrl = window.location.href;// Try parsing the access token
const accessToken = parseAccessTokenFromUrl(currentUrl);console.log(‘Access Token:’, accessToken);
Forum: Plugins
In reply to: [LiteSpeed Cache] Not all CSSs are not minifyingIt’s fixed. I changed the “Simulate CMS:” in the Hide My WP plug-in to “Drupal 10” instead of “Drupal 8” and now the CSSs are showing as minified. Weird, I would have not that would have any difference or even be related but it is now working.
Forum: Plugins
In reply to: [LiteSpeed Cache] Not all CSSs are not minifyingOkay, It just seems odd that it’s only those 3 CSSs it has no issues with any other CSSs.
Forum: Plugins
In reply to: [LiteSpeed Cache] Not all CSSs are not minifyingForum: Plugins
In reply to: [LiteSpeed Cache] Not all CSSs are not minifyingForum: Plugins
In reply to: [LiteSpeed Cache] Not all CSSs are not minifyingWVJRRDVG
Forum: Plugins
In reply to: [LiteSpeed Cache] Not all CSSs are not minifyingThe URLs are rewritten as part of the “Hide My WP” Plugin.
Report sent.
Forum: Plugins
In reply to: [WooCommerce] Product Image and Short Description Not SavingThank you for your suggestions. It turns out it was not being caused by my theme (Astra) but after switching to (Storefront) disabling all the plugins except for WooCommerce and enabling them one at time I was able to pinpoint which plug-in was causing my issue. In my case I was able to determine it is being caused by the plugin “Product Variations Swatches for WooCommerce” By VillaTheme, which is really disappointing because I think thier plug-in is awesome! Once I discovered which plugin was causing the issue, I switched back to my original theme (Astra) and reapeated the process to confirm the issue it was still being caused by “Product Variations Swatches for WooCommerce”. I am going to reachout to them and let them know about this issue. Thank you again for your prompt response and support.
Forum: Themes and Templates
In reply to: [Krystal Lawyer] Krystal Pro Menu Font sizeGot it. Thanks!