Title: Active toggle has no effect with Shortcode insert method
Last modified: August 8, 2022

---

# Active toggle has no effect with Shortcode insert method

 *  Resolved [nickk40](https://wordpress.org/support/users/nickk40/)
 * (@nickk40)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/active-toggle-has-no-effect-with-shortcode-insert-method/)
 * 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](https://wordpress.org/support/users/gripgrip/)
 * (@gripgrip)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/active-toggle-has-no-effect-with-shortcode-insert-method/#post-15897577)
 * Hi [@nickk40](https://wordpress.org/support/users/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.

 * ![](https://ps.w.org/insert-headers-and-footers/assets/icon-256x256.png?rev=2758516)
 * [WPCode - Insert Headers and Footers + Custom Code Snippets - WordPress Code Manager](https://wordpress.org/plugins/insert-headers-and-footers/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/insert-headers-and-footers/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/insert-headers-and-footers/)
 * [Active Topics](https://wordpress.org/support/plugin/insert-headers-and-footers/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/insert-headers-and-footers/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/insert-headers-and-footers/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Mircea Sandu](https://wordpress.org/support/users/gripgrip/)
 * Last activity: [3 years, 10 months ago](https://wordpress.org/support/topic/active-toggle-has-no-effect-with-shortcode-insert-method/#post-15897577)
 * Status: resolved