mw815371
Forum Replies Created
-
Must have been blind, didn’t recognize that setting.
Thanks a lot for your help!
Now it works!
I changed all JavaScript file URLs to full URLs now. This seems to work.
At first, I only changed the ones I mentioned in my first post to full URLs, which did not work.
Now I changed all files to be excluded to full URLs.Thanks for your help!
Forum: Plugins
In reply to: [LearnPress - WordPress LMS Plugin] How to load course curriculum fully?Thanks for the answer!
Didn’t recognize the setting when I scrolled over it at first.Yes, it’s a premium add-on. Thus, I expect the in-App updating feature to work, which it doesn’t. I recognized that there was a 403 error, that the form route wasn’t working. As I do not have the time to figure things out why this in-App update does not work, I just downloaded the latest version from my user account and installed it. This worked!
Now, I run the latest version of the Content-Drip.Thanks!
Hi there,
I solved the issue myself. There was an issue loading jQuery. Now it’s loading correctly and the course curriculum is displayed in the course popup.
This is solved.
Thanks!
Well, it would be great if you could tell me which template files I need to check. I tried archive-course.php, but it does not seem to work with adjustments about checking if user is logged in.
Thanks for your help.
Okay, thanks for letting me know. I’ll probably find a way to work around it.
The first file shows this information:
/wp-content/plugins/cookie-law-info/legacy/public/js/cookie-law-info-public.js
/wp-content/plugins/cookie-law-info/legacy/admin/modules/ccpa/assets/js/cookie-law-info-ccpa.js?Excluding both did the job already. The Cookie Popup accordion item now stay open. Also, the Read more link works as well. Tested in different browsers. All works!
The second file was referring to the following file, which I exclude now as well.
/wp-content/plugins/cookie-law-info/legacy/public/js/cookie-law-info-public.js
Thanks for your help! Next time I have an issue, I will first look into the information provided and check what will happen if I exclude the file in question.
All the Best,
StephanThese are the exclusions I use for the Cookie plugin:
Excluded URLs (Cache Advanced Settings tab):
/wp-content/plugins/cookie-law-info/*Excluded Javascript (Minify Javascript tab):
/wp-includes/js/jquery/jquery.js
/wp-content/plugins/cookie-law-info/public/js/cookie-law-info-public.jsExcluded CSS (Minify CSS tab):
/wp-content/plugins/cookie-law-info/public/css/cookie-law-info-gdpr.css
/wp-content/plugins/cookie-law-info/public/css/cookie-law-info-public.css
/wp-content/plugins/cookie-law-info/public/css/cookie-law-info-table.cssI did so several times. No impact. Also, I deleted the minified JavaScript and CSS files from the Advanced tab. If I reload the page after the browser cache had been cleaned, the cookie banner does not work at all.
Purging the cache again rebuilds the minified files again, even though this should not be done as they are in the exclude list.
BTW, I test the page in a different browser to avoid conflicts with the wp admin area.Forum: Plugins
In reply to: [WooCommerce] After the 8.5.0 update, I encountered an errorI’m using Twenty Twenty One theme. On one page, WooCommerce updates without any problem, the other site crashes with the error mentioned in the first message.
Took the crashed site back to 8.4 by copying the files. Seems to work fine again.
- This reply was modified 9 months, 2 weeks ago by mw815371.
I had the same problem with twenty twenty one. The blog sidebar had white color fonts.
If you use a child theme, it is relative easy to overcome the issue.In your child theme style.css file, add the following line and adjust the color setting:
.blog-sidebar .widget a:active, .widget a:link, .widget a:visited, .widget a:hover {color: #18181a;}If you want a separate hover color, you need to have another line just with the hover tag.
Hope this helps.
Hi briantp,
just solved the issue by only blocking some API routes. Now everything with learnpress seems to work fine.
Thanks for your help.
Cheers,
StephanHi briantp,
thanks for your reply.
However, I do not know what to do with the code you stated above. If I put it into the child theme function.php I get the error:
PHP Fatal error: Cannot redeclare lp_is_archive_course_load_via_api() (previously declared in /home/user/htdocs/prod/wp-content/plugins/learnpress/inc/lp-template-functions.php:1849)
So I guess that the code was the initial declaration of the hook. How could I disable it? Do I need to use “remove_filter”?
Would be great if you could point me in the right direction.
Thanks for your help.
Regards,
StephanSuper!
Es funktioniert.
Vielen Dank!
Herzliche Grü?e
Stephan