• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Authority Pro – Change default cookie expiration

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › Design Tips and Tricks › Authority Pro – Change default cookie expiration

This topic is: resolved

Tagged: authority pro, js

  • This topic has 2 replies, 2 voices, and was last updated 6 years ago by brightisland.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • April 7, 2020 at 10:55 am #497805
    brightisland
    Participant

    I've built a site for a client using Authority Pro, however she wants the banner cookie to expire after a day instead of once a week. I've looked in the top-banner.js for some obvious way of changing that but I can't make sense of where that would be.

    Any help would be greatly appreciated!

    April 7, 2020 at 9:58 pm #497823
    Victor Font
    Moderator

    Look in top-banner.js in the the theme's js directory. Find this line:

    Cookies.set( 'top-banner-hidden', 'true', { expires: 7 } );

    Change the 7 to 1.


    Regards,

    Victor
    https://victorfont.com/
    Call us toll free: 844-VIC-FONT (842-3668)
    Have you requested your free website audit yet?

    April 7, 2020 at 10:01 pm #497824
    brightisland
    Participant

    Perfect! Thank you so much!

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Authority Pro – Change default cookie expiration’ is closed to new replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2026 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble