├── .gitignore ├── screenshot.png ├── assets ├── images │ ├── bg-grad-top.png │ ├── bg-grad-bottom.png │ └── magnify-glass.svg ├── js │ ├── functions.js │ └── jquery.slicknav.min.js └── languages │ └── wfx-girder.pot ├── loop-content-page.php ├── loop-content-date.php ├── loop-content-archive.php ├── loop-content.php ├── loop-content-single.php ├── sidebar-content.php ├── header-content.php ├── footer-content.php ├── README.md ├── functions.php ├── style.css └── LICENSE /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | -------------------------------------------------------------------------------- /screenshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jonnyauk/wonderflux-girder/HEAD/screenshot.png -------------------------------------------------------------------------------- /assets/images/bg-grad-top.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jonnyauk/wonderflux-girder/HEAD/assets/images/bg-grad-top.png -------------------------------------------------------------------------------- /assets/images/bg-grad-bottom.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jonnyauk/wonderflux-girder/HEAD/assets/images/bg-grad-bottom.png -------------------------------------------------------------------------------- /assets/js/functions.js: -------------------------------------------------------------------------------- 1 | /** 2 | * All the Javascript functions 3 | * @package Girder child theme for Wonderflux framework 4 | */ 5 | 6 | ( function( $ ) { 7 | 8 | /* Responsive nav 1 */ 9 | ( function() { 10 | 11 | $('#primary-header-nav').slicknav({ 12 | prependTo:'#header-content', 13 | allowParentLinks: 'true', 14 | label:'Menu', 15 | closeOnClick:'false', 16 | }); 17 | 18 | } )(); 19 | 20 | } )( jQuery ); -------------------------------------------------------------------------------- /loop-content-page.php: -------------------------------------------------------------------------------- 1 | 7 | 8 |
> 9 | 10 |

11 | 12 |
13 | 14 | '' ) ); 18 | ?> 19 | 20 |
21 | 22 | 23 | 24 |
-------------------------------------------------------------------------------- /loop-content-date.php: -------------------------------------------------------------------------------- 1 | 8 | 9 |
> 10 | 11 |
12 | 13 |

14 | 15 |
16 | 17 | 18 |
19 | 20 |

21 | 22 |

23 | 24 |
25 | 26 |
-------------------------------------------------------------------------------- /loop-content-archive.php: -------------------------------------------------------------------------------- 1 | 8 |
> 9 | 10 |

11 | 12 |
13 | 14 | 23 | 24 |
25 | 26 | '' ) ); 29 | ?> 30 | 31 |
-------------------------------------------------------------------------------- /loop-content.php: -------------------------------------------------------------------------------- 1 | 7 | 8 |
> 9 | 10 |

11 | 12 |
13 | 14 | 23 | 24 |
25 | 26 | '' ) ); 29 | ?> 30 | 31 |
32 | 33 | 34 | -------------------------------------------------------------------------------- /loop-content-single.php: -------------------------------------------------------------------------------- 1 | 7 | 8 |
> 9 | 10 |

11 | 12 |
13 | 14 | '' ) ); 17 | wfx_edit_meta('intro=N&adminlink=N&postcontrols=N&pagecontrols=Nwfcontrols=N&widgetslink=N'); 18 | ?> 19 | 20 |
21 | 22 |
23 | 24 | Posted in: ' . get_the_category_list( ', ' ); 26 | $tag_list = get_the_tag_list( '', ', ' ); 27 | if ( $tag_list ) { 28 | echo ' | '; 29 | echo '

Tagged with: ' . $tag_list . '

'; 30 | } 31 | echo '

' . 'Written by ' . ucwords(get_the_author_link()) . '

'; 32 | ?> 33 | 34 |
35 | 36 | 37 | 38 | 42 | 43 |
-------------------------------------------------------------------------------- /sidebar-content.php: -------------------------------------------------------------------------------- 1 | 12 | 13 | 22 | 23 | 51 | 52 | -------------------------------------------------------------------------------- /header-content.php: -------------------------------------------------------------------------------- 1 | 12 | 13 | 14 |
15 | 16 | of site for additional CSS rules: wf-css-flux-layout.php 26 | */ 27 | ?> 28 | 29 |
30 | 31 |
32 |

33 |

Hello - this is the WFX Girder demo child theme for Wonderflux.

