• https://firstsiteguide.com/get-widget-id-wordpress/
    I have added my php a code which I don’t want to cache, to a new widget (for example by means of Ad Injection plug-in widget).
    <?php …….. ?>
    I have added widget ID = adinj-3 to Cache Exclusions.
    But it doesn’t work.
    The reason of they are – Post or Pages IDs separated by a, that shouldn’t be cached.
    In a page code I see:
    <aside id=”adinj-3″ class=”widget adinjwidget”></aside>
    – but I don’t see my php a code, that is contents of this widget.

    Can you add support of widget ID?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Currently, only page/post IDs can be added to the exclusions list. Adding support for widget IDs is not on our roadmap at this time.

    Hi,

    I would also be happy about a feature to keep a specific widget uncached. ??

    Greetings
    Torsten

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Cache Exclusions for widget ID’ is closed to new replies.