WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] add tag to every page when loaded? (3 posts)

  1. alimacca
    Member
    Posted 1 year ago #

    Hello.

    I would like to know how to add an

    <html manifest="cache.manifest">

    dynamically so it loads on every page that is loaded/browsed by the user.

    I take it it is not as simple as just adding that to the head.php template as this would only load once right and I need it loaded on individual pages.

    I have tried plugins for the cache manifest, but the ones I have found are defunct...

    Any help on this would be great.

    Cheers,

    Ali

  2. Andrew Bartel
    Member
    Posted 1 year ago #

    The output of head.php will be sent to the browser on every page load unless they're loading from cache.

  3. alimacca
    Member
    Posted 1 year ago #

    Brilliant, so just adding the above to the head.php will do the trick.

    Thanks for the speedy response, much appreciated!

Topic Closed

This topic has been closed to new replies.

About this Topic