forked from petskratt/foundation-base
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README.html
90 lines (63 loc) · 4.21 KB
/
README.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
<h1>Foundation Base, child theme for the Thematic 2.0</h1>
<p>Integrating Thematic 2.0 (pre-release) & Zurb Foundation 5.5 to enable easy path from prototyping to fully functional WordPress site.</p>
<p>Installation:</p>
<ul>
<li>download & unzip Thematic 2.0 from https://github.com/ThematicTheme/Thematic into /wp-content/themes</li>
<li>download & unzip Foundation Base into /wp-content/themes</li>
<li>activate Foundation Base child theme</li>
<li>enjoy, with attitude</li>
</ul>
<p>Features:</p>
<ul>
<li>using semantic mixins with Thematic IDs</li>
<li>everything done in SASS</li>
<li>javascripts nicely joined and minified with @codekit-append’s</li>
<li>supporting wp_nav_menu and wp_page_menu (if custom menu is not defined builds nav-bar from page hierarchy)</li>
<li>… and a Foundationbase sidenav widget that creates vertical navigation, listing pages from current page’s topmost ancestor (unless on home page)</li>
</ul>
<p>pets@tehnokratt.net / skype: petskratt</p>
<h2>More Info</h2>
<p>http://thematictheme.com/</p>
<p>http://foundation.zurb.com/</p>
<h2>Changelog</h2>
<p>2015-02-03</p>
<ul>
<li>things that were in bower_components are now in /lib - please note, that hidden file .bowerrc is required for that to work (you might miss it if you just download/expand ZIP)</li>
<li>if any included components are referenced from scss or php - these point to something in /lib now</li>
<li>/lib/foundation-base-lib is separate GIT submodule now (no need to worry, unless you plan to contribute)</li>
<li>all php files are required from functions.php (previously some were included from foundation-base.php)</li>
<li>this means, that if you change some part in /lib - move it to your foundation-base folder first and change require</li>
<li>codekit project now defaults to compiling with libsass (faaaaaaaast) + creating map file for scss (and css is compressed by default)</li>
<li>config.codekit.template includes these changes, overwrite your config.codekit with that</li>
<li>@print styles, include at the very end of styles.scss</li>
<li>editor styles</li>
</ul>
<p>Updating foundation and foundation-base-lib is simple: go to the childtheme base folder and type:
<code>bower update</code></p>
<p>This updates both foundation and foundation-base-lib (and creates some additional components in /lib … that should not be needed in web, so you can safely remove everything, except foundation and foundation-base-lib, of course)</p>
<p>What are needed changes in existing projects, should you decide to bring them up to today’s changes?</p>
<ul>
<li>download a copy of new foundation-base</li>
<li>take requires from the start of functions.php, use in your current functions.php</li>
<li>same for items at the beginning of style.scss and _settings.scss - foundation and thematic rows are important</li>
<li>copy hidden .bowwerrc, not-hidden bower.json, codekit.config</li>
<li>delete current /bower_components and /library (unless you have made local changes there), from scss _thematic.scss (that is now in lib)</li>
<li>do <code>bower update</code> to have new /lib created</li>
</ul>
<p>sorry for the mess, I hope that next upates will be way easier :-)</p>
<p>2015-02-02</p>
<ul>
<li>move all bower-updatable foundation-base components to foundation-base-lib</li>
<li>introduce .bowerrc, use /lib instead of bower_components</li>
<li>start gitignoring foundation components that are not needed during runtime (as everything needed is in vendor anyway)</li>
<li>default scss processing to libsass, compressed, with sourcemaps</li>
</ul>
<p>2015-02-02</p>
<ul>
<li>remove umlauts + cyrillic from filenames, also lowercase all filenames on upload</li>
<li>possibility to switch off using Google jQuery (new constant, not mandatory)</li>
<li>possibility to tell which version of jQuery to use from Google (new constants, not mandatory)</li>
<li>“dummy” jquery registered for IE8 case - to avoid problems with plugins dependent on jquery (as IE8 fix adds jQuery not through official means but IE conditional in footer)</li>
<li>all php files have now if ( ! defined( ‘ABSPATH’ ) ) exit; at the beginning to avoid direct execution attempts</li>
<li>Foundation & dependencies upgrade to 5.5.1</li>
</ul>