• Resolved wlloydw

    (@wlloydw)


    Is it possible to set up a master file with information that reoccurs on serveral pages of the site and link the information. So when the master file is updated all the other pages are updated.

    Example: contact information that whenchanged in one location would change all locations.

    Hope this is clear. Thanks

Viewing 1 replies (of 1 total)
  • Yes, create a file xyz.php with the information to be diplayed, go through your theme-files for the right place (like sidebar.php…), and call the php-file from there with include(‘xyz.php’);

    You can use other file-types, too. But you have to use another implementation.

Viewing 1 replies (of 1 total)
  • The topic ‘global snippits’ is closed to new replies.