Reply To: How can I disable de plugin in certain links

Your Account / Forums / Easy FancyBox Pro / How can I disable de plugin in certain links / Reply To: How can I disable de plugin in certain links

September 1, 2018 at 8:53 pm #12569

Hi Marcela, the upcoming point release will include a fix to prevent Vimeo user pages from being included by autodetection.

If you wish, you can apply the fix yourself to your current installation:

  1. Go to your WordPress admin Plugins > Editor page.
  2. Select plugin to edit “Easy FancyBox” and click Select.
  3. In the Plugin Files section on the right, open the /inc folder and choose easyfancybox-options.php for editing.
  4. Scroll down to line 1281 where you should see this:
    
    'selector' => 'a[href*="vimeo.com/"],area[href*="vimeo.com/"]',
    
  5. Paste :not([href*="/user"]) right after the first ] and the comma behind it, so that the line will look like this:
    
    'selector' => 'a[href*="vimeo.com/"]:not([href*="/user"]),area[href*="vimeo.com/"]',
    
  6. Then hit Update File and visit your front page to test the result.

 

Hope that helps 🙂