# Gallery stuck on legacy slick-slider with Advanced Ads Pro

**URL:** <https://community.hivepress.io/t/gallery-stuck-on-legacy-slick-slider-with-advanced-ads-pro/17982>\
**Category:** HivePress\
**Created:** [September 13, 2026, 5:30pm UTC](https://community.hivepress.io/t/gallery-stuck-on-legacy-slick-slider-with-advanced-ads-pro/17982 "2026-09-13T17:30:59Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![BrendaRobosa](https://community.hivepress.io/letter_avatar_proxy/v4/letter/b/43a26b/32.png) [@BrendaRobosa](https://community.hivepress.io/u/BrendaRobosa)\
**Post date:** [September 13, 2026, 5:30pm UTC](https://community.hivepress.io/t/gallery-stuck-on-legacy-slick-slider-with-advanced-ads-pro/17982/1 "2026-09-13T17:30:59Z")

</div>

### **Body:**

After updating HivePress/ListingHive, all my _older_ listings still output the **legacy slick-slider markup** (`slick-slider`, `slick-track`, etc.). The new HivePress JavaScript no longer initializes this markup, so the gallery shows:

- first image visible

- all other images blank

- thumbnails stacked vertically

- images stretched extremely tall

There are **no JavaScript errors** in the console.

New listings created today use the correct `carousel-slider` markup and work fine.

**Question:** How do I force HivePress to regenerate the **new gallery markup** (`data-component="carousel-slider"`) for _existing_ listings? Is there a filter, action, or function that triggers the new gallery renderer for old listings?

I have already disabled all custom snippets and cleared cache. The issue only affects listings created before the update.

---

<div class="post-metadata">

**Author:** ![kseniia](https://community.hivepress.io/user_avatar/community.hivepress.io/kseniia/32/13513_2.png) [@kseniia](https://community.hivepress.io/u/kseniia)\
**Post date:** [September 14, 2026, 4:02pm UTC](https://community.hivepress.io/t/gallery-stuck-on-legacy-slick-slider-with-advanced-ads-pro/17982/4 "2026-09-14T16:02:33Z")

</div>

Hi,

Thanks for the report.

The first classes starting with `slick-` are generated by the slick slider script itself. We haven’t made any changes related to these classes.

The `data-component="carousel-slider"` attribute is also present in the template file by default. The slider uses this attribute to initialize itself.

If different listings (old and new) have different slider markup, this is most likely caused by a caching plugin or server-side/hosting cache. All listings, both old and new, use the same template file, so the markup should be consistent.

Please try clearing all caches and check the listings again.

You can also send temporary WP access to [support@hivepress.io](mailto:support@hivepress.io) with the link to this topic, and we’ll check it (please send only the link, without login and password). You can create a temporary access link using this [plugin](https://wordpress.org/plugins/temporary-login-without-password/).

---

<div class="post-metadata">

**Author:** ![BrendaRobosa](https://community.hivepress.io/letter_avatar_proxy/v4/letter/b/43a26b/32.png) [@BrendaRobosa](https://community.hivepress.io/u/BrendaRobosa)\
**Post date:** [September 14, 2026, 5:21pm UTC](https://community.hivepress.io/t/gallery-stuck-on-legacy-slick-slider-with-advanced-ads-pro/17982/5 "2026-09-14T17:21:12Z")

</div>

sent you an email.

---

<div class="post-metadata">

**Author:** ![kseniia](https://community.hivepress.io/user_avatar/community.hivepress.io/kseniia/32/13513_2.png) [@kseniia](https://community.hivepress.io/u/kseniia)\
**Post date:** [September 15, 2026, 7:57pm UTC](https://community.hivepress.io/t/gallery-stuck-on-legacy-slick-slider-with-advanced-ads-pro/17982/6 "2026-09-15T19:57:59Z")

</div>

The issue was related to the Advanced Ads Pro plugin settings, specifically the setting responsible for ad placement.

The ad placement method should be configured to use the JavaScript option instead of PHP . After switching to JavaScript, the gallery is displayed correctly.

---

<div class="post-metadata">

**Author:** ![system](https://community.hivepress.io/user_avatar/community.hivepress.io/system/32/13990_2.png) [@system](https://community.hivepress.io/u/system)\
**Post date:** [October 15, 2026, 7:58pm UTC](https://community.hivepress.io/t/gallery-stuck-on-legacy-slick-slider-with-advanced-ads-pro/17982/7 "2026-10-15T19:58:09Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
