Support » Plugin: Code Snippets » Frontend snippets running in page editors

  • Hi, first of all thanks for great plugin!

    Second, I had some really nasty issues with some plugins until I found out the snippets I’ve written to run in Frontend mode are actually running offline when editing in page editors (both in Gutenberg and Oxygen Builder), which forced me to add some workarounds in each one of the problematic snippets.

    It would be wonderful if you could make Frontend snippets actually run only in frontend, that excludes page editors that apparently rendering the pages as if it was “frontend” mode.


Viewing 1 replies (of 1 total)
  • Plugin Author Shea Bunge


    Hi Roi,

    Can you explain what it means to be ‘running offline’? Or the sorts of workarounds you use?

    As far as I’m aware, there’s not a universal way to detect all page editors. It’d certainly be possible to add an option that had hardcoded checks for the popular ones, but I’m a little worried this sort of thing might be a little niche.

Viewing 1 replies (of 1 total)
  • The topic ‘Frontend snippets running in page editors’ is closed to new replies.