damianba
Forum Replies Created
-
Forum: Plugins
In reply to: [My Downloads Shortcode for WooCommerce] Error on page saveCan you try one item for me, if you open up /plugins/woocommerce-my-downloads-shortcode/woocommerce-my-downloads.php
And then search for public static function my_downloads_shortcode Line:53
Can you replace the first line that is if ( is_user_logged_in() ) { and replace it with if ( is_user_logged_in() & ! is_admin() ) { and see if that corrects the issue. If it does then I will push out a patch update.
self answered:
This is an issue regarding tabs widget not properly initialised content inside.
To force windows resize after tab is loaded, just add something like this<script type="text/javascript"> jQuery(function($) { $("a.w-tabs-item").click(function(){ $(window).trigger('resize'); }); }); </script>
Forum: Plugins
In reply to: [WooCommerce Bookings Calendar] Show next 7 days – list view@after update, indeed I need to use just
date('w')
Thanks!
Forum: Plugins
In reply to: [WooCommerce Bookings Calendar] Show next 7 days – list viewThis works for me flawless on week view:
add_filter('wbc_fullcalendar_options', function($options){ $options['firstDay'] = date('w')+1; return $options; }, 10, 1);
Need to offset +1, don’t exactly know why
Forum: Plugins
In reply to: [WooCommerce Bookings Calendar] Show next 7 days – list viewThank you very much
Forum: Plugins
In reply to: [WooCommerce Bookings Calendar] Week view (agenda) – HIDE empty hoursThanks, that’s awesome project!
Forum: Plugins
In reply to: [WooCommerce Bookings Calendar] Week view (agenda) – HIDE empty hoursHello @fredrikrubneblk – sure!
Locatevar options = {
In your wbclite.js file. This is an array with options which are passed into “fullcalendar” library widget.
After{
you can add min and max value like:minTime: '10:00:00', maxTime: '22:00:00',
Let me know if you succeed
Forum: Plugins
In reply to: [WooCommerce Bookings Calendar] Week view (agenda) – HIDE empty hoursYes, i’ve managed to hide early and late hours by min and max value according to documentation