Qwwwik template load order
example-page.php loads template.php
[ start template.php ]
Order of loading:
(1) settings.php (when installed)
(2) functions.php
(3) Gets pages/example-page.txt (output in content.php) and processes the top line options for passwords, message enabling etc
(4) top.php loads:
[ start <html> ]
— ppp.php (if passworded)
— stylesheets.php which references in HTML:
—— css/common-h.css
—— css/stylesheet.css
—— css/extra.css
then loads:
— extra-head.php (Open Graph etc)
[ <div id="wrapper"> ]
[ <div id="content"> ]
(5) If the page is password-protected and the correct password has previously been entered:
content.php is loaded. If not:
login-form.php is loaded.
If the page is not password-protected:
content.php is loaded.
content.php loads:
— history.php then if messages is enabled:
— form.php (for entering messages) which loads:
—— stopwords.php
(6) template.php then references in HTML:
— js/accordion.js
— js/copy.js
— js/facebook-sdk.js
— js/fade-in.js
— js/modal-img.js
— js/toggle.js
— js/scrollbar-width.js
— js/slides.js
then loads:
bottom.php
[ </div><-- end #content //--> ]
(7) edit.php
(8) footer.php
(9) tracking.php
[ </div><-- end #wrapper //--> ]
[ end </html> ]
(10) 404.php (if pages/example-page.txt not found)
[ end template.php ]