Missing variable $orderby in class-owl-carousel-2-public.php
MartvanderKruis opened this issue · comments
I believe there's a missing variable orderby in this code. I've enabled the 'page-attributes' to a CPT so I can order my posts for the carousel by 'menu_order'. But it didn't seem to work so I searched for the problem and found an undefined variable 'orderby' in the query. The solution is adding the variable '$orderby = 'menu_order' to class-owl-carousel-2-public.php here:
Please add this in the next update. Thanks!
Hello!
I suggest you directly make a "pull request" of your update so that it is corrected as soon as possible!
Have a nice day!