Front-End & Daily

【WordPress】How to fix Easy FancyBox not working

【WordPress】How to fix Easy FancyBox not working

Here are some solutions for when the WordPress plugin Easy FancyBox, which allows images to be enlarged by clicking, is not working.

Table of Contents

In my case

In my case, the issue was resolved by checking "Do not include WordPress's standard jQuery library" under "Settings > Media > FancyBox > Other".

Do not include WordPress's standard jQuery library (use this only if you are including other jQuery sources)

At that time, I was developing a theme, and I had stopped the standard WordPress jQuery and was loading my own jQuery.

As the name suggests, if you are loading your own jQuery, you need to check this box.

Other possible causes

From here, I'll introduce two solutions that were also mentioned in other articles.

Check settings

Check if the media you want to pop up is checked under "Settings > Media > FancyBox > Media".

Enable FancyBox Images

Check if images have links

When inserting images into an article, make sure the "Link To" is set to "Media File".

WordPress Add Media Link To

If you are using the block editor, you can check if the link destination is "Media File" from the link icon.

WordPress Add Media Link To

After all, images cannot pop up if they don't have a link.

Comments

After reviewing the content, we will publish it, omitting personal information.

Enter your name and email address as well

Please enter if you would like a reply by email.

Personal information provided will not be disclosed. It will only be used for replies.

It will be sent directly. Please confirm and click "Send".

If this was helpful, we appreciate your support!
Your support will be used for childcare.

Send support via OFUSE


Or support us by buying something from the buttons below
(You don't have to buy the linked product.)

Amazon

楽天市場

Yahoo!ショッピング

PR

As an Amazon Associate, "Ken" earns from qualifying purchases.

Share

Share on Twitter Share on Facebook Share on LINE Share on Hatena Bookmark