• Resolved nickk40

    (@nickk40)


    If I have a PHP snippet with insert method Shortcode, the Active toggle has no effect. That is, even if the code snippet is set to be de-active, the snippet is still actually active on the page where the shortcode is included. With Auto insert, the Active toggle does work. Is this how the plugin is supposed to behave, or is this perhaps a bug?

Viewing 1 replies (of 1 total)
  • Plugin Author Mircea Sandu

    (@gripgrip)

    Hi @nickk40,

    Thank you for your feedback, indeed, in the current version, the shortcode option will output the snippet regardless of the status. This is happening because adding it as a shortcode is sort of a manual-insert option over which you have control separately.
    With that said, there are use-cases where being able to disable a shortcode without having to edit the page where it is inserted is useful so I have made a note to update that behaviour in a future release so that the active status is also reflected when using the shortcode insert option.

Viewing 1 replies (of 1 total)

The topic ‘Active toggle has no effect with Shortcode insert method’ is closed to new replies.