streamworksaudio
Forum Replies Created
-
Just following up…. I can remove the image upload in the edit profile page by doing a remove_all_actions(‘woocommerce_edit_account_form’). Looking at WooCommerce’s github, I don’t see any WooCommerce functions being called on the hook. But I am not sure if any other plugins are.
Perhaps this could be an option in the plugins settings?
Cheers
Thanks for quick reply Amin,
For the styles, is it possible to dequeue the styles? If so I can then move the styles into our theme and edit them. Only problem with that is that if there are changes to the styles in updates we would have to manually update them. But it is an idea. Only other way I can think of is to overwrite the styles with a bunch of !important
Thanks for the info on the fieldset tag, hopefully we will see a fix soon 😉 With our dark theme the white field does not match.
For the image upload, I assume that this is being called by the ‘woocommerce_edit_account_form’ hook? If so, can you tell me which function you are running there (and priority if there is one) so I can do a remove_action? I would prefer not to have this option showing on the edit profile page.
Our theme is not one we are making for commercial purposes. It is our own theme for our website.
Cheers
- This reply was modified 5 years, 6 months ago by streamworksaudio.
I do notice that many of the styles from reviewx are using !important. I am able to override some of these styles, but I have to declare !important on my CSS as well.
OK – think I tracked it down.
It appears to be a conflict between Rank Math and WP Media Categories plugin. When both are active I get an error in the console from the Media Categories…
‘Uncaught (in promise) TypeError: Cannot read property ‘split’ of undefined’
Deactivating either one of the plugins get rids of the error and everything works per normal.
On a side note, our plugin (which does not seem to be the issue) adds the WordPress CodeMirror to the editor textarea and when it is applied then Rank Math cannot do real time analysis of the content, only after saving/updating the post can I see an analysis. This would be cool for the future (the ability to analysis textreas with WordPress’s CodeMirror library.
Cheers
The error in the console is…
‘Uncaught TypeError: Cannot read property ‘focusKeywords’ of undefined’
The strange thing is that this error only happens if I make a change to the text editor and not the visual editor. When using the visual editor, nothing happens when making any change to the post.
It appears to be a conflict with our own custom plugin. I will investigate and report my findings here.
Cheers
Forum: Plugins
In reply to: [WooCommerce] Classes used in template… safe to remove?That does indeed work.
Thanks!
With Yoast we had the option to turn off SEO analysis while maintaining the meta data fields. This would allow us to set the meta data but not have to have the plugin do any analysis. Is there any plans to add this to Rank Math? At the moment I can only find an option to disable all SEO boxes for each post type. This however removes all seo options (meta & seo analysis).
I would like to keep using the Codemirror ACF extension (as I like to edit my posts in a classic HTML editor type environment), but as discussed Rank Math and this ACF custom field cannot interact, so I would like to remove the analysis all together.
Possible?
Yes, I know it is not a default that ships with ACF, it is a 3rd party add-on.
Just for fun I tried it with the default WordPress 2020 theme and it does the same thing.
So I am thinking it is the codemirror add on that is causing the issue.
It seems to be the Codemirror Code field (which is added by a plugin) that does not work. It is working with Text Area and WYSIWYG fields. Those are the only two I have tested thus far anyways.
I have my own custom theme that I wrote from the bottom up. Is there supposed to be some sort of support that I need to add to the theme?
In the video you are using an ACF text field, does it matter what type of field it is and what content is in the field? I am using a Codemirror field that I am placing HTML into.
I will try it with a plain text editor.
Forum: Plugins
In reply to: [WooCommerce] woocommerce_before_thankyou hook on refreshThanks Joey,
I was thinking about doing that but my dev machine is unavailable at the moment.
I am wondering if there is a hook on the thank you page that runs only once. I would like to push some data into a Google Tag Manager datalayer to track the purchases. However I am thinking that any page refresh of the thank you page (if I push the datalayer at that point) will result in skewed data for analytics.
Cheers
Forum: Plugins
In reply to: [ACF Code Field] Auto completeThanks for the info! I have written similar code to apply Codemirror (using the version that comes with the WP core) to text fields that were created in custom metaboxes, I could not find out, however, how to apply CodeMirror themes to these textareas however (only the default wordpress codemirror theme).
Reading the CodeMirror documentation, I see…
“CodeMirror is a code-editor component that can be embedded in Web pages. The core library provides only the editor component, no accompanying buttons, auto-completion, or other IDE functionality.”
So perhaps this plugin is loading only the core of CodeMirror (i.e no auto-complete).
Might be best in the long run then to create my own Metaboxes and Textfields and apply CodeMirror to them. But for now, I guess this plugin (and the basic core of CodeMirror) will have to do. I will revisit the idea of making my own boxes/fields when time permits.
Cheers!
Forum: Plugins
In reply to: [WooCommerce] Duplicate Download Permissions being setWell I wouldn’t say it is resolved. I have not heard anything from anybody on it. And I have asked on a few places.
Cheers