Download html span issue
-
Hello,
I saw the other posts about removing the html span as I have the same issue where the html span code is visible on the downloads titles (perhaps due to the fact that it is a variable product and I tried to use the fix that was previously suggested and it did not work which was…
——-
Please try using the following code to remove the span variation (if you still encounter this issue):
- Create an empty plugin like this: https://gist.github.com/sareiodata/76f701e01db6685829db
- Add the following code to the end of it: add_action(‘init’, ‘trpc_remove_woo_wrap_variation’, 9999);
- function trpc_remove_woo_wrap_variation(){
- remove_filter( ‘woocommerce_product_variation_title’, ‘trp_woo_wrap_variation’, 8, 4;)
- }
- Install this plugin via FTP (copy it inside wp-content/plugins) or create a zip archive with it and install it via the WordPress plugin upload functionality.
——-
So I downloaded the zip file, extracted it, added the code mentioned, uploaded the folder and file in it via ftp to plugins and went to wp plugins page and clicked activate and got this error:
Plugin could not be activated because it triggered a fatal error.
I had originally renamed the folder but then put the name back to the numeric string that it originally was and got the same error.
Please advise.
Thank you!
- The topic ‘Download html span issue’ is closed to new replies.