34 |
35 | 36 |
37 | 38 |
39 | 40 | 41 | 42 |
43 | 44 |
45 | 46 |
-------------------------------------------------------------------------------- /assets/images/magnify-glass.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | 13 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | -------------------------------------------------------------------------------- /footer-content.php: -------------------------------------------------------------------------------- 1 | 12 | 13 | 72 | 73 | -------------------------------------------------------------------------------- /assets/languages/wfx-girder.pot: -------------------------------------------------------------------------------- 1 | #, fuzzy 2 | msgid "" 3 | msgstr "" 4 | "Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n" 5 | "Project-Id-Version: WFX Girder\n" 6 | "POT-Creation-Date: 2015-12-15 22:43+0000\n" 7 | "PO-Revision-Date: 2015-12-15 22:43+0000\n" 8 | "Last-Translator: \n" 9 | "Language-Team: \n" 10 | "MIME-Version: 1.0\n" 11 | "Content-Type: text/plain; charset=UTF-8\n" 12 | "Content-Transfer-Encoding: 8bit\n" 13 | "X-Generator: Poedit 1.8.6\n" 14 | "X-Poedit-Basepath: ../..\n" 15 | "X-Poedit-WPHeader: style.css\n" 16 | "X-Poedit-SourceCharset: UTF-8\n" 17 | "X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;" 18 | "esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;" 19 | "_nx_noop:3c,1,2;__ngettext_noop:1,2\n" 20 | "X-Poedit-SearchPath-0: .\n" 21 | "X-Poedit-SearchPathExcluded-0: *.js\n" 22 | 23 | #: functions.php:87 24 | msgid "Above sidebar" 25 | msgstr "" 26 | 27 | #: functions.php:88 28 | msgid "Drag widgets here to be shown above the sidebar on all pages." 29 | msgstr "" 30 | 31 | #: functions.php:100 32 | msgid "Below homepage sidebar" 33 | msgstr "" 34 | 35 | #: functions.php:101 36 | msgid "Drag widgets here to be shown below the sidebar, ONLY on the homepage." 37 | msgstr "" 38 | 39 | #: functions.php:110 40 | msgid "Below content" 41 | msgstr "" 42 | 43 | #: functions.php:112 44 | msgid "" 45 | "Drag widgets here to be shown below the main content, ONLY on the homepage." 46 | msgstr "" 47 | 48 | #: functions.php:119 49 | msgid "Footer primary 1" 50 | msgstr "" 51 | 52 | #: functions.php:120 53 | msgid "Drag widgets here to be shown in the footer area (small left area)" 54 | msgstr "" 55 | 56 | #: functions.php:128 57 | msgid "Footer primary 2" 58 | msgstr "" 59 | 60 | #: functions.php:129 61 | msgid "Drag widgets here to be shown in the footer area (small right area)" 62 | msgstr "" 63 | 64 | #: functions.php:265 65 | msgid "Primary navigation" 66 | msgstr "" 67 | 68 | #: functions.php:266 69 | msgid "Secondary navigation" 70 | msgstr "" 71 | 72 | #: loop-content-category.php:12 loop-content-category.php:21 73 | #: loop-content-date.php:21 74 | #, php-format 75 | msgid "View %s" 76 | msgstr "" 77 | 78 | #: loop-content-category.php:21 loop-content-date.php:21 79 | msgid "View" 80 | msgstr "" 81 | 82 | #: loop-content-date.php:12 loop-content.php:10 83 | #, php-format 84 | msgid "Read %s" 85 | msgstr "" 86 | 87 | #: loop-content-page.php:17 loop-content-single.php:16 loop-content.php:28 88 | msgid "Pages:" 89 | msgstr "" 90 | 91 | #: loop-content-single.php:39 92 | msgctxt "Previous post link" 93 | msgid "←" 94 | msgstr "" 95 | 96 | #: loop-content-single.php:40 97 | msgctxt "Next post link" 98 | msgid "→" 99 | msgstr "" 100 | 101 | #: sidebar-content.php:31 102 | msgid "Select category" 103 | msgstr "" 104 | 105 | #: sidebar-content.php:57 106 | msgid "Select Month" 107 | msgstr "" 108 | 109 | #. Theme Name of the plugin/theme 110 | msgid "WFX Girder" 111 | msgstr "" 112 | 113 | #. Theme URI of the plugin/theme 114 | msgid "https://github.com/Jonnyauk/wonderflux-girder" 115 | msgstr "" 116 | 117 | #. Description of the plugin/theme 118 | msgid "" 119 | "This is an example responsive child theme for the Wonderflux theme framework " 120 | "(requires version 2 and above). Could be used as a starter theme for your " 121 | "own Wonderflux child theme." 122 | msgstr "" 123 | 124 | #. Author of the plugin/theme 125 | msgid "Jonny Allbut" 126 | msgstr "" 127 | 128 | #. Author URI of the plugin/theme 129 | msgid "http://wonderflux.com" 130 | msgstr "" 131 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | ![wonderflux](http://wonderflux.com/wonderflux-logo.png) 2 | 3 | ==================================== 4 | #### WFX Girder child theme for Wonderflux 5 | #### Version v1.4 - DEVELOPMENT VERSION - NOT FOR LIVE PRODUCTION ENVIRONMENTS! 6 | #### Stable/production releases: https://github.com/Jonnyauk/wonderflux-girder/releases 7 | #### Copyright (c)2015 Jonny Allbut 8 | #### http://jonnya.net / @Jonnyauk 9 | ==================================== 10 | 11 | This program is free software; you can redistribute it and/or modify 12 | it under the terms of the GNU General Public License as published by 13 | the Free Software Foundation; either version 2 of the License, 14 | or (at your option) any later version. 15 | 16 | This program is distributed in the hope that it will be useful, 17 | but WITHOUT ANY WARRANTY; without even the implied warranty of 18 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 19 | See the GNU General Public License for more details. 20 | 21 | You may have received a copy of the GNU General Public License along 22 | with this program; if not, write to the Free Software Foundation, Inc., 23 | 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 24 | 25 | You may also view the license online: http://www.gnu.org/licenses/gpl-2.0.html 26 | 27 | About 28 | ================= 29 | 30 | A demonstration responsive child theme for the Wonderflux WordPress theme framework (requires Wonderflux version 2 minimum) - https://github.com/Jonnyauk/Wonderflux 31 | 32 | Could be used as a starter child theme, take a look at the code - lots of comments for you to learn how to use Wonderflux! 33 | 34 | Showcases some of the features of creating your own Wonderflux child theme, such as smarter template parts, auto-insertion of widgets, filtering of Wonderflux output and much more ;) 35 | 36 | **You can view a live demonstration of this theme at: http://wonderflux.com/demo-girder** 37 | 38 | NOTE: This theme is configured not to show menus (including the responsive menu) if they are not set-up in the admin area. Once activated, go to Appearance > Menus > Manage locations to set a menu to display in the header and footer). 39 | 40 | REQUIRES the free, Open Source Wonderflux theme framework - available from https://github.com/Jonnyauk/Wonderflux 41 | 42 | Read the Wonderflux getting started documentation at http://wonderflux.com/getting-started 43 | 44 | Theme features 45 | ================= 46 | 47 | * Responsive layout 48 | * Automatic responsive menu for primary navigation 49 | * 2 editable menus (that auto-hide if not set in WordPress admin) 50 | * 5 editable widget areas 51 | 52 | Installation 53 | ================= 54 | 55 | * Copy Wonderflux theme framework to wp-content/themes directory (ensure directory is called 'wonderflux'). 56 | * Copy the Girder theme wp-content/themes directory (this can be renamed to anything you wish). 57 | * In WordPress admin goto Appearance > Themes. 58 | * Activate WFX Girder theme. 59 | 60 | Configuration 61 | ================= 62 | 63 | * Go to Appearance > Menus to configure editable menus in the theme (they do not appear if you do not configure them here!) 64 | * Go to Appearance > Widgets to configure editable widget areas within the theme. 65 | * Go to Appearance > Wonderflux to configure more advanced theme options including layout CSS generator. 66 | 67 | Using as a starter for your own theme 68 | ================= 69 | 70 | 1. Duplicate the whole wfx-girder (this!) directory with all contained files. 71 | 2. Change the name of the directory (the one you duplicated in step 1). 72 | 3. Call your theme something different at the top of style.css (Theme Name: My Theme). 73 | 4. Search and replace text string 'wfxgider' in all files to replace the text domain for translation. 74 | 5. You are good to go! -------------------------------------------------------------------------------- /assets/js/jquery.slicknav.min.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * SlickNav Responsive Mobile Menu v1.0.3 3 | * (c) 2015 Josh Cope 4 | * licensed under MIT 5 | */ 6 | !function(e,n,t){function a(n,t){this.element=n,this.settings=e.extend({},i,t),this._defaults=i,this._name=s,this.init()}var i={label:"MENU",duplicate:!0,duration:200,easingOpen:"swing",easingClose:"swing",closedSymbol:"►",openedSymbol:"▼",prependTo:"body",parentTag:"a",closeOnClick:!1,allowParentLinks:!1,nestedParentLinks:!0,showChildren:!1,removeIds:!1,removeClasses:!1,brand:"",init:function(){},beforeOpen:function(){},beforeClose:function(){},afterOpen:function(){},afterClose:function(){}},s="slicknav",l="slicknav";a.prototype.init=function(){var t,a,i=this,s=e(this.element),o=this.settings;if(o.duplicate?(i.mobileNav=s.clone(),i.mobileNav.removeAttr("id"),i.mobileNav.find("*").each(function(n,t){e(t).removeAttr("id")})):(i.mobileNav=s,i.mobileNav.removeAttr("id"),i.mobileNav.find("*").each(function(n,t){e(t).removeAttr("id")})),o.removeClasses&&(i.mobileNav.removeAttr("class"),i.mobileNav.find("*").each(function(n,t){e(t).removeAttr("class")})),t=l+"_icon",""===o.label&&(t+=" "+l+"_no-text"),"a"==o.parentTag&&(o.parentTag='a href="#"'),i.mobileNav.attr("class",l+"_nav"),a=e('
'),""!==o.brand){var r=e('
'+o.brand+"
");e(a).append(r)}i.btn=e(["<"+o.parentTag+' aria-haspopup="true" tabindex="0" class="'+l+"_btn "+l+'_collapsed">',''+o.label+"",'','','','',"",""].join("")),e(a).append(i.btn),e(o.prependTo).prepend(a),a.append(i.mobileNav);var d=i.mobileNav.find("li");e(d).each(function(){var n=e(this),t={};if(t.children=n.children("ul").attr("role","menu"),n.data("menu",t),t.children.length>0){var a=n.contents(),s=!1;nodes=[],e(a).each(function(){return e(this).is("ul")?!1:(nodes.push(this),void(e(this).is("a")&&(s=!0)))});var r=e("<"+o.parentTag+' role="menuitem" aria-haspopup="true" tabindex="-1" class="'+l+'_item"/>');if(o.allowParentLinks&&!o.nestedParentLinks&&s)e(nodes).wrapAll('').parent();else{var d=e(nodes).wrapAll(r).parent();d.addClass(l+"_row")}n.addClass(l+"_collapsed"),n.addClass(l+"_parent");var c=e(''+o.closedSymbol+"");o.allowParentLinks&&!o.nestedParentLinks&&s&&(c=c.wrap(r).parent()),e(nodes).last().after(c)}else 0===n.children().length&&n.addClass(l+"_txtnode");n.children("a").attr("role","menuitem").click(function(n){o.closeOnClick&&!e(n.target).parent().closest("li").hasClass(l+"_parent")&&e(i.btn).click()}),o.closeOnClick&&o.allowParentLinks&&(n.children("a").children("a").click(function(n){e(i.btn).click()}),n.find("."+l+"_parent-link a:not(."+l+"_item)").click(function(n){e(i.btn).click()}))}),e(d).each(function(){var n=e(this).data("menu");o.showChildren||i._visibilityToggle(n.children,null,!1,null,!0)}),i._visibilityToggle(i.mobileNav,null,!1,"init",!0),i.mobileNav.attr("role","menu"),e(n).mousedown(function(){i._outlines(!1)}),e(n).keyup(function(){i._outlines(!0)}),e(i.btn).click(function(e){e.preventDefault(),i._menuToggle()}),i.mobileNav.on("click","."+l+"_item",function(n){n.preventDefault(),i._itemClick(e(this))}),e(i.btn).keydown(function(e){var n=e||event;13==n.keyCode&&(e.preventDefault(),i._menuToggle())}),i.mobileNav.on("keydown","."+l+"_item",function(n){var t=n||event;13==t.keyCode&&(n.preventDefault(),i._itemClick(e(n.target)))}),o.allowParentLinks&&o.nestedParentLinks&&e("."+l+"_item a").click(function(e){e.stopImmediatePropagation()})},a.prototype._menuToggle=function(e){var n=this,t=n.btn,a=n.mobileNav;t.hasClass(l+"_collapsed")?(t.removeClass(l+"_collapsed"),t.addClass(l+"_open")):(t.removeClass(l+"_open"),t.addClass(l+"_collapsed")),t.addClass(l+"_animating"),n._visibilityToggle(a,t.parent(),!0,t)},a.prototype._itemClick=function(e){var n=this,t=n.settings,a=e.data("menu");a||(a={},a.arrow=e.children("."+l+"_arrow"),a.ul=e.next("ul"),a.parent=e.parent(),a.parent.hasClass(l+"_parent-link")&&(a.parent=e.parent().parent(),a.ul=e.parent().next("ul")),e.data("menu",a)),a.parent.hasClass(l+"_collapsed")?(a.arrow.html(t.openedSymbol),a.parent.removeClass(l+"_collapsed"),a.parent.addClass(l+"_open"),a.parent.addClass(l+"_animating"),n._visibilityToggle(a.ul,a.parent,!0,e)):(a.arrow.html(t.closedSymbol),a.parent.addClass(l+"_collapsed"),a.parent.removeClass(l+"_open"),a.parent.addClass(l+"_animating"),n._visibilityToggle(a.ul,a.parent,!0,e))},a.prototype._visibilityToggle=function(n,t,a,i,s){var o=this,r=o.settings,d=o._getActionItems(n),c=0;a&&(c=r.duration),n.hasClass(l+"_hidden")?(n.removeClass(l+"_hidden"),s||r.beforeOpen(i),n.slideDown(c,r.easingOpen,function(){e(i).removeClass(l+"_animating"),e(t).removeClass(l+"_animating"),s||r.afterOpen(i)}),n.attr("aria-hidden","false"),d.attr("tabindex","0"),o._setVisAttr(n,!1)):(n.addClass(l+"_hidden"),s?"init"==i&&r.init():r.beforeClose(i),n.slideUp(c,this.settings.easingClose,function(){n.attr("aria-hidden","true"),d.attr("tabindex","-1"),o._setVisAttr(n,!0),n.hide(),e(i).removeClass(l+"_animating"),e(t).removeClass(l+"_animating"),s?"init"==i&&r.init():r.afterClose(i)}))},a.prototype._setVisAttr=function(n,t){var a=this,i=n.children("li").children("ul").not("."+l+"_hidden");i.each(t?function(){var n=e(this);n.attr("aria-hidden","true");var i=a._getActionItems(n);i.attr("tabindex","-1"),a._setVisAttr(n,t)}:function(){var n=e(this);n.attr("aria-hidden","false");var i=a._getActionItems(n);i.attr("tabindex","0"),a._setVisAttr(n,t)})},a.prototype._getActionItems=function(e){var n=e.data("menu");if(!n){n={};var t=e.children("li"),a=t.find("a");n.links=a.add(t.find("."+l+"_item")),e.data("menu",n)}return n.links},a.prototype._outlines=function(n){n?e("."+l+"_item, ."+l+"_btn").css("outline",""):e("."+l+"_item, ."+l+"_btn").css("outline","none")},a.prototype.toggle=function(){var e=this;e._menuToggle()},a.prototype.open=function(){var e=this;e.btn.hasClass(l+"_collapsed")&&e._menuToggle()},a.prototype.close=function(){var e=this;e.btn.hasClass(l+"_open")&&e._menuToggle()},e.fn[s]=function(n){var t=arguments;if(void 0===n||"object"==typeof n)return this.each(function(){e.data(this,"plugin_"+s)||e.data(this,"plugin_"+s,new a(this,n))});if("string"==typeof n&&"_"!==n[0]&&"init"!==n){var i;return this.each(function(){var l=e.data(this,"plugin_"+s);l instanceof a&&"function"==typeof l[n]&&(i=l[n].apply(l,Array.prototype.slice.call(t,1)))}),void 0!==i?i:this}}}(jQuery,document,window); -------------------------------------------------------------------------------- /functions.php: -------------------------------------------------------------------------------- 1 | Files in use - shows template files and source 42 | * 43 | */ 44 | //define( 'WF_DEBUG', true ); 45 | 46 | 47 | /** 48 | * 49 | * Setup some Wonderflux layout options 50 | * 51 | */ 52 | function my_wfx_layout() { 53 | 54 | // Configure background divs as required. 55 | // Increase depth to add for for multi-layered backgrounds. 56 | wfx_background_divs('depth=1&location=site'); 57 | wfx_background_divs('depth=1&location=main'); 58 | wfx_background_divs('depth=1&location=header'); 59 | wfx_background_divs('depth=1&location=footer'); 60 | 61 | // Remove the sidebar using filter 62 | //layout div's around main content adapt automatically - cool! 63 | //add_filter('wflux_sidebar_1_display', 'wfx__N' ); 64 | 65 | // Inserts JQuery and Cycle Javascript 66 | //Configure using file js/cycle/jquery.cycle.config.js 67 | // Removed - need to make responsive with Cycle2 upgrade 68 | //wfx_js_cycle('config=theme'); 69 | 70 | } 71 | add_action('get_header', 'my_wfx_layout', 1); 72 | 73 | 74 | /** 75 | * 76 | * Defines and automatically inserts widget areas using the Wonderflux display hook system. 77 | * If no 'location' set, you insert widget area as normal in theme file. 78 | * 79 | */ 80 | function my_wfx_widgets() { 81 | 82 | wfx_widgets( 83 | array ( 84 | 85 | /* All parameters - hooked into wfsidebar_before_all, so no template code */ 86 | array ( 87 | "name" => __( 'Above sidebar', 'wfxgider' ), 88 | "description" => __( 'Drag widgets here to be shown above the sidebar on all pages.', 'wfxgider' ), 89 | "location" => "wfsidebar_before_all", 90 | "container" => "div", 91 | "containerclass" => "widget-box", 92 | "titlestyle" => "h4", 93 | "titleclass" => "sidebar-title", 94 | "before" => "", 95 | "after" => "" 96 | ), 97 | 98 | /* Special - hooked into wfsidebar_after_home, so no template code */ 99 | array ( 100 | "name" => __( 'Below homepage sidebar', 'wfxgider' ), 101 | "description" => __( 'Drag widgets here to be shown below the sidebar, ONLY on the homepage.', 'wfxgider' ), 102 | "location" => "wfsidebar_after_home", 103 | "titleclass" => "sidebar-title", 104 | "containerclass" => "widget-box", 105 | "titlestyle" => "h4" 106 | ), 107 | 108 | /* Special - hooked into wfloop_after_found_posts_home, so no template code */ 109 | array ( 110 | "name" => __( 'Below content', 'wfxgider' ), 111 | "location" => "wfloop_after_found_posts_home", 112 | "description" => __( 'Drag widgets here to be shown below the main content, ONLY on the homepage.', 'wfxgider' ), 113 | "containerclass" => "box-1-1 widget-box widget-box-below-content", 114 | "titlestyle" => "h2" 115 | ), 116 | 117 | /* Simple example - no auto insertion (no $location param) so have to put standard WP code in footer to appear */ 118 | array ( 119 | "name" => __( 'Footer primary 1', 'wfxgider' ), 120 | "description" => __( 'Drag widgets here to be shown in the footer area (small left area)', 'wfxgider' ), 121 | "titleclass" => "sidebar-title", 122 | "containerclass" => "widget-box", 123 | "titlestyle" => "h4" 124 | ), 125 | 126 | /* Simple example - no auto insertion (no $location param) so have to put standard WP code in footer to appear */ 127 | array ( 128 | "name" => __( 'Footer primary 2', 'wfxgider' ), 129 | "description" => __( 'Drag widgets here to be shown in the footer area (small right area)', 'wfxgider' ), 130 | "titleclass" => "sidebar-title", 131 | "containerclass" => "widget-box", 132 | "titlestyle" => "h4" 133 | ) 134 | 135 | ) 136 | ); 137 | 138 | } 139 | add_action( 'widgets_init', 'my_wfx_widgets' ); 140 | 141 | 142 | /* 143 | ##### 144 | # # 145 | # 146 | ##### 147 | # 148 | # 149 | ####### 150 | 151 | Manipulate Wonderflux from child theme examples 152 | 153 | */ 154 | 155 | 156 | /** 157 | * 158 | * EXAMPLE 1 - ADDING A FILTER 159 | * Core Wonderflux functionality can be filtered from child theme 160 | * 161 | */ 162 | function my_wfx_filter_my_wf_functions() { 163 | // Appears at the bottom of the page as a HTML comment (view source) 164 | return 'Designed by me! Powered by WordPress and the Wonderflux theme framework - GPL ROCKS!'; 165 | } 166 | add_filter( 'wflux_comment_code_credit', 'my_wfx_filter_my_wf_functions' ); 167 | 168 | 169 | /** 170 | * 171 | * EXAMPLE 3 - UNHOOKING A CORE WONDERFLUX FUNCTION 172 | * Displays sizing configuration as comment in of document output 173 | * TODO: Core functionality needs updating for Wonderflux v2 174 | * 175 | */ 176 | function my_wfx_unhook_core_functions() { 177 | remove_action('wf_head_meta', 'wfx_display_css_info'); 178 | } 179 | add_action('init','my_wfx_unhook_core_functions'); 180 | 181 | 182 | /** 183 | * EXAMPLE 4 - REPLACING A CORE WONDERFLUX FUNCTION (Remove comment to activate) 184 | * By using the same function name as used in the Wonderflux functions.php file, 185 | * we can override the existing core Wonderflux function. Often filters will be 186 | * your best choice for tasks like this rather than replacing the whole function. 187 | * 188 | * Wonderflux also is fully OOP structured for more advanced modification, 189 | * please see Wonderflux source files for more information (wf-includes directory) 190 | */ 191 | // function wfx_display_head_title() { 192 | 193 | // $this_title = esc_attr( get_bloginfo( 'title', 'display' ) ); 194 | // $this_desc = esc_attr( get_bloginfo( 'description', 'display' ) ); 195 | 196 | // $output = ''; 197 | // $output .= $this_title.' - All about '.$this_desc; 198 | // $output .= ''; 199 | 200 | // echo $output; 201 | 202 | // } 203 | 204 | 205 | /** 206 | * EXAMPLE 5 - FILTER AND CHANGE SIZE DEFINITIONS (Remove comment to activate) 207 | * Needs updating and checking for Flux Layout (Wonderflux v2) 208 | * 209 | * Un-comment the code below to override the options set in admin > Wonderflux > Stylelab 210 | * NOTE THAT FILTERS ALWAYS TAKE PRIORITY over saved admin options 211 | */ 212 | // function my_wfx_size_sidebar() { return 'quarter'; } 213 | // function my_wfx_size_content() { return 'three_quarter'; } 214 | // add_filter('wflux_sidebar_1_size', 'my_wfx_size_sidebar'); 215 | // add_filter('wflux_content_1_size', 'my_wfx_size_content'); 216 | 217 | 218 | /* 219 | ##### 220 | # # 221 | # 222 | ##### 223 | # 224 | # # 225 | ##### 226 | 227 | WordPRess theme configuration 228 | 229 | */ 230 | 231 | 232 | /** 233 | * Add editor style. 234 | * A bit lazy, but at-least it should be consistent with front-end! 235 | */ 236 | add_editor_style( 'style.css' ); 237 | 238 | 239 | $background_defaults = array( 240 | 'default-color' => '003e51', 241 | 'wp-head-callback' => '_custom_background_cb', 242 | ); 243 | add_theme_support( 'custom-background', $background_defaults ); 244 | 245 | 246 | /** 247 | * Setup translation. 248 | */ 249 | function my_wfx_lang_setup() { 250 | load_theme_textdomain( 'wfx-girder', WF_THEME_URL . '/assets/languages' ); 251 | } 252 | add_action( 'after_setup_theme', 'my_wfx_lang_setup' ); 253 | 254 | 255 | /** 256 | * Setup menus. 257 | * Menus will not show automatically unless you configure them in: 258 | * admin > Appearance > Menus > Manage locations 259 | * 260 | * WordPress normally defaults to showing all of your page links when a menu 261 | * is not configured. This theme will simply not show anything - much neater! 262 | */ 263 | function my_wfx_register_nav(){ 264 | register_nav_menus( array( 265 | 'primary' => __( 'Primary navigation', 'wfx-girder' ), 266 | 'secondary' => __( 'Secondary navigation', 'wfx-girder' ), 267 | ) ); 268 | } 269 | add_action( 'after_setup_theme', 'my_wfx_register_nav' ); 270 | 271 | 272 | /** 273 | * 274 | * Insert primary navigation in a fancy way by hooking into layout 275 | * outside of main container (for full screen width) 276 | * NOTE: Won't render a menu if not set (or menu is empty) 277 | * admin > Appearance > Menus / Manage locations 278 | * 279 | */ 280 | function my_wfx_insert_primary_nav() { 281 | 282 | // Setup menu data 283 | // Check if it has been set or is empty - no-one likes showing all links! 284 | $this_menu = wp_nav_menu( 285 | array( 286 | 'container_class' => 'header-navigation clearfix', 287 | 'menu_id' => 'primary-header-nav', /*Need to add ID to target for slicknav.js*/ 288 | 'theme_location' => 'primary', 289 | 'echo' => false, 290 | 'fallback_cb' => '__return_false' 291 | ) 292 | ); 293 | 294 | if ( !empty($this_menu) ){ 295 | echo '
'; 296 | echo '
'; 297 | echo $this_menu; 298 | echo '
'; 299 | echo '
'; 300 | } 301 | 302 | } 303 | add_action('wfmain_before_all_container','my_wfx_insert_primary_nav', 2); 304 | 305 | 306 | /** 307 | * 308 | * Insert footer navigation by using a Wonderflux hook 309 | * Could be removed and just inserted straight into template file as normal 310 | * NOTE: Won't render a menu if not set (or menu is empty) 311 | * Admin > Appearance > Menus / Manage locations 312 | * 313 | */ 314 | function my_wfx_insert_footer_nav() { 315 | 316 | // Setup menu data 317 | // Check if it has been set or is empty - no-one likes showing all links! 318 | $this_menu = wp_nav_menu( 319 | array( 320 | 'container_class' => 'footer-navigation clearfix', 321 | 'theme_location' => 'secondary', 322 | 'echo' => false, 323 | 'fallback_cb' => '__return_false' 324 | ) 325 | ); 326 | 327 | echo ( !empty($this_menu) ) ? $this_menu : ''; 328 | 329 | } 330 | add_action('wffooter_before_content','my_wfx_insert_footer_nav', 2); 331 | 332 | 333 | /* 334 | # 335 | # # 336 | # # 337 | # # 338 | ####### 339 | # 340 | # 341 | 342 | External scripts 343 | 344 | */ 345 | 346 | 347 | /** 348 | * 349 | * Enqueue all additional CSS. 350 | * You could enqueue further files here. 351 | * 352 | */ 353 | function my_wfx_enqueue_css() { 354 | 355 | wp_register_style( 356 | 'g-font-1', 357 | 'http://fonts.googleapis.com/css?family=Signika', 358 | '', 359 | null, 360 | 'screen, projection' 361 | ); 362 | 363 | // Signika Google font 364 | wp_enqueue_style( 'g-font-1' ); 365 | 366 | } 367 | add_action( 'wp_enqueue_scripts', 'my_wfx_enqueue_css' ); 368 | 369 | 370 | /** 371 | * 372 | * Enqueue all js... do it! 373 | * 374 | */ 375 | function mywfx_enqueue_scripts() { 376 | $this_theme = wp_get_theme()->get( 'Version' ); 377 | $this_theme = (empty($this_theme)) ? '1.0' : $this_theme; 378 | wp_enqueue_script( 'slicknav', WF_THEME_URL . '/assets/js/jquery.slicknav.min.js', array( 'jquery' ), $this_theme, true ); 379 | wp_enqueue_script( 'theme-js', WF_THEME_URL . '/assets/js/functions.js', array( 'jquery' ), $this_theme, true ); 380 | } 381 | 382 | add_action( 'wp_enqueue_scripts', 'mywfx_enqueue_scripts' ); 383 | ?> -------------------------------------------------------------------------------- /style.css: -------------------------------------------------------------------------------- 1 | /* 2 | Theme Name: WFX Girder 3 | Theme URI: https://github.com/Jonnyauk/wonderflux-girder 4 | Description: This is an example responsive child theme for the Wonderflux theme framework (requires version 2 and above). Could be used as a starter theme for your own Wonderflux child theme. 5 | Author: Jonny Allbut 6 | Author URI: http://wonderflux.com 7 | Version: 1.4 8 | Template: wonderflux 9 | Template Version: 2.1 10 | Tags: responsive-layout, one-column, two-columns, left-sidebar, right-sidebar, fluid-layout, fixed-layout, responsive-layout, custom-menu, translation-ready 11 | License: GNU General Public License v2.0 12 | License URI: http://www.gnu.org/licenses/gpl-2.0.html 13 | You may also view the license online at http://www.gnu.org/licenses/gpl-2.0.html 14 | */ 15 | 16 | /* @group ******** General ******** */ 17 | 18 | /* @group Colour scheme */ 19 | 20 | .col-light { color: #fff; } 21 | .col-light-alt { color: #d7d7d7; } 22 | .col-mid { color: #757575; } 23 | .col-mid-alt { color: #909090; } 24 | .col-dark { color: #515151; } 25 | .col-dark-alt { color: #000; } 26 | .col-accent { color: #00a9ac; } 27 | .col-accent-alt { color: #003e51; } 28 | 29 | /* @end */ 30 | 31 | /* @group Typography */ 32 | 33 | body { font-family: 'Signika', sans-serif; background-color: #003e51; } 34 | 35 | h1, h3, h5 { color: #003e51; } 36 | h2, h4, h6 { color: #515151; } 37 | h4, h5, h6 { font-weight: normal; font-style: normal; } 38 | p, ul, ol { color: #515151; } 39 | 40 | h1 { font-size: 2.5em; margin-bottom: 15px; } 41 | h2 { font-size: 2.1em; margin-bottom: 15px; } 42 | 43 | h3, 44 | h4 { font-size: 1.8em; margin-bottom: 15px; } 45 | 46 | h5, 47 | h6, 48 | p, 49 | ul, 50 | ol { font-size: 1.1em; margin-bottom: 15px; } 51 | 52 | ul ul, ol ol { font-size:1em; } /* Keeps nested list items consistently sized */ 53 | li.wf-edit-meta-links { margin-left: 0px; } 54 | 55 | /* @end */ 56 | 57 | /* @group Layout */ 58 | 59 | .inside-std { padding: 0 20px 0 0; } 60 | 61 | /* @end */ 62 | 63 | /* @end */ 64 | 65 | /* @group ******** Links ******** */ 66 | 67 | a, a:visited, a:active { color: #00a9ac; text-decoration: none; } 68 | a:hover { 69 | color: #39737e; 70 | -webkit-transition: all 0.25s ease-in-out; 71 | -moz-transition: all 0.25s ease-in-out; 72 | -ms-transition: all 0.25s ease-in-out; 73 | -o-transition: all 0.25s ease-in-out; 74 | transition: all 0.25s ease-in-out; 75 | } 76 | .col-light a { color: #fff; } 77 | .col-light a:hover { color: #d7d7d7; } 78 | 79 | /* @end */ 80 | 81 | /* @group ******** Navigation ******** */ 82 | 83 | /* @group Primary navigation and common menu styling */ 84 | 85 | .header-navigation-container { background: url(assets/images/bg-grad-top.png) repeat-x 0 bottom; padding: 23px 0 38px; } 86 | 87 | ul.menu, ul.sub-menu { list-style: none; margin: 0; padding: 0; } 88 | ul.menu li { margin: 0; } 89 | ul.menu li a { 90 | display: block; 91 | float: left; 92 | margin-bottom: 5px; 93 | margin-right: 5px; 94 | padding: 7px; 95 | -moz-border-radius: 5px; 96 | -webkit-border-radius: 5px; 97 | border-radius: 5px; 98 | font-size: 1.1em; 99 | } 100 | 101 | ul.menu li a, 102 | ul.menu li a:visited { background-color: #fff; color: #39737e; } 103 | ul.menu li a:hover, 104 | ul.menu li ul.sub-menu li a:hover { background-color: #003e51; color: #d7d7d7; } 105 | 106 | ul.menu li.current_page_item a, 107 | ul.menu li.current-menu-item a, 108 | ul.menu li ul.sub-menu li.current_page_item a { background-color: #00a9ac; color: #ffffff; } 109 | /*Fixes child page hierarchy colouring*/ 110 | ul.menu li ul.sub-menu li a, 111 | ul.menu li ul.sub-menu li.page_item_has_children a { background-color: #fff; color: #39737e; } 112 | 113 | ul.menu li a:hover, 114 | .footer-navigation ul.menu li a:hover { 115 | -webkit-transition: all 0.25s ease-in-out; 116 | -moz-transition: all 0.25s ease-in-out; 117 | -ms-transition: all 0.25s ease-in-out; 118 | -o-transition: all 0.25s ease-in-out; 119 | transition: all 0.25s ease-in-out; 120 | } 121 | 122 | /* @end */ 123 | 124 | /* @group Footer navigation */ 125 | 126 | .footer-navigation { padding-top: 40px; } 127 | 128 | .footer-navigation ul.menu li a, 129 | .footer-navigation ul.menu li a:visited { background-color: #003e51; color: #d7d7d7; font-size: 90%; } 130 | .footer-navigation ul.menu li a:hover, 131 | .footer-navigation ul.menu li ul.sub-menu li a:hover { background-color: #39737e; color: #d7d7d7; } 132 | 133 | .footer-navigation ul.menu li.current_page_item a, 134 | .footer-navigation ul.menu li.current-menu-item a, 135 | .footer-navigation ul.menu li ul.sub-menu li.current_page_item a { background-color: #00a9ac; color: #ffffff; } 136 | /*Fixes child page hierarchy colouring*/ 137 | .footer-navigation ul.menu li ul.sub-menu li a, 138 | .footer-navigation ul.menu li ul.sub-menu li.page_item_has_children a { background-color: #003e51; color: #d7d7d7; } 139 | 140 | /* @end */ 141 | 142 | /* @group Mobile Slicknav */ 143 | 144 | /* Mobile Menu Core Style */ 145 | 146 | .slicknav_btn { position: relative; display: block; vertical-align: middle; float: right; padding: 0.438em 0.625em 0.438em 0.625em; line-height: 1.125em; cursor: pointer; } 147 | .slicknav_menu .slicknav_menutxt { display: block; line-height: 1.188em; float: left; } 148 | .slicknav_menu .slicknav_icon { float: left; margin: 0.188em 0 0 0.438em; } 149 | .slicknav_menu .slicknav_no-text { margin: 0 } 150 | .slicknav_menu .slicknav_icon-bar { display: block; width: 1.125em; height: 0.125em; -webkit-border-radius: 1px; -moz-border-radius: 1px; border-radius: 1px; -webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25); -moz-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25); box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25); } 151 | .slicknav_btn .slicknav_icon-bar + .slicknav_icon-bar { margin-top: 0.188em } 152 | .slicknav_nav { clear: both } 153 | .slicknav_nav ul, 154 | .slicknav_nav li { display: block } 155 | .slicknav_nav .slicknav_arrow { font-size: 0.8em; margin: 0 0 0 0.4em; } 156 | .slicknav_nav .slicknav_item { cursor: pointer; } 157 | .slicknav_nav .slicknav_row { display: block; } 158 | .slicknav_nav a { display: block } 159 | .slicknav_nav .slicknav_item a, 160 | .slicknav_nav .slicknav_parent-link a { display: inline } 161 | .slicknav_menu:before, 162 | .slicknav_menu:after { content: " "; display: table; } 163 | .slicknav_menu:after { clear: both } 164 | /* IE6/7 support */ 165 | .slicknav_menu { *zoom: 1 } 166 | 167 | /* User Default Style */ 168 | 169 | .slicknav_menu { display:none; } 170 | 171 | .slicknav_menu { font-size:1em; } 172 | /* Button */ 173 | .slicknav_btn { 174 | margin: 14px 0; 175 | text-decoration:none; 176 | text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75); 177 | -webkit-border-radius: 4px; 178 | -moz-border-radius: 4px; 179 | border-radius: 4px; 180 | background-color: #00a9ac; 181 | float: left; 182 | } 183 | /* Button Text */ 184 | .slicknav_menu .slicknav_menutxt { 185 | color: #FFF; 186 | font-weight: bold; 187 | text-shadow: none; 188 | } 189 | /* Button Lines */ 190 | .slicknav_menu .slicknav_icon-bar { 191 | background-color: #f5f5f5; 192 | margin-top: 4px; 193 | } 194 | .slicknav_menu { 195 | padding: 0; 196 | margin-bottom: 0; 197 | } 198 | .slicknav_nav { 199 | color:#fff; 200 | margin:0; 201 | padding:0; 202 | font-size:1em; 203 | } 204 | .slicknav_nav, .slicknav_nav ul { 205 | list-style: none; 206 | overflow:hidden; 207 | margin-bottom: 10px; 208 | } 209 | .slicknav_nav ul { 210 | padding:0; 211 | margin: 0; 212 | } 213 | .slicknav_nav li { 214 | margin-left: 0; 215 | } 216 | .slicknav_nav ul li { 217 | margin-left: 10px; 218 | } 219 | .slicknav_nav .slicknav_row { 220 | padding: 5px 10px; 221 | margin: 2px 5px 2px 0; 222 | } 223 | .slicknav_nav a{ 224 | padding: 5px 10px; 225 | margin: 2px 5px 2px 0; 226 | text-decoration:none; 227 | color:#fff; 228 | } 229 | .slicknav_nav .slicknav_item a, 230 | .slicknav_nav .slicknav_parent-link a { 231 | padding:0; 232 | margin:0; 233 | } 234 | .slicknav_nav .slicknav_row:hover { 235 | -webkit-border-radius: 6px; 236 | -moz-border-radius: 6px; 237 | border-radius: 6px; 238 | background:#ccc; 239 | color:#fff; 240 | } 241 | .slicknav_nav a:hover{ 242 | -webkit-border-radius: 6px; 243 | -moz-border-radius: 6px; 244 | border-radius: 6px; 245 | background:#ccc; 246 | color:#222; 247 | } 248 | .slicknav_nav .slicknav_txtnode { margin-left:15px; } 249 | 250 | /* @end */ 251 | 252 | /* @end */ 253 | 254 | /* @group ******** Header ******** */ 255 | #header-bg-1 { background: url(assets/images/bg-grad-bottom.png) repeat-x 0 bottom; } 256 | #header-content { padding: 50px 0 40px; } 257 | 258 | .header-primary h1 { font-size: 2.8em; margin-bottom: 1px; margin-top: -10px; } 259 | 260 | /* @end */ 261 | 262 | /* @group ******** Main content ******** */ 263 | 264 | #main-bg-1 { background: rgba(255, 255, 255, 0.9); } 265 | #main-content { padding-top: 20px; } 266 | 267 | .hentry { 268 | margin-top: 0; 269 | margin-right: 0; 270 | margin-left: 0; 271 | border-bottom: 4px solid #d7d7d7; 272 | padding-bottom: 25px; 273 | padding-top: 30px; 274 | } 275 | .hentry.first-in-loop, 276 | .hentry.single-post { padding-top: 0;} 277 | .hentry.single-post, 278 | .hentry.last-in-loop { border-bottom: none; } 279 | 280 | .meta-content { border-top: 4px solid #e6e6e6; margin-top: 5px; padding-top: 10px; } 281 | .entry-content ul.wf-edit-meta { list-style-type: none; margin-left: 0; padding-left: 0; } 282 | 283 | .widget-box.widget-below-content { background-color: #d6d7d6; padding: 23px 20px 15px; margin-bottom: 30px; } 284 | 285 | /* @end */ 286 | 287 | /* @group ******** Comments ******** */ 288 | 289 | #comments .commentlist { padding-left: 20px; } 290 | #comments .commentlist li { padding-left: 0; margin-bottom: 20px; } 291 | #commentform p { margin-bottom: 20px; } 292 | #commentform p label { display: block; clear: both; margin-bottom: 10px; } 293 | #commentform input, #commentform textarea { width: 90%; padding: 3px; } 294 | #commentform #form-allowed-tags { width: 90%; font-size: 0.8em; } 295 | #commentform input#submit.submit { padding: 6px; } 296 | 297 | /* @end */ 298 | 299 | /* @group ******** Search form ******** */ 300 | 301 | #searchform fieldset { border:none; margin: 0 0 20px; padding: 0; } 302 | #searchform fieldset label { display: none; } 303 | input#search.field { 304 | border:none; 305 | width: 80%; 306 | float: left; 307 | height: 35px; 308 | margin: 0; 309 | padding: 5px 8px; 310 | -webkit-border-top-left-radius: 5px; 311 | -webkit-border-bottom-left-radius: 5px; 312 | -moz-border-radius-topleft: 5px; 313 | -moz-border-radius-bottomleft: 5px; 314 | border-top-left-radius: 5px; 315 | border-bottom-left-radius: 5px; 316 | color: #39737e; 317 | } 318 | .entry-content input#search.field { border: 2px solid #d7d7d7; border-right-style: none; width: 85%; } 319 | 320 | input#searchsubmit { 321 | width: 20%; 322 | border: 0; 323 | background: url(assets/images/magnify-glass.svg) center center no-repeat #00a9ac; 324 | text-indent: -9999em; 325 | height: 35px; 326 | margin: 0; 327 | padding: 0; 328 | opacity: 0.5; 329 | -webkit-transition: all 0.25s ease-in-out; 330 | -moz-transition: all 0.25s ease-in-out; 331 | -ms-transition: all 0.25s ease-in-out; 332 | -o-transition: all 0.25s ease-in-out; 333 | transition: all 0.25s ease-in-out; 334 | 335 | -webkit-border-top-right-radius: 5px; 336 | -webkit-border-bottom-right-radius: 5px; 337 | -moz-border-radius-topright: 5px; 338 | -moz-border-radius-bottomright: 5px; 339 | border-top-right-radius: 5px; 340 | border-bottom-right-radius: 5px; 341 | } 342 | .entry-content input#searchsubmit { width: 15%; } 343 | 344 | input#searchsubmit:hover { opacity: 1.0; } 345 | 346 | input#search.field:focus, 347 | input#searchsubmit:focus { outline: 0; } 348 | 349 | /* @end */ 350 | 351 | /* @group ******** Sidebar ******** */ 352 | 353 | #sidebar { margin-top: 3px; } /* Fine tuning for alignment with main content */ 354 | .sidebar-box, 355 | #sidebar .widget-box { margin-right: 20px; margin-bottom: 30px; } 356 | 357 | #sidebar ul { margin: 0; color: #757575; list-style-type: none; padding: 0; } 358 | #sidebar ul li { list-style-type: none; margin-left: 0; } 359 | #sidebar ul li ul li { margin-left: 10px; border-bottom-style: none; } 360 | .sidebar-title { margin-bottom: 10px; color: #7b7b7b; border-bottom: 2px solid #e6e6e6; font-size: 1.2em; padding-bottom: 2px; } 361 | 362 | #sidebar select { width: 100%; } 363 | 364 | /* @end */ 365 | 366 | /* @group ******** Footer ******** */ 367 | 368 | #footer-content { padding-top: 22px; } 369 | #footer-bg-1 { background: url(assets/images/bg-grad-top.png) center top repeat-x rgba(255, 255, 255, 0.35); } 370 | .footer-primary-right .inside-std { padding-right: 0; } 371 | 372 | #footer a { color: #fff; } 373 | #footer a:hover { color: #fff; } 374 | 375 | #footer h1, 376 | #footer h2, 377 | #footer h3, 378 | #footer h4, 379 | #footer h5, 380 | #footer h6 { 381 | color: #fff; 382 | } 383 | 384 | #footer p { 385 | color: #d7d7d7; 386 | } 387 | 388 | /* @end */ 389 | 390 | /* @group ******** WP Editor overrides ******** */ 391 | 392 | .mce-content-body { background-color: #fff; } 393 | 394 | /* @end */ 395 | 396 | /* @group ********Media Queries******** */ 397 | 398 | /* Tiny Media Query and below */ 399 | @media screen and (max-width:480px) { 400 | 401 | /* @group Layout */ 402 | body { font-size: 90%; } 403 | .container { width:95%; } 404 | /* @end */ 405 | 406 | /* @group Footer */ 407 | .footer-primary-right div.inside-std { padding: 0; } 408 | .footer-primary-right div.inside-std { padding: 0; } 409 | /* @end */ 410 | 411 | } 412 | 413 | /* Small Media Query and below */ 414 | @media screen and (max-width:768px) { 415 | 416 | /* @group Layout */ 417 | body { font-size: 95%; } 418 | .container { width:90%; } 419 | .mq-small-min-box-1-1 .inside-std { padding: 0; } 420 | /* @end */ 421 | 422 | /* @group Navigation */ 423 | .header-navigation-container { display:none; } 424 | .slicknav_menu { display:block; } 425 | /* @end */ 426 | 427 | /* @group Header */ 428 | #header-content { padding: 3px 0 0; } 429 | /* @end */ 430 | 431 | /* @group Sidebar */ 432 | .sidebar-box, 433 | #sidebar .widget-box { margin-right: 0px; } 434 | /* @end */ 435 | 436 | /* @group Footer */ 437 | .footer-primary-mid .inside-std { padding-right: 10px; } 438 | .footer-primary-right .inside-std { padding-left: 10px; padding-right: 0; } 439 | /* @end */ 440 | 441 | } 442 | 443 | /* @end */ -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | GNU GENERAL PUBLIC LICENSE 2 | Version 2, June 1991 3 | 4 | Copyright (C) 1989, 1991 Free Software Foundation, Inc., 5 | 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 6 | Everyone is permitted to copy and distribute verbatim copies 7 | of this license document, but changing it is not allowed. 8 | 9 | Preamble 10 | 11 | The licenses for most software are designed to take away your 12 | freedom to share and change it. By contrast, the GNU General Public 13 | License is intended to guarantee your freedom to share and change free 14 | software--to make sure the software is free for all its users. This 15 | General Public License applies to most of the Free Software 16 | Foundation's software and to any other program whose authors commit to 17 | using it. (Some other Free Software Foundation software is covered by 18 | the GNU Lesser General Public License instead.) You can apply it to 19 | your programs, too. 20 | 21 | When we speak of free software, we are referring to freedom, not 22 | price. Our General Public Licenses are designed to make sure that you 23 | have the freedom to distribute copies of free software (and charge for 24 | this service if you wish), that you receive source code or can get it 25 | if you want it, that you can change the software or use pieces of it 26 | in new free programs; and that you know you can do these things. 27 | 28 | To protect your rights, we need to make restrictions that forbid 29 | anyone to deny you these rights or to ask you to surrender the rights. 30 | These restrictions translate to certain responsibilities for you if you 31 | distribute copies of the software, or if you modify it. 32 | 33 | For example, if you distribute copies of such a program, whether 34 | gratis or for a fee, you must give the recipients all the rights that 35 | you have. You must make sure that they, too, receive or can get the 36 | source code. And you must show them these terms so they know their 37 | rights. 38 | 39 | We protect your rights with two steps: (1) copyright the software, and 40 | (2) offer you this license which gives you legal permission to copy, 41 | distribute and/or modify the software. 42 | 43 | Also, for each author's protection and ours, we want to make certain 44 | that everyone understands that there is no warranty for this free 45 | software. If the software is modified by someone else and passed on, we 46 | want its recipients to know that what they have is not the original, so 47 | that any problems introduced by others will not reflect on the original 48 | authors' reputations. 49 | 50 | Finally, any free program is threatened constantly by software 51 | patents. We wish to avoid the danger that redistributors of a free 52 | program will individually obtain patent licenses, in effect making the 53 | program proprietary. To prevent this, we have made it clear that any 54 | patent must be licensed for everyone's free use or not licensed at all. 55 | 56 | The precise terms and conditions for copying, distribution and 57 | modification follow. 58 | 59 | GNU GENERAL PUBLIC LICENSE 60 | TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 61 | 62 | 0. This License applies to any program or other work which contains 63 | a notice placed by the copyright holder saying it may be distributed 64 | under the terms of this General Public License. The "Program", below, 65 | refers to any such program or work, and a "work based on the Program" 66 | means either the Program or any derivative work under copyright law: 67 | that is to say, a work containing the Program or a portion of it, 68 | either verbatim or with modifications and/or translated into another 69 | language. (Hereinafter, translation is included without limitation in 70 | the term "modification".) Each licensee is addressed as "you". 71 | 72 | Activities other than copying, distribution and modification are not 73 | covered by this License; they are outside its scope. The act of 74 | running the Program is not restricted, and the output from the Program 75 | is covered only if its contents constitute a work based on the 76 | Program (independent of having been made by running the Program). 77 | Whether that is true depends on what the Program does. 78 | 79 | 1. You may copy and distribute verbatim copies of the Program's 80 | source code as you receive it, in any medium, provided that you 81 | conspicuously and appropriately publish on each copy an appropriate 82 | copyright notice and disclaimer of warranty; keep intact all the 83 | notices that refer to this License and to the absence of any warranty; 84 | and give any other recipients of the Program a copy of this License 85 | along with the Program. 86 | 87 | You may charge a fee for the physical act of transferring a copy, and 88 | you may at your option offer warranty protection in exchange for a fee. 89 | 90 | 2. You may modify your copy or copies of the Program or any portion 91 | of it, thus forming a work based on the Program, and copy and 92 | distribute such modifications or work under the terms of Section 1 93 | above, provided that you also meet all of these conditions: 94 | 95 | a) You must cause the modified files to carry prominent notices 96 | stating that you changed the files and the date of any change. 97 | 98 | b) You must cause any work that you distribute or publish, that in 99 | whole or in part contains or is derived from the Program or any 100 | part thereof, to be licensed as a whole at no charge to all third 101 | parties under the terms of this License. 102 | 103 | c) If the modified program normally reads commands interactively 104 | when run, you must cause it, when started running for such 105 | interactive use in the most ordinary way, to print or display an 106 | announcement including an appropriate copyright notice and a 107 | notice that there is no warranty (or else, saying that you provide 108 | a warranty) and that users may redistribute the program under 109 | these conditions, and telling the user how to view a copy of this 110 | License. (Exception: if the Program itself is interactive but 111 | does not normally print such an announcement, your work based on 112 | the Program is not required to print an announcement.) 113 | 114 | These requirements apply to the modified work as a whole. If 115 | identifiable sections of that work are not derived from the Program, 116 | and can be reasonably considered independent and separate works in 117 | themselves, then this License, and its terms, do not apply to those 118 | sections when you distribute them as separate works. But when you 119 | distribute the same sections as part of a whole which is a work based 120 | on the Program, the distribution of the whole must be on the terms of 121 | this License, whose permissions for other licensees extend to the 122 | entire whole, and thus to each and every part regardless of who wrote it. 123 | 124 | Thus, it is not the intent of this section to claim rights or contest 125 | your rights to work written entirely by you; rather, the intent is to 126 | exercise the right to control the distribution of derivative or 127 | collective works based on the Program. 128 | 129 | In addition, mere aggregation of another work not based on the Program 130 | with the Program (or with a work based on the Program) on a volume of 131 | a storage or distribution medium does not bring the other work under 132 | the scope of this License. 133 | 134 | 3. You may copy and distribute the Program (or a work based on it, 135 | under Section 2) in object code or executable form under the terms of 136 | Sections 1 and 2 above provided that you also do one of the following: 137 | 138 | a) Accompany it with the complete corresponding machine-readable 139 | source code, which must be distributed under the terms of Sections 140 | 1 and 2 above on a medium customarily used for software interchange; or, 141 | 142 | b) Accompany it with a written offer, valid for at least three 143 | years, to give any third party, for a charge no more than your 144 | cost of physically performing source distribution, a complete 145 | machine-readable copy of the corresponding source code, to be 146 | distributed under the terms of Sections 1 and 2 above on a medium 147 | customarily used for software interchange; or, 148 | 149 | c) Accompany it with the information you received as to the offer 150 | to distribute corresponding source code. (This alternative is 151 | allowed only for noncommercial distribution and only if you 152 | received the program in object code or executable form with such 153 | an offer, in accord with Subsection b above.) 154 | 155 | The source code for a work means the preferred form of the work for 156 | making modifications to it. For an executable work, complete source 157 | code means all the source code for all modules it contains, plus any 158 | associated interface definition files, plus the scripts used to 159 | control compilation and installation of the executable. However, as a 160 | special exception, the source code distributed need not include 161 | anything that is normally distributed (in either source or binary 162 | form) with the major components (compiler, kernel, and so on) of the 163 | operating system on which the executable runs, unless that component 164 | itself accompanies the executable. 165 | 166 | If distribution of executable or object code is made by offering 167 | access to copy from a designated place, then offering equivalent 168 | access to copy the source code from the same place counts as 169 | distribution of the source code, even though third parties are not 170 | compelled to copy the source along with the object code. 171 | 172 | 4. You may not copy, modify, sublicense, or distribute the Program 173 | except as expressly provided under this License. Any attempt 174 | otherwise to copy, modify, sublicense or distribute the Program is 175 | void, and will automatically terminate your rights under this License. 176 | However, parties who have received copies, or rights, from you under 177 | this License will not have their licenses terminated so long as such 178 | parties remain in full compliance. 179 | 180 | 5. You are not required to accept this License, since you have not 181 | signed it. However, nothing else grants you permission to modify or 182 | distribute the Program or its derivative works. These actions are 183 | prohibited by law if you do not accept this License. Therefore, by 184 | modifying or distributing the Program (or any work based on the 185 | Program), you indicate your acceptance of this License to do so, and 186 | all its terms and conditions for copying, distributing or modifying 187 | the Program or works based on it. 188 | 189 | 6. Each time you redistribute the Program (or any work based on the 190 | Program), the recipient automatically receives a license from the 191 | original licensor to copy, distribute or modify the Program subject to 192 | these terms and conditions. You may not impose any further 193 | restrictions on the recipients' exercise of the rights granted herein. 194 | You are not responsible for enforcing compliance by third parties to 195 | this License. 196 | 197 | 7. If, as a consequence of a court judgment or allegation of patent 198 | infringement or for any other reason (not limited to patent issues), 199 | conditions are imposed on you (whether by court order, agreement or 200 | otherwise) that contradict the conditions of this License, they do not 201 | excuse you from the conditions of this License. If you cannot 202 | distribute so as to satisfy simultaneously your obligations under this 203 | License and any other pertinent obligations, then as a consequence you 204 | may not distribute the Program at all. For example, if a patent 205 | license would not permit royalty-free redistribution of the Program by 206 | all those who receive copies directly or indirectly through you, then 207 | the only way you could satisfy both it and this License would be to 208 | refrain entirely from distribution of the Program. 209 | 210 | If any portion of this section is held invalid or unenforceable under 211 | any particular circumstance, the balance of the section is intended to 212 | apply and the section as a whole is intended to apply in other 213 | circumstances. 214 | 215 | It is not the purpose of this section to induce you to infringe any 216 | patents or other property right claims or to contest validity of any 217 | such claims; this section has the sole purpose of protecting the 218 | integrity of the free software distribution system, which is 219 | implemented by public license practices. Many people have made 220 | generous contributions to the wide range of software distributed 221 | through that system in reliance on consistent application of that 222 | system; it is up to the author/donor to decide if he or she is willing 223 | to distribute software through any other system and a licensee cannot 224 | impose that choice. 225 | 226 | This section is intended to make thoroughly clear what is believed to 227 | be a consequence of the rest of this License. 228 | 229 | 8. If the distribution and/or use of the Program is restricted in 230 | certain countries either by patents or by copyrighted interfaces, the 231 | original copyright holder who places the Program under this License 232 | may add an explicit geographical distribution limitation excluding 233 | those countries, so that distribution is permitted only in or among 234 | countries not thus excluded. In such case, this License incorporates 235 | the limitation as if written in the body of this License. 236 | 237 | 9. The Free Software Foundation may publish revised and/or new versions 238 | of the General Public License from time to time. Such new versions will 239 | be similar in spirit to the present version, but may differ in detail to 240 | address new problems or concerns. 241 | 242 | Each version is given a distinguishing version number. If the Program 243 | specifies a version number of this License which applies to it and "any 244 | later version", you have the option of following the terms and conditions 245 | either of that version or of any later version published by the Free 246 | Software Foundation. If the Program does not specify a version number of 247 | this License, you may choose any version ever published by the Free Software 248 | Foundation. 249 | 250 | 10. If you wish to incorporate parts of the Program into other free 251 | programs whose distribution conditions are different, write to the author 252 | to ask for permission. For software which is copyrighted by the Free 253 | Software Foundation, write to the Free Software Foundation; we sometimes 254 | make exceptions for this. Our decision will be guided by the two goals 255 | of preserving the free status of all derivatives of our free software and 256 | of promoting the sharing and reuse of software generally. 257 | 258 | NO WARRANTY 259 | 260 | 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY 261 | FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN 262 | OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES 263 | PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED 264 | OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 265 | MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS 266 | TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE 267 | PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, 268 | REPAIR OR CORRECTION. 269 | 270 | 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING 271 | WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR 272 | REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, 273 | INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING 274 | OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED 275 | TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY 276 | YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER 277 | PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE 278 | POSSIBILITY OF SUCH DAMAGES. 279 | 280 | END OF TERMS AND CONDITIONS 281 | 282 | How to Apply These Terms to Your New Programs 283 | 284 | If you develop a new program, and you want it to be of the greatest 285 | possible use to the public, the best way to achieve this is to make it 286 | free software which everyone can redistribute and change under these terms. 287 | 288 | To do so, attach the following notices to the program. It is safest 289 | to attach them to the start of each source file to most effectively 290 | convey the exclusion of warranty; and each file should have at least 291 | the "copyright" line and a pointer to where the full notice is found. 292 | 293 | A demonstration child theme for Wonderflux 294 | Copyright (C) 2013 Jonny Allbut 295 | 296 | This program is free software; you can redistribute it and/or modify 297 | it under the terms of the GNU General Public License as published by 298 | the Free Software Foundation; either version 2 of the License, or 299 | (at your option) any later version. 300 | 301 | This program is distributed in the hope that it will be useful, 302 | but WITHOUT ANY WARRANTY; without even the implied warranty of 303 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 304 | GNU General Public License for more details. 305 | 306 | You should have received a copy of the GNU General Public License along 307 | with this program; if not, write to the Free Software Foundation, Inc., 308 | 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 309 | 310 | Also add information on how to contact you by electronic and paper mail. 311 | 312 | If the program is interactive, make it output a short notice like this 313 | when it starts in an interactive mode: 314 | 315 | Gnomovision version 69, Copyright (C) year name of author 316 | Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. 317 | This is free software, and you are welcome to redistribute it 318 | under certain conditions; type `show c' for details. 319 | 320 | The hypothetical commands `show w' and `show c' should show the appropriate 321 | parts of the General Public License. Of course, the commands you use may 322 | be called something other than `show w' and `show c'; they could even be 323 | mouse-clicks or menu items--whatever suits your program. 324 | 325 | You should also get your employer (if you work as a programmer) or your 326 | school, if any, to sign a "copyright disclaimer" for the program, if 327 | necessary. Here is a sample; alter the names: 328 | 329 | Yoyodyne, Inc., hereby disclaims all copyright interest in the program 330 | `Gnomovision' (which makes passes at compilers) written by James Hacker. 331 | 332 | {signature of Ty Coon}, 1 April 1989 333 | Ty Coon, President of Vice 334 | 335 | This General Public License does not permit incorporating your program into 336 | proprietary programs. If your program is a subroutine library, you may 337 | consider it more useful to permit linking proprietary applications with the 338 | library. If this is what you want to do, use the GNU Lesser General 339 | Public License instead of this License. 340 | --------------------------------------------------------------------------------