Igor Benic
Forum Replies Created
-
Forum: Plugins
In reply to: [Croatian Shipping for WooCommerce] Not workingThis should be fixed now. Thank you for posting.
Forum: Plugins
In reply to: [Croatian Shipping for WooCommerce] Plugin activation – errorThis should be fixed now in the new update.
Forum: Plugins
In reply to: [Multisite Featured Image] "Add New Post" page does not show the editorAdded and fixed the code. Thank you very much!
Forum: Plugins
In reply to: [Multisite Featured Image] IMG tag building for no featured imageI have updated the code. It should be fine now. Thank you
Forum: Plugins
In reply to: [Multisite Featured Image] "Add New Post" page does not show the editorI will check on that and add the code for the fix.
Maybe there could be an easier way of doing it. I’ll let you know when I do.
Thank you!
Forum: Plugins
In reply to: [Multisite Featured Image] IMG tag building for no featured imageHi takayukis,
thank you for this insight. I will look into that and add it.
Forum: Plugins
In reply to: [Multisite Featured Image] featured image not working?Hello everyone. I have now updated the plugin with the old thickbox that was used before.
I have find out that Network Shared Media uses thickbox always so this is a needed approach. You can check everything now to see if that is working as intended.
Thank you all for reporting this. I apologize if I have caused any inconvenience.
Forum: Plugins
In reply to: [Multisite Featured Image] featured image not working?Hello Marion,
sorry for this late response. Mark did contact me and I will get into it to see what is the problem.
I have tested the plugin with the latest version 1.3 and the WordPress version 4.5.1 and everything seems to be working to me. Even thought the button text is saying ‘Insert into post’, the selected image is inserted as a featured image.
I will test it on another computer and on another multisite installation to see if I can see why you can’t insert it.
Thank you Larry!
I have added now a new version of this plugin.
Now the images from URL are also downloaded in the WordPress Media and you can select Featured Images with the WordPress Media Uploader instead of the thickbox.Everything should be fine and working ??
Forum: Hacks
In reply to: get_terms Multiple order_by optionsThanks for the whole code example. Someone will have a similar problem/need for sure and this will guide them ??
Please, if you can, mark this topic as solved so that people who will search for similar solutions in solved topics can find also this solution.
Forum: Hacks
In reply to: Ajax function in form submitThe problem here is that you are doing the validation check outside the AJAX call.
You should do the whole validation thing inside the AJAX response function.
The reason it works fine when you add an alert before that validation is because the AJAX thing will need a second or two to complete and while the user clicks on the alert message, the ajax is complete and the variable emailExists will be filled with a new value.
But when there is no alert there is no “wait time” and so the script will complete even though the AJAX is still in progress. To fix that you need to put the whole validation of the Email inside the response function of the AJAX requrest.
Optional: You could make that inside a separate javascript function such as validateEmail() and then call that function inside the response function of the AJAX request.
Forum: Hacks
In reply to: get_terms Multiple order_by optionsIf you still want to use that hack you can change the order like this:
ORDER BY tt.count DESC, t.name
Since SQL ORDER BY is by default set to ASC, you need to define if you want the opposite order. Here we defined that we want the count order by descending order so that the biggest number goes first down to the lowest one. By leaving the t.name without an order definition, it will go into an ascending order so you will get the names starting from 012 to ABC in that order.