• I use Magnific Popup to enlarge featured images on the posts. Everything works fine in main blog page, but if I use category filter which show posts only from chosen category, then popup don’t work. Background effect is appearing, but content (clicked featured image) and “X” button won’t.

    I have also a slider which show gallery created in a post as popup if there’s any created) after clicking on featured image. In short: if I have a gallery, then slider appears, if I have no gallery, then popup shows only enlarged featured photo. This slider works fine in every case.

    I make a category page almost the same as blog page, but i think that echo’ed content url for popup have a wrong form.

    There’s a php file for blog-page:
    https://pastebin.com/gEiV1qJS

    and there’s a php file for category page:
    https://pastebin.com/0JmTQ1gF

    Im wrong in line 35 or entire category page script is bad? Please tell me, what i must paste in the code (and where) to make it works.

    Please see, what I mean exactly and click on the left photo on the link below. Then go out of category by clicking All, which show posts from all categories and click on this post again. Popup work only, when user don’t choose the category.

    https://roundedblocks2.progress-lab.eu/category/beauty/

    https://www.ads-software.com/plugins/iw-magnific-popup/

Viewing 1 replies (of 1 total)
  • Thread Starter philippe100

    (@philippe100)

    I mean – this post where’s no gallery icon (right top photo corner). The post “Wind of the beauty” :).

Viewing 1 replies (of 1 total)
  • The topic ‘Featured image don't enlarge on category page’ is closed to new replies.