Thank you for your feedback.
An easy trick for loading jQuery, Boostrap.css and Bootstrap.js is attached below.
1. Upload css/js folder into your theme. (Make sure you don't overwrite your style.css with the default one that's in the ZIP, inside the css folder.)
2. In the theme.php I changed
Code: Select all
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
to
Code: Select all
<link rel="stylesheet" href="<?=wCMS::asset('css/bootstrap.min.css')?>">
and so on for the other two files.
Code: Select all
<script src="<?=wCMS::asset('js/jquery-1.12.4.min.js')?>"></script>
<script src="<?=wCMS::asset('js/bootstrap.min.js')?>"></script>
Be careful to also not overwrite the attached theme.php (a default one for the examples is attached). You can simply copy/paste these three lines and make sure you have the css/js files from below uploaded in folders called CSS and JS.
After these changes, the files will be loaded from your server,
but this will not make it faster since only you have these files cached. Other users that browse the internet usually have a hugely cached jQuery and Boostrap.css+js as they are loaded through a content delivery network. First time visitors on your website will need a second to cache your files for the first time.
About the year variable in the footer, you can create a simple trick in your theme.php (also shown in the attached ZIP below):
Code: Select all
<?php echo date("Y"); ?>
<?=wCMS::footer()?>
This way you can always have the year practically inside the footer and use the actual footer for your additional text or links.
Let us know how it goes!