• Resolved brand-dedication

    (@brand-dedication)


    Hi Scott,

    Thanks for this plugin. It is giving me a solution that is workable right now.

    I am using the plugin Tabify Edit Screen, which since recent WordPress updates or plugin updates has quit supporting in php filter to register unregistered meta boxes. Make sense?

    I am replacing 1 or 2 class names through javascript to achieve what I need.

    I have the following.

    document.getElementById("psp_onpage_optimize_meta_box").className = ".postbox.tabifybox.tabifybox-3";

    My question is when I do this the “sortable” post box for this meta box is not sortable. Is there a way to work this where I can replace a classname of a meta box using javascript but keep the metabox sortable?

    Thanks,

    https://www.ads-software.com/plugins/add-admin-javascript/

Viewing 1 replies (of 1 total)
  • Thread Starter brand-dedication

    (@brand-dedication)

    Got this fixed. I was in the css mindset and adding periods to the className when I shouldn’t have.

    All works find now.

    Thanks!

Viewing 1 replies (of 1 total)
  • The topic ‘Javascript replace classname help.’ is closed to new replies.