This website uses cookies to personalize your experience. By using this website you agree to our cookie policy.

Disable plugin on search page

Home Forums Product Support Forums Related Posts Pro for WordPress Support Disable plugin on search page

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #13815
    bureaufeithbureaufeith
    Participant

    Hi,

    We’re using the plugin Related Posts pro on the website http://www.wereldreis.net. It works well, but the plugin is also loading on the search results page. Can we disable the plugin for the search result page, because the plugin ensures slow loading of the results.

    #13819
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi!

    I don’t see the plugin on the search page, am I doing something wrong? I’ve tried multiple search phrases, but it’s not visible on the search page for me. Or is the issue something else?

    Can you please add temporary FTP and back-end details, in case I have to make adjustments to the code?

    #13826
    bureaufeithbureaufeith
    Participant

    You cannot access this content.

    #13832
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi!

    I see, that makes sense. In this case, first, make sure that his option is disabled: https://i.imgur.com/gHcCY5O.png
    The search page is actually an archive page as well, so this should prevent the plugin from loading up.

    If that does not work, then try placing this custom code into the functions.php file in your active theme directory (copy from line 3):

    This will make sure to unload the content filters if the search query variable is detected.

    PS: Please be careful when editing the theme files, always use an (s)FTP client, and make sure to have a full site back-up just in case!

    #13848
    bureaufeithbureaufeith
    Participant

    You cannot access this content.

    #13853
    Ernest MarcinkoErnest Marcinko
    Keymaster

    You cannot access this content.

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Disable plugin on search page’ is closed to new replies.