Categories
CMS Mastering Development Wordpress

Google Maps filters – if statement will not return true – (map set up with ACF but more google maps related)

I have had a look through the other questions posted on here and none of the answers seem to work for me – I have set up a google map which pulls in the markers from ACF Location fields – this all works fine. I have 3 sets of filters with multiple checkboxes for Country, […]

Categories
Mastering Development

Issue in converting select to select2 in vue js [closed]

vue select2 is not rendering properly and also not updating value on post $(function () {window[‘_QuickCheckout’] = new Vue({data: window[‘_QuickCheckoutData’], el: ‘.quick-checkout’, template: ‘#quick-checkout’, mounted: function () {var tdata = console.log( window[‘_QuickCheckoutData’]);var self = this;self.payment();$(self.$el).find(‘.date’).datetimepicker({pickTime: false});$(self.$el).find(‘.datetime’).datetimepicker({pickDate: true, pickTime: true});$(self.$el).find(‘.time’).datetimepicker({pickDate: false});$(self.$el).find(‘.date, .datetime, .time’).on(‘dp.change’, function (event) {$(event.target).find(‘input’)[0].dispatchEvent(new Event(‘change’));});Vue.component(‘v-select’, VueSelect.VueSelect);}, updated: function () {console.log(‘Tested’);var self = this;$(self.$el).find(‘.date’).datetimepicker({pickTime: false});$(self.$el).find(‘.datetime’).datetimepicker({pickDate: […]

Categories
CMS Development Magento

JQuery Uncheck after deleting an item

this question is an addition to the previously asked. Help in remaking the code on the widget I adapted the functionality of adding a copied element a bit. At the moment, the element clears inline styles when copying in case the library is affected by the type ‘owl carouser’. I also added the ability to […]

Categories
CMS Development Wordpress

How WP archive with custom field filter (ACF) not working

I’m using Advanced Custom Fields and have been following along with this tutorial on Creating a WP archive with Custom Field Filter I have Field name: check Field type: check Choices: 1:a , 1:b , 1:c. my function: $GLOBALS[‘my_query_filters’] = array( ‘check’ => ‘check’, ); // action add_action(‘pre_get_posts’, ‘my_pre_get_posts’, 10, 1); function my_pre_get_posts( $query ) […]