streamworksaudio
Forum Replies Created
-
Just had a look at the commits for the Assets.php file and it looks like the dev team was reading my mind 😉
Thank you!
I just had a look at that file on the github repo and it is not the same as the screenshot. For example, on the screenshot it is line 622, while on the github file it is line 655 – is this a change that will be deployed in a future release?
Also, are you recommending changing the value of these variables in this file? If so this would break on the next update?
Perhaps, as a suggestion, this variable could have a filter applied to it? This would allow developers that want to apply a custom value to the banner width/height do so via a filter.
Cheers
After digging on this for the last couple hours and looking over the source code I can see that it would hard to have the custom field verified on the server side.
As suggestion for an update would be to put a hook on the function handle_product_add() near the top after the $error array is defined (call it something like dokan_before_new_product_added something like that. From here developers can use that hook to have any custom fields that might have been created verified and add any errors that might be needed.
Just a thought. For now the only way I can see doing this would have to be client side and disable the ‘Add New’ button unless one of the radio options have been checked.
I would suggest that Wedevs puts this as an option or at least as a filter to allow store admin to filter it out somehow.
If you are able to override the templates you can remove that in a custom template. Here is a good article on how to override templates….
https://wpdoctor.press/overriding-dokan-plugin-template-easy/
the template is orders/details.php…
Forum: Themes and Templates
In reply to: [Kadence] Front end media upload styles issueThanks Karla,
I think this would help for any plugin that might be using the Media manager from the front end.
Cheers!
Forum: Themes and Templates
In reply to: [Kadence] Front end media upload styles issueYes that does work as expected. Maybe this should be in the Kadence styles then. As it is right now the Kadence button element styles are overriding the default WordPress styles for .media-router .media-menu-item (on the front end).
It also adds a drop shadow to these items which is not a match to the default styles as well, but that is less of an issue than not being able to see the text.
Cheers
Forum: Themes and Templates
In reply to: [Kadence] Incorrect Breadcrumbs on Product PageWhen testing and coding I always work in Incognito with the inspector open and cache disabled.
I haven’t looked at it in sometime as I am using Rankmath for breadcrumbs now.
Forum: Themes and Templates
In reply to: [Kadence] Front end media upload styles issueThe uploader is part of the Dokan plugin and only registered users/approved users can access the uploader.
I don’t think this is a problem with the plugin however, as after checking the inspector there were no styles from the Dokan being applied to that tab element, only the built in WordPress styles and then the Kadence styles which was overriding the text color set by the WordPress styles.
Cheers
Thanks Arif,
I will give this a shot. As I mentioned above, I was sure the function was in a class, but I couldn’t figure out which class it was in. I tried ‘Products’ by itself and that did not work. I will try ‘WeDevs\Dokan\Dashboard\Templates\Products’
Cheers!
Works perfectly!
Thanks!
Forum: Themes and Templates
In reply to: [Kadence] Front end media upload styles issueI do realize this is from the variable global-palatte-btn and that the global-palatte-btn-bg is set to a contrasting color, but somehow the WordPress styles are overriding the background color.
Thanks Tanjir,
I will keep my eye on the github issue.
Cheers
Thanks for the update!
Cheers
Thanks Tanjir,
I am comfortable with coding and I will have a look at the github fix.
Cheers