zenigma
Forum Replies Created
-
Forum: Plugins
In reply to: [WP Instagram Widget] Username with underscore does not display imagesHey, I just checked her Instagram and saw that her account is on private. Did it also happen to be on private when you tried to display her feed? If so, that would explain why her feed isn’t being displayed!
I just happen to pass by, know the code, but not associated with the development team of this plugin.
Hope this helped!
Ciao!- This reply was modified 7 years, 11 months ago by zenigma.
Anyways I fixed the bug by introducing a check at line 497 (frontend.js) or line 499 (frontend.min.js) to only create a cbpHorizontalSlideOutMenu if an element is found. This same bug is also in the editor.js/editor.min.js file btw!
I didn’t know if I had to use the min.js or js version, but you guys would probably know that!
replace
var menu = new cbpHorizontalSlideOutMenu( document.getElementById( 'cbp-hsmenu-wrapper' ) );with
var foundEl = document.getElementById( 'cbp-hsmenu-wrapper' ); if ( foundEl != null ) var menu = new cbpHorizontalSlideOutMenu( foundEl );It might be more efficient to only run this script if it’s necessary + if these scripts are meant to be the same (editor+frontend), it’s really more efficient to keep it all in one file or split them up appropriately.
But for now this would do I think!
Hi, it seems that there is a problem with all your included .js files in the assets folder. They all somewhat hold the same code, except for the error in min.js that has a ‘var el;’ statement at line 405 (and perhaps more stuff). Perhaps something went wrong with revisions?
Even more of a concern, the min.js files ain’t minified versions of their ‘js’ files at all. And is it normal for the editor.js file to be the same as the frontend.js?
Hi, I’m having the same issue. I’ll be looking around in the code and see if I could see what causes the problem!
It’s an error in the ‘frontend.min.js’ line 408:5. The variable ‘el’ seems to be null/undefined. I’m only using this plugin for the display of the title in text format and sub-description (the Branding Widget) btw, so no menu’s involved.
https://snag.gy/YM9B7F.jpg & https://snag.gy/t6vWje.jpg (In the latest version of Firefox, but also having the problem in the latest version of Chrome).