• Resolved Keagan Jervis

    (@keaganjervis)


    Hi there. First up, a quick but heartfelt thanks for this plugin – it’s a great tool, easy to use, as flexible as you could ask for and an invaluable timesaver.

    I’m using Popup Maker on a site running Bridge theme, which includes Visual Composer (using the latest versions of WordPress, Bridge, Visual Composer and Popup Maker). I’d like for my clients to be able to create and edit the contents of their popups using VC’s Backend Editor, but that doesn’t seem possible currently. The Backend Editor toggle isn’t visible when editing a popup, and “popup” doesn’t appear as an option in the “Post types” checkbox list in VC’s Role Manager.

    I note that the plugin’s GitHub changelog for v1.4.16 lists “Enable Visual Composer for Popups by default” as a feature, courtesy of @noahj-champion, from when he reported a similar issue last year (https://www.ads-software.com/support/topic/visual-composer-compatibility-2/). It seems like the patch he provided should address this problem – possibly it no longer works with the more recent versions of Visual Ccomposer? VC seems notorious for breaking third-party integrations with every update, so I’m guessing that this is the case.

    I did try the same workaround @noahj-champion found (the vc_set_default_editor_post_typesfunction, as documented at https://wpbakery.atlassian.net/wiki/pages/viewpage.action?pageId=524296) without success.

    Thanks in advance – any assistance would be greatly appreciated!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi! @keaganjervis

    You might be better off trying playing around with this method @ https://github.com/PopupMaker/Popup-Maker/pull/328/files#diff-3e95b7121bb8d33edd6787cf05c1a8f4R8

    That method I believe didn’t work shortly after a VC update lol, then the method from Github was used. It would only figure that a another VC update would break eventually, lol.

    Sorry, I don’t use VC anymore. PopupMaker will help you out.

    Or raising the issue @ https://github.com/PopupMaker/Popup-Maker/issues might be a little faster. Not sure. At least over there if you find a solution you can create a pull request for the code like I did.

    Thread Starter Keagan Jervis

    (@keaganjervis)

    Hi @brand-dedication,

    I’m not shocked to hear that the initial method didn’t last long before Visual Composer broke it; VC does have a certain reputation, and not without good reason!

    Thanks for the guidance; that alternative method does the trick perfectly. No playing around proved necessary – dropping it straight into functions.php was enough to activate the Backend Editor toggle. I’ll definitely follow your advice and raise any similar technical issues I run into in future over at GitHub. Hopefully your solution to this one can be merged so that everyone can benefit.

    Again, many thanks for your assistance! The thought of giving my client control over popups was bad enough – imagining the work I had in store the first time they messed up the markup was enough to send me into a cold sweat, haha.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Visual Composer Backend Editor not available for post type ‘popup’’ is closed to new replies.