Topic: MDWordpress not working with Jetpack or any other lightbox plugins

dan4 priority asked 7 years ago

I can't seem to get any lightbox type plugins to work with MDW. The tiled galleries work fine with Jetpack, but no matter what I do (I tried 4 different lightbox plugins for images), images only ever link to the attachment page. Any ideas? Site:

Sebastian Kaczmarek staff answered 7 years ago

Hello Dan, As I mentioned, MDW Theme is based on MDB and this is why there is no option to disable MDB Lightbox. However, if you really care about Jetpack lightbox there is a quick workaround which will disable MDB Lightbox. If you have access to your FTP server, please find this file: /mdw/inc/embed.php and edit this line: $the_content = apply_filters( 'the_content', $content_replaced ); to this: $the_content = apply_filters( 'the_content', $content ); This will disable MDB functionality. Please note that this is a quick workaround and although it covers your needs it isn't the best solution so be aware that in the future updates of MDW the solution may change. Regards, Sebastian

dan4 priority answered 7 years ago

Unfortunately the MDB lightbox will not work when there are multiple galleries in a page, and they also remove the tiled styling from the image galleries as well. As far as I know nothing needs to be done to enable Jetpack to work, so how can I disable the MDB functionality? I am also unable to get any other kind of lightbox plugin to work, so there must be something that can be done with the MDW theme to make these all work, I just can't find it. Thanks, Dan

Sebastian Kaczmarek staff answered 7 years ago

Hello dan4, MDW Theme does not have full support for Jetpack plugin yet. However, since MDW Theme is based on MDB I suggest you use our lightbox within posts. All you have to do is change the post type to Gallery and put a gallery into post content. MDW Theme will change the way your post is displayed as well as the default gallery look. I hope I could help. Regards, Sebastian

Please insert min. 20 characters.


Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.


Specification of the issue

  • ForumUser: Priority
  • Premium support: Yes
  • Technology: General Bootstrap questions
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: No