Title: viewup's Replies | WordPress.org

---

# viewup

  [  ](https://wordpress.org/support/users/viewup/)

 *   [Profile](https://wordpress.org/support/users/viewup/)
 *   [Topics Started](https://wordpress.org/support/users/viewup/topics/)
 *   [Replies Created](https://wordpress.org/support/users/viewup/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/viewup/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/viewup/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/viewup/engagements/)
 *   [Favorites](https://wordpress.org/support/users/viewup/favorites/)

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 30 total)

1 [2](https://wordpress.org/support/users/viewup/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/viewup/replies/page/2/?output_format=md)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[SVG Support] Preserve other CSS classes](https://wordpress.org/support/topic/preserve-other-css-classes/)
 *  Thread Starter [viewup](https://wordpress.org/support/users/viewup/)
 * (@viewup)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/preserve-other-css-classes/page/2/#post-9921367)
 * I integrate with your plugin forcing the setting and the class name, this way
   they will work together.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[SVG Support] Preserve other CSS classes](https://wordpress.org/support/topic/preserve-other-css-classes/)
 *  Thread Starter [viewup](https://wordpress.org/support/users/viewup/)
 * (@viewup)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/preserve-other-css-classes/page/2/#post-9912958)
 * > Your plugin could intercept this SVG plugin, store the classes as e.g. data-
   > attribute and then retrieve them afterwards and append them to the classes 
   > of the new element. This would require some HTML parsing though.
 * [@strarsis](https://wordpress.org/support/users/strarsis/) i will try that but
   i think the plugin will remove html attributes too.
 * [@benbodhi](https://wordpress.org/support/users/benbodhi/) is there an JS method
   to parse an element to SVG? maybe i can only use the JS for your plugin. Are 
   you using an library?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[SVG Support] Preserve other CSS classes](https://wordpress.org/support/topic/preserve-other-css-classes/)
 *  Thread Starter [viewup](https://wordpress.org/support/users/viewup/)
 * (@viewup)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/preserve-other-css-classes/#post-9881286)
 * There is the point: the user CAN set the animation parameters. The plugin set
   the defaults like type, speed, etc but the user can use _data-[the setting]_ 
   on the HTML tag to define it. But if the plugin removes all the attributes it
   will not work…
 * I will on the future create an UI to allow the user to configure the animation,
   but for now, i’m focused on get it working for my projects (and others that would
   like to use it).
 * About the case, i don’t think this is an edge case. The SVG support setting says:
 * >  Checking this will make sure that either the default class or the custom one
   > you set below is inserted into the style attributes of img tags when you insert
   > SVG images. Additionally, it will remove **all of the default WordPress classes**.
   > It will leave normal image types as default and only affect SVG files.
 * So, it should only remove the WordPress default classes, not remove everything
   defined. That’s my point: there is no reason to clean everything on the tag, 
   just the things you need to clean.
 * Additionally, you can split the setting in two: one for add the class automatically,
   other to remove other classes. This will allow more control and customization,
   removing unexpected behaviors.
    -  This reply was modified 8 years, 3 months ago by [viewup](https://wordpress.org/support/users/viewup/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[SVG Support] Preserve other CSS classes](https://wordpress.org/support/topic/preserve-other-css-classes/)
 *  Thread Starter [viewup](https://wordpress.org/support/users/viewup/)
 * (@viewup)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/preserve-other-css-classes/#post-9878673)
 * IS there a way tu automatically add the class but allow to keep other inserted
   classes?
 * You can already test the plugin, just add the animate-svg class to the svg tag.
   you will like it.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[SVG Support] Preserve other CSS classes](https://wordpress.org/support/topic/preserve-other-css-classes/)
 *  Thread Starter [viewup](https://wordpress.org/support/users/viewup/)
 * (@viewup)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/preserve-other-css-classes/#post-9878454)
 * I’m developing an svg animation plugin, if you want, check [https://github.com/viewup/wp-vivus-svg](https://github.com/viewup/wp-vivus-svg).
   I recommend your plugin to help the user to create the animation.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[SVG Support] Preserve other CSS classes](https://wordpress.org/support/topic/preserve-other-css-classes/)
 *  Thread Starter [viewup](https://wordpress.org/support/users/viewup/)
 * (@viewup)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/preserve-other-css-classes/#post-9878448)
 * That’s exactly what i need, but i can’t found this setting you’ve told me…
 * The only setting related to this is the **Automatically insert class?**. But 
   this setting should only add the plugin class right? it should remove other classes
   too?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[SVG Support] Preserve other CSS classes](https://wordpress.org/support/topic/preserve-other-css-classes/)
 *  Thread Starter [viewup](https://wordpress.org/support/users/viewup/)
 * (@viewup)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/preserve-other-css-classes/#post-9878192)
 * I understand, but how can the non-coder select witch SVG they want to animate?
   i don’t want to do this in all SVGs, only the ones he desire…
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[SVG Support] Preserve other CSS classes](https://wordpress.org/support/topic/preserve-other-css-classes/)
 *  Thread Starter [viewup](https://wordpress.org/support/users/viewup/)
 * (@viewup)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/preserve-other-css-classes/#post-9876877)
 * I understand that, but i’m talking about an user without experience with SVG 
   and HTML. In my case, i will just tell the user to download the SVG from an list
   on an site, upload it to the post and add my class, then i will animate it.
 * I would like to integrate with your plugin to make the process easier, but i 
   need something to find the SVG’s that will be animated.
 * If you have any reason to not preserve attributes that will not interfere with
   the current working flow, please tell me. I’m getting examples from other libraries
   that does the same thing, but they’re not integrated with WordPress and that’s
   the reason i wan’t to use the SVG support plugin.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Easy WP SMTP – WordPress SMTP and Email Logs: Gmail, Office 365, Outlook, Custom SMTP, and more] Cannot link with the new Tabs](https://wordpress.org/support/topic/cannot-link-with-the-new-tabs/)
 *  Thread Starter [viewup](https://wordpress.org/support/users/viewup/)
 * (@viewup)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/cannot-link-with-the-new-tabs/#post-9875081)
 * Great! Thank you very much! My users will like it.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[SVG Support] Preserve other CSS classes](https://wordpress.org/support/topic/preserve-other-css-classes/)
 *  Thread Starter [viewup](https://wordpress.org/support/users/viewup/)
 * (@viewup)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/preserve-other-css-classes/#post-9875076)
 * I understand this, but how can i put classes in the SVG? Even using JS, i’m not
   able to identify the SVG anymore, since the class i used to check was removed.
 * Maybe you can try to merge attributes from the IMG tag (like ID, other classes
   and data-*). An example of this is the SVG converter from the [UIKit framework](https://getuikit.com/v2/docs/utility.html#inline-svg)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Easy WP SMTP – WordPress SMTP and Email Logs: Gmail, Office 365, Outlook, Custom SMTP, and more] Cannot link with the new Tabs](https://wordpress.org/support/topic/cannot-link-with-the-new-tabs/)
 *  Thread Starter [viewup](https://wordpress.org/support/users/viewup/)
 * (@viewup)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/cannot-link-with-the-new-tabs/#post-9874854)
 * This is great! The second approach would just stick with simple IDs, but this
   is much more sophisticated. Do you trigger JS focus (or scroll) on the field 
   argument?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Easy WP SMTP – WordPress SMTP and Email Logs: Gmail, Office 365, Outlook, Custom SMTP, and more] Cannot link with the new Tabs](https://wordpress.org/support/topic/cannot-link-with-the-new-tabs/)
 *  Thread Starter [viewup](https://wordpress.org/support/users/viewup/)
 * (@viewup)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/cannot-link-with-the-new-tabs/#post-9859448)
 * One thing that will be easy and solve the problem is this:
    - **if the anchor is one of the tabs: show the tab** (currently doing this)
    - **if there is no anchor, add the first tab anchor and show it** (currently
      doing this)
    - **If the anchor isn’t any of the tabs, show the first tab** (BINGO)
 * An more sophisticated algorithm is this:
    1. check the anchor element (jquery get by id)
    2. get the closest parent that is an Tab (or the own element if is an tab)
    3. activate this tab
 * Anything that i can help, tell me 😀
    -  This reply was modified 8 years, 3 months ago by [viewup](https://wordpress.org/support/users/viewup/).
    -  This reply was modified 8 years, 3 months ago by [viewup](https://wordpress.org/support/users/viewup/).
    -  This reply was modified 8 years, 3 months ago by [viewup](https://wordpress.org/support/users/viewup/).
    -  This reply was modified 8 years, 3 months ago by [viewup](https://wordpress.org/support/users/viewup/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Email Templates Customizer and Designer for WordPress and WooCommerce] Broken Footer](https://wordpress.org/support/topic/broken-footer-2/)
 *  Thread Starter [viewup](https://wordpress.org/support/users/viewup/)
 * (@viewup)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/broken-footer-2/#post-9806235)
 * I’ve checked again and seems that this happens only with the NewsLetter Plugin(
   [https://br.wordpress.org/plugins/newsletter/](https://br.wordpress.org/plugins/newsletter/)).
 * This can be an bug from the newsletter plugin or the email templates plugin.
 * To reproduce, use the newsletter shortcode and submit your email. The confirmation
   email will be broken.
    -  This reply was modified 8 years, 4 months ago by [viewup](https://wordpress.org/support/users/viewup/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Email Templates Customizer and Designer for WordPress and WooCommerce] Logo Placeholder](https://wordpress.org/support/topic/logo-placeholder/)
 *  Thread Starter [viewup](https://wordpress.org/support/users/viewup/)
 * (@viewup)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/logo-placeholder/#post-9803718)
 * This is nice, but any chance to become editable in customizer?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[PickPlugins Product Designer for WooCommerce] Support for non WooCommerce sites](https://wordpress.org/support/topic/support-for-non-woocommerce-sites/)
 *  Thread Starter [viewup](https://wordpress.org/support/users/viewup/)
 * (@viewup)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/support-for-non-woocommerce-sites/#post-9803716)
 * I’ve tried this, but the edit screen just don’t work. It renders the edit screen
   but i can’t edit anything.

Viewing 15 replies - 1 through 15 (of 30 total)

1 [2](https://wordpress.org/support/users/viewup/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/viewup/replies/page/2/?output_format=md)