I have WordPress website, and i have problem with admin panel - localhost/x/wp-admin/
If i use barba i have problem with time sessions -
Your session has expired. Please login to continue.
Please help :)
Hi @ProdesignerAgency,
You can disable Barba on some links by using a prevent strategy:
<!-- prevent Barba from running on a specific link -->
<a href="localhost/x/wp-admin/" data-barba-prevent="self">Admin</a>
<!-- prevent Barba from running on an entire block -->
<div data-barba-prevent="all">
<p>text content</p>
<a href="link-1">link-1</a>
<a href="link-2">link-2</a>
</div>
See https://barba.js.org/docs/advanced/strategies/#prevent for more informations.
Please let me know if it fits your need :wink:
@ProdesignerAgency,
Did you ended to make it work?
Thanks for the feedback :wink:
@ProdesignerAgency,
Barba doesn't have any effects on session duration, as it is a server-side setting.
Closing the issue.
Most helpful comment
Hi @ProdesignerAgency,
You can disable Barba on some links by using a
preventstrategy:Please let me know if it fits your need :wink: