Support » Plugin: Hide Broken Shortcodes » Seem not work

  • Resolved oanhtran1804

    (@oanhtran1804)


    Hi,

    I active plugin, but dont find anywhere to setting.

    Then
    I used shortcode in menu. Test in frontend, work fine

    Then
    I went to deactive visual composer and shortcode in menu ==> All code appear without hidden here.

    What is wrong please?

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Scott Reilly

    (@coffee2code)

    WordPress & Plugin Developer

    Hi @oanhtran1804,

    The plugin has no settings page. It just works once activated. However, it only works for specific (documented) places: for post content, post excerpts, and widget text.

    It does not work for text in menus. The Visual Composer plugin you appear to be using sounds like it enables shortcodes to work in menus, which is not default behavior for WordPress.

    A few lines of code could be added by you to customize the Hide Broken Shortcodes plugin to work in other places (such as for menus), but it requires knowing the most appropriate hook for the field where you have put in shortcodes. The documentation for the filter ‘hide_broken_shortcodes_filters’ provides an example for what the code should be once the hook is known (which I don’t know enough about based on what you provided).

    Cheers!

    Hi thank you. I got it

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.