• Resolved Grzegorz.Janoszka

    (@grzegorzjanoszka)


    First of all – thanks for the plugin. It is quite handy in the free version and I have just given it 5-star review. I would like to have this plugin enabled on not all, but selected pages. Is it possible? Can I have a filter that returns false or true that decides whether to enable this plugin or not? Please let me know what options are possible.
    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Aspexi

    (@aspexi)

    Grzegorz, you can use filter “aspexifblikebox_output” in any action before wp_footer. You could then check if current page should load the plugin, if not make sure filter returns empty string.

    If you need more help please feel free contacting us.

    Aspexi

    • This reply was modified 7 years, 9 months ago by Aspexi.
    Thread Starter Grzegorz.Janoszka

    (@grzegorzjanoszka)

    add_filter(‘aspexifblikebox_output’,’__return_empty_string’) does the trick.
    Thank you for quick answer.

    Plugin Author Aspexi

    (@aspexi)

    Thanks for sharing Grzegorz!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Filter to enable it on selected pages only’ is closed to new replies.