├── assets ├── scss │ ├── site │ │ ├── _offline.scss │ │ ├── _wp-admin.scss │ │ ├── _footer.scss │ │ ├── _featured.scss │ │ ├── _topbar.scss │ │ ├── _global.scss │ │ ├── _front.scss │ │ └── _gearstyle.scss │ ├── config │ │ ├── _wp-overrides.scss │ │ └── _custom-settings-alt.scss │ ├── foundation.scss │ ├── app.scss │ └── _global.scss ├── javascript │ ├── custom │ │ ├── ini-matchheight.js │ │ ├── form.js │ │ ├── joyride-demo.js │ │ ├── edit-title.js │ │ ├── stickyfooter.js │ │ ├── filter.js │ │ └── init-foundation.js │ └── vendor │ │ ├── jquery.cookie.js │ │ └── placeholder.js ├── fonts │ ├── FontAwesome.otf │ ├── fontawesome-webfont.eot │ ├── fontawesome-webfont.ttf │ ├── fontawesome-webfont.woff │ └── fontawesome-webfont.woff2 ├── images │ ├── demo │ │ ├── comet.jpg │ │ ├── earth.jpg │ │ ├── fpmock.png │ │ ├── launch.jpg │ │ ├── space.jpg │ │ ├── 350x150.png │ │ ├── comet-th.jpg │ │ ├── satelite.jpg │ │ ├── space-th.jpg │ │ ├── comet-th-sm.jpg │ │ ├── earth-th-sm.jpg │ │ ├── launch-th.jpg │ │ ├── space-th-sm.jpg │ │ ├── launch-orbit.jpg │ │ ├── launch-th-sm.jpg │ │ ├── spacewalk-th.jpg │ │ ├── andromeda-orbit.jpg │ │ ├── satelite-orbit.jpg │ │ └── satelite-th-sm.jpg │ └── icons │ │ ├── favicon.ico │ │ ├── apple-touch-icon-precomposed.png │ │ ├── apple-touch-icon-72x72-precomposed.png │ │ ├── apple-touch-icon-114x114-precomposed.png │ │ └── apple-touch-icon-144x144-precomposed.png └── stylesheets │ ├── app.css │ └── app.css.map ├── .gitignore ├── .bowerrc ├── screenshot.png ├── IN ├── Wireframes.ai └── Unbenannt-1.ai ├── languages ├── ca.mo ├── fi.mo ├── ja.mo ├── pl.mo ├── de_DE.mo ├── es_ES.mo ├── fr_FR.mo ├── gl_ES.mo ├── it_IT.mo ├── nb_NO.mo ├── nl_NL.mo ├── pt_BR.mo ├── pt_PT.mo ├── sv_SE.mo ├── FoundationPress.pot ├── ja.po ├── fr_FR.po └── es_ES.po ├── library ├── force-login.php ├── gearlist-basic-functions.php ├── alert-boxes.php ├── entry-meta.php ├── widget-areas.php ├── theme-support.php ├── menu-walker.php ├── offcanvas-walker.php ├── add-remove-sublist.php ├── enqueue-scripts.php ├── all-gear-by-type.php ├── gear-accordion.php ├── add-remove-gear.php ├── protocol-relative-theme-assets.php ├── filter.php ├── custom-nav.php ├── sublists.php ├── update-gear.php ├── importer.php └── foundation.php ├── parts ├── check-if-sidebar-exist.php ├── featured-image.php ├── top-bar.php ├── off-canvas-menu.php ├── gear-content-no-login.php ├── gear-content-private.php ├── filter.php └── gear-content-public.php ├── sidebar.php ├── sidebar-left.php ├── composer.json ├── bower.json ├── content.php ├── templates ├── page-full.php ├── page-sidebar-left.php ├── front.php ├── gearlist-overview.php ├── gear-overview.php └── gearpool.php ├── searchform.php ├── MIT-LICENSE.txt ├── footer.php ├── content-none.php ├── 404.php ├── woocommerce.php ├── search.php ├── single-gear.php ├── page.php ├── single.php ├── style.css ├── index.php ├── archive.php ├── package.json ├── header.php ├── codesniffer.ruleset.xml ├── functions.php ├── composer.lock ├── single-gearlist.php ├── .travis.yml ├── comments.php └── Gruntfile.js /assets/scss/site/_offline.scss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/javascript/custom/ini-matchheight.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | assets/components -------------------------------------------------------------------------------- /.bowerrc: -------------------------------------------------------------------------------- 1 | { 2 | "directory": "assets/components" 3 | } 4 | -------------------------------------------------------------------------------- /screenshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/derweili/gearlist/master/screenshot.png -------------------------------------------------------------------------------- /IN/Wireframes.ai: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/derweili/gearlist/master/IN/Wireframes.ai -------------------------------------------------------------------------------- /languages/ca.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/derweili/gearlist/master/languages/ca.mo -------------------------------------------------------------------------------- /languages/fi.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/derweili/gearlist/master/languages/fi.mo -------------------------------------------------------------------------------- /languages/ja.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/derweili/gearlist/master/languages/ja.mo -------------------------------------------------------------------------------- /languages/pl.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/derweili/gearlist/master/languages/pl.mo -------------------------------------------------------------------------------- /IN/Unbenannt-1.ai: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/derweili/gearlist/master/IN/Unbenannt-1.ai -------------------------------------------------------------------------------- /languages/de_DE.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/derweili/gearlist/master/languages/de_DE.mo -------------------------------------------------------------------------------- /languages/es_ES.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/derweili/gearlist/master/languages/es_ES.mo -------------------------------------------------------------------------------- /languages/fr_FR.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/derweili/gearlist/master/languages/fr_FR.mo -------------------------------------------------------------------------------- /languages/gl_ES.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/derweili/gearlist/master/languages/gl_ES.mo -------------------------------------------------------------------------------- /languages/it_IT.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/derweili/gearlist/master/languages/it_IT.mo -------------------------------------------------------------------------------- /languages/nb_NO.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/derweili/gearlist/master/languages/nb_NO.mo -------------------------------------------------------------------------------- /languages/nl_NL.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/derweili/gearlist/master/languages/nl_NL.mo -------------------------------------------------------------------------------- /languages/pt_BR.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/derweili/gearlist/master/languages/pt_BR.mo -------------------------------------------------------------------------------- /languages/pt_PT.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/derweili/gearlist/master/languages/pt_PT.mo -------------------------------------------------------------------------------- /languages/sv_SE.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/derweili/gearlist/master/languages/sv_SE.mo -------------------------------------------------------------------------------- /assets/fonts/FontAwesome.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/derweili/gearlist/master/assets/fonts/FontAwesome.otf -------------------------------------------------------------------------------- /assets/images/demo/comet.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/derweili/gearlist/master/assets/images/demo/comet.jpg -------------------------------------------------------------------------------- /assets/images/demo/earth.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/derweili/gearlist/master/assets/images/demo/earth.jpg -------------------------------------------------------------------------------- /assets/images/demo/fpmock.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/derweili/gearlist/master/assets/images/demo/fpmock.png -------------------------------------------------------------------------------- /assets/images/demo/launch.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/derweili/gearlist/master/assets/images/demo/launch.jpg -------------------------------------------------------------------------------- /assets/images/demo/space.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/derweili/gearlist/master/assets/images/demo/space.jpg -------------------------------------------------------------------------------- /assets/images/demo/350x150.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/derweili/gearlist/master/assets/images/demo/350x150.png -------------------------------------------------------------------------------- /assets/images/demo/comet-th.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/derweili/gearlist/master/assets/images/demo/comet-th.jpg -------------------------------------------------------------------------------- /assets/images/demo/satelite.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/derweili/gearlist/master/assets/images/demo/satelite.jpg -------------------------------------------------------------------------------- /assets/images/demo/space-th.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/derweili/gearlist/master/assets/images/demo/space-th.jpg -------------------------------------------------------------------------------- /assets/images/icons/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/derweili/gearlist/master/assets/images/icons/favicon.ico -------------------------------------------------------------------------------- /assets/images/demo/comet-th-sm.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/derweili/gearlist/master/assets/images/demo/comet-th-sm.jpg -------------------------------------------------------------------------------- /assets/images/demo/earth-th-sm.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/derweili/gearlist/master/assets/images/demo/earth-th-sm.jpg -------------------------------------------------------------------------------- /assets/images/demo/launch-th.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/derweili/gearlist/master/assets/images/demo/launch-th.jpg -------------------------------------------------------------------------------- /assets/images/demo/space-th-sm.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/derweili/gearlist/master/assets/images/demo/space-th-sm.jpg -------------------------------------------------------------------------------- /assets/fonts/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/derweili/gearlist/master/assets/fonts/fontawesome-webfont.eot -------------------------------------------------------------------------------- /assets/fonts/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/derweili/gearlist/master/assets/fonts/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /assets/images/demo/launch-orbit.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/derweili/gearlist/master/assets/images/demo/launch-orbit.jpg -------------------------------------------------------------------------------- /assets/images/demo/launch-th-sm.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/derweili/gearlist/master/assets/images/demo/launch-th-sm.jpg -------------------------------------------------------------------------------- /assets/images/demo/spacewalk-th.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/derweili/gearlist/master/assets/images/demo/spacewalk-th.jpg -------------------------------------------------------------------------------- /assets/fonts/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/derweili/gearlist/master/assets/fonts/fontawesome-webfont.woff -------------------------------------------------------------------------------- /assets/fonts/fontawesome-webfont.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/derweili/gearlist/master/assets/fonts/fontawesome-webfont.woff2 -------------------------------------------------------------------------------- /assets/images/demo/andromeda-orbit.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/derweili/gearlist/master/assets/images/demo/andromeda-orbit.jpg -------------------------------------------------------------------------------- /assets/images/demo/satelite-orbit.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/derweili/gearlist/master/assets/images/demo/satelite-orbit.jpg -------------------------------------------------------------------------------- /assets/images/demo/satelite-th-sm.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/derweili/gearlist/master/assets/images/demo/satelite-th-sm.jpg -------------------------------------------------------------------------------- /assets/javascript/custom/form.js: -------------------------------------------------------------------------------- 1 | //Required Tag - Bugfix for ios 2 | 3 | jQuery(function ($) { 4 | $('form').validatr(); 5 | }); -------------------------------------------------------------------------------- /assets/javascript/custom/joyride-demo.js: -------------------------------------------------------------------------------- 1 | // Joyride demo 2 | $('#start-jr').on('click', function() { 3 | $(document).foundation('joyride','start'); 4 | }); -------------------------------------------------------------------------------- /assets/images/icons/apple-touch-icon-precomposed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/derweili/gearlist/master/assets/images/icons/apple-touch-icon-precomposed.png -------------------------------------------------------------------------------- /library/force-login.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/images/icons/apple-touch-icon-72x72-precomposed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/derweili/gearlist/master/assets/images/icons/apple-touch-icon-72x72-precomposed.png -------------------------------------------------------------------------------- /assets/images/icons/apple-touch-icon-114x114-precomposed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/derweili/gearlist/master/assets/images/icons/apple-touch-icon-114x114-precomposed.png -------------------------------------------------------------------------------- /assets/images/icons/apple-touch-icon-144x144-precomposed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/derweili/gearlist/master/assets/images/icons/apple-touch-icon-144x144-precomposed.png -------------------------------------------------------------------------------- /library/gearlist-basic-functions.php: -------------------------------------------------------------------------------- 1 | '; 5 | 6 | else : 7 | echo '
'; 8 | endif; 9 | ?> 10 | -------------------------------------------------------------------------------- /assets/scss/site/_wp-admin.scss: -------------------------------------------------------------------------------- 1 | // Fix the issue where the WP admin-bar overlaps the mobile menu 2 | #wpadminbar { 3 | position: fixed !important; 4 | } 5 | 6 | // Make sure that the WP admin-bar does not overlap the sticky top bar 7 | body.admin-bar.f-topbar-fixed { 8 | .sticky.fixed { 9 | margin-top: rem-calc(32); 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /assets/scss/site/_footer.scss: -------------------------------------------------------------------------------- 1 | #footer-container { 2 | max-width: 100%; 3 | width: 100%; 4 | margin: 0 auto; 5 | border-top: 1px solid #ccc; 6 | margin-top: rem-calc(60); 7 | 8 | #footer { 9 | @include grid-row(); 10 | padding: rem-calc(30) 0; 11 | 12 | ul { 13 | list-style-type: none; 14 | margin: 0; 15 | padding: 0; 16 | } 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /parts/featured-image.php: -------------------------------------------------------------------------------- 1 | ID ) ) : 4 | $image = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), 'single-post-thumbnail' ); 5 | $image = $image[0]; 6 | echo ''; 7 | endif; 8 | ?> 9 | -------------------------------------------------------------------------------- /sidebar.php: -------------------------------------------------------------------------------- 1 | 11 | -------------------------------------------------------------------------------- /library/alert-boxes.php: -------------------------------------------------------------------------------- 1 | 6 | 7 | 8 |
radius"> 9 | 10 | × 11 |
12 | 13 | 14 | 15 | 11 | -------------------------------------------------------------------------------- /assets/scss/site/_featured.scss: -------------------------------------------------------------------------------- 1 | @media #{$small-up} { 2 | #featured-hero { 3 | background-size: cover; 4 | background-position: center; 5 | background-repeat: no-repeat; 6 | margin: - rem-calc(32) 0 rem-calc(32); 7 | position: relative; 8 | height: rem-calc(200); 9 | } 10 | 11 | .no-featured-image-set { 12 | height: rem-calc(16) !important; 13 | } 14 | } 15 | 16 | @media #{$medium-up} { 17 | #featured-hero { 18 | height: rem-calc(400); 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /assets/stylesheets/app.css: -------------------------------------------------------------------------------- 1 | body.is-reveal-open{overflow:hidden}[data-joyride]{display:none}.tooltip.joyride,.reveal.joyride{background-color:#0a0a0a;color:#fefefe;font-size:100%;min-width:20rem;padding:0.75rem}.tooltip.joyride .close,.reveal.joyride .close{float:right}.tooltip.joyride .joyride-buttons,.reveal.joyride .joyride-buttons{text-align:center}[data-joyride]{display:none}.foundation-mq{font-family:"small=0em&medium=32em&large=64em&xlarge=75em&xxlarge=90em"} 2 | 3 | /*# sourceMappingURL=app.css.map */ -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "olefredrik/foundationpress", 3 | "description": "FoundationPress is a WordPress starter theme based on Foundation 5 by Zurb", 4 | "type": "wordpress-theme", 5 | "minimum-stability" : "dev", 6 | "license": "MIT", 7 | "authors": [ 8 | { 9 | "name": "Ole Fredrik Lie", 10 | "email": "mail@olefredrik.com" 11 | } 12 | ], 13 | "require": { 14 | "composer/installers": "~1.0" 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /assets/javascript/custom/stickyfooter.js: -------------------------------------------------------------------------------- 1 | $(window).bind(' load resize orientationChange ', function () { 2 | var footer = $("#footer-container"); 3 | var pos = footer.position(); 4 | var height = $(window).height(); 5 | height = height - pos.top; 6 | height = height - footer.height(); 7 | 8 | function stickyFooter() { 9 | footer.css({ 10 | 'margin-top': height + 'px' 11 | }); 12 | } 13 | 14 | if (height > 0) { 15 | stickyFooter(); 16 | } 17 | }); 18 | -------------------------------------------------------------------------------- /bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "gearlist", 3 | "main": [ 4 | "assets/stylesheets/foundation.css", 5 | "assets/javascript/foundation.js" 6 | ], 7 | "ignore": [ 8 | "**/.*", 9 | "node_modules", 10 | "bower_components", 11 | "assets/components", 12 | "test", 13 | "tests" 14 | ], 15 | "dependencies": { 16 | "matchHeight": "matchheight#~0.6.0", 17 | "minimalect": "*", 18 | "offline": "~0.7.14", 19 | "pizza": "zurb/pizza#~0.2.1" 20 | }, 21 | "homepage": "https://github.com/julian-weiland/gearlist", 22 | "authors": [ 23 | "julianweiland" 24 | ], 25 | "description": "", 26 | "moduleType": [], 27 | "license": "MIT", 28 | "private": true 29 | } 30 | -------------------------------------------------------------------------------- /library/entry-meta.php: -------------------------------------------------------------------------------- 1 | '. sprintf( __( 'Posted on %s at %s.', 'foundationpress' ), get_the_date(), get_the_time() ) .''; 13 | echo '

'. __( 'Written by', 'foundationpress' ) .'

'; 14 | } 15 | endif; 16 | ?> 17 | -------------------------------------------------------------------------------- /assets/javascript/custom/filter.js: -------------------------------------------------------------------------------- 1 | var filterValue; 2 | var oldFilterValue; 3 | oldFilterValue = ''; 4 | $( ".filteritem" ).click(function() { 5 | 6 | filterValue = $( this ).data( "filter" ); 7 | 8 | 9 | if (filterValue == oldFilterValue) { 10 | $( ".filteritem" ).removeClass( "active" ); 11 | $( ".singlegearitem" ).css( "display", "block" ); 12 | oldFilterValue = ''; 13 | }else{ 14 | //$( this ).css( "color", "red" ); 15 | $( ".filteritem" ).removeClass( "active" ); 16 | $( this ).addClass( "active" ); 17 | 18 | $( ".singlegearitem" ).css( "display", "none" ); 19 | $( "." + filterValue ).css( "display", "block" ); 20 | oldFilterValue = $( this ).data( "filter" ); 21 | }; 22 | }); 23 | 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /parts/top-bar.php: -------------------------------------------------------------------------------- 1 | 11 |
12 | 22 |
23 | -------------------------------------------------------------------------------- /content.php: -------------------------------------------------------------------------------- 1 | 13 | 14 |
> 15 |
16 |

17 | 18 |
19 |
20 | 21 |
22 |
23 |

24 |
25 |
26 |
-------------------------------------------------------------------------------- /templates/page-full.php: -------------------------------------------------------------------------------- 1 | 6 | 7 | 8 | 9 |
10 |
11 | 12 | 13 | 14 |
id="post-"> 15 |
16 |

17 |
18 |
19 | 20 |
21 |
22 | '' ) ); ?> 23 |

24 |
25 | 26 |
27 | 28 | 29 |
30 |
31 | 32 | 33 | -------------------------------------------------------------------------------- /parts/off-canvas-menu.php: -------------------------------------------------------------------------------- 1 | 11 | 12 | 24 | 25 | 28 | -------------------------------------------------------------------------------- /searchform.php: -------------------------------------------------------------------------------- 1 | 11 | 24 | -------------------------------------------------------------------------------- /assets/javascript/custom/init-foundation.js: -------------------------------------------------------------------------------- 1 | jQuery(document).foundation(); 2 | 3 | Pizza.init(); 4 | 5 | jQuery(".registergearitembrand").minimalect({ theme: "default", placeholder: "Hersteller auswählen" }); 6 | 7 | 8 | //jQuery(".editgearmodalbutton").click(function() { 9 | 10 | jQuery(".updategearbrand").minimalect({ theme: "default", placeholder: "Hersteller auswählen" }); 11 | 12 | //}) 13 | /* 14 | var run = function(){ 15 | var req = new XMLHttpRequest(); 16 | req.timeout = 5000; 17 | req.open('GET', 'http://julian-weiland.de/gearlist/readme.html', true); 18 | req.send(); 19 | } 20 | setInterval(run, 3000);*/ 21 | 22 | $(function(){ 23 | 24 | var 25 | $online = $('.online'), 26 | $offline = $('.offline'); 27 | 28 | Offline.on('confirmed-down', function () { 29 | $online.fadeOut(function () { 30 | $offline.fadeIn(); 31 | }); 32 | }); 33 | 34 | Offline.on('confirmed-up', function () { 35 | $offline.fadeOut(function () { 36 | $online.fadeIn(); 37 | }); 38 | }); 39 | 40 | }); -------------------------------------------------------------------------------- /MIT-LICENSE.txt: -------------------------------------------------------------------------------- 1 | Permission is hereby granted, free of charge, to any person obtaining 2 | a copy of this software and associated documentation files (the 3 | "Software"), to deal in the Software without restriction, including 4 | without limitation the rights to use, copy, modify, merge, publish, 5 | distribute, sublicense, and/or sell copies of the Software, and to 6 | permit persons to whom the Software is furnished to do so, subject to 7 | the following conditions: 8 | 9 | The above copyright notice and this permission notice shall be 10 | included in all copies or substantial portions of the Software. 11 | 12 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 13 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 14 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 15 | NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE 16 | LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION 17 | OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION 18 | WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 19 | -------------------------------------------------------------------------------- /parts/gear-content-no-login.php: -------------------------------------------------------------------------------- 1 | 6 |
7 |
8 | name; ?>
9 |

10 |
    11 |
  • Größe:
  • 12 |
  • Gewicht: g
  • 13 |
  • Kategorie: name; ?>
  • 14 |
15 |
16 |
17 | 18 | '9000', 23 | 'post_type' => 'gear', 24 | 'suppress_filters' => false, 25 | 'meta_key'=>'parent_gear', 26 | 'meta_value' => get_the_ID(), 27 | 'author' => get_current_user_id() 28 | 29 | ); 30 | $posts = get_posts( $the_query ); 31 | 32 | foreach( $posts as $post ): setup_postdata( $post ); 33 | $permalink = get_permalink(); 34 | endforeach; 35 | -------------------------------------------------------------------------------- /footer.php: -------------------------------------------------------------------------------- 1 | 13 | 14 | 15 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 |
32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | -------------------------------------------------------------------------------- /content-none.php: -------------------------------------------------------------------------------- 1 | 13 | 14 | 17 | 18 |
19 | 20 | 21 |

Get started here.', 'foundationpress' ), admin_url( 'post-new.php' ) ); ?>

22 | 23 | 24 | 25 |

26 | 27 | 28 | 29 | 30 |

31 | 32 | 33 | 34 |
35 | -------------------------------------------------------------------------------- /library/widget-areas.php: -------------------------------------------------------------------------------- 1 | 'sidebar-widgets', 14 | 'name' => __( 'Sidebar widgets', 'foundationpress' ), 15 | 'description' => __( 'Drag widgets to this sidebar container.', 'foundationpress' ), 16 | 'before_widget' => '
', 17 | 'after_widget' => '
', 18 | 'before_title' => '
', 19 | 'after_title' => '
', 20 | )); 21 | 22 | register_sidebar(array( 23 | 'id' => 'footer-widgets', 24 | 'name' => __( 'Footer widgets', 'foundationpress' ), 25 | 'description' => __( 'Drag widgets to this footer container', 'foundationpress' ), 26 | 'before_widget' => '
', 27 | 'after_widget' => '
', 28 | 'before_title' => '
', 29 | 'after_title' => '
', 30 | )); 31 | } 32 | 33 | add_action( 'widgets_init', 'foundationpress_sidebar_widgets' ); 34 | endif; 35 | ?> 36 | -------------------------------------------------------------------------------- /assets/scss/site/_topbar.scss: -------------------------------------------------------------------------------- 1 | // Add some whitespace between top bar and content 2 | .top-bar-container, .tab-bar { 3 | margin-bottom: rem-calc(32); 4 | 5 | @media only screen and (max-width: ($topbar-breakpoint)) { 6 | .top-bar-left { 7 | li.name { 8 | padding-left: rem-calc(50); 9 | } 10 | 11 | li.toggle-topbar a, li.menu-icon { 12 | position: absolute; 13 | left: 0; 14 | } 15 | 16 | } 17 | 18 | .top-bar-right { 19 | li.toggle-topbar a, li.menu-icon { 20 | position: absolute; 21 | right: 0; 22 | } 23 | } 24 | } 25 | } 26 | 27 | .left-small { 28 | border-right: 0; 29 | } 30 | 31 | .right-small { 32 | border-left: 0; 33 | } 34 | 35 | .top-bar .name { 36 | h1 a { font-weight: 500; } 37 | } 38 | 39 | // Switch between the mobile menu (tab-bar) and desktop menu (topbar) based on a custom $topbar-breakpoint value. 40 | // The $topbar-breakpoint can be edited in _custom-settings.scss. 41 | 42 | @media only screen and (min-width: ($topbar-breakpoint + em-calc(1))) { 43 | .tab-bar { display: none; } 44 | } 45 | 46 | // Hide the topbar when the screen size is smaller than the topbar breakpoint 47 | @media only screen and (max-width: $topbar-breakpoint) { 48 | body.offcanvas .top-bar { display: none; } 49 | } 50 | -------------------------------------------------------------------------------- /assets/scss/site/_global.scss: -------------------------------------------------------------------------------- 1 | /* 2 | Global styles for FoundationPress 3 | Demo: http://foundationpress.olefredrik.com 4 | */ 5 | 6 | // Prettify type rendering 7 | body { 8 | -webkit-font-smoothing: antialiased; 9 | text-rendering: optimizeLegibility; 10 | } 11 | 12 | // Reset margin and padding on figure element 13 | figure { 14 | margin: 0; 15 | padding: 0; 16 | } 17 | 18 | // Add some basic styling for figcaption element 19 | figcaption { 20 | margin-bottom: rem-calc(20); 21 | margin-top: rem-calc(10); 22 | color: #6f6f6f; 23 | } 24 | 25 | // Add the alignment classes used by the WordPress media library 26 | 27 | .alignleft { 28 | float: left; 29 | } 30 | 31 | .alignright { 32 | float: right; 33 | } 34 | 35 | .aligncenter { 36 | display: block; 37 | margin-left: auto; 38 | margin-right: auto; 39 | } 40 | 41 | .full-width { 42 | width: 100%; 43 | margin-left: auto; 44 | margin-right: auto; 45 | max-width: initial; 46 | } 47 | 48 | blockquote.alignleft, 49 | img.alignleft { 50 | margin: rem-calc(7) rem-calc(24) rem-calc(7) 0; 51 | } 52 | 53 | .wp-caption.alignleft { 54 | margin: rem-calc(7) rem-calc(14) rem-calc(7) 0; 55 | } 56 | 57 | blockquote.alignright, 58 | img.alignright { 59 | margin: rem-calc(7) 0 rem-calc(7) rem-calc(24); 60 | } 61 | -------------------------------------------------------------------------------- /404.php: -------------------------------------------------------------------------------- 1 | 11 | 12 |
13 |
14 | 15 |
id="post-"> 16 |
17 |

18 |
19 |
20 |
21 |

22 |
23 |

24 |
    25 |
  • 26 |
  • home page', 'foundationpress' ), home_url() ); ?>
  • 27 |
  • Back button', 'foundationpress' ); ?>
  • 28 |
29 |
30 |
31 | 32 |
33 | 34 |
35 | 36 | -------------------------------------------------------------------------------- /parts/gear-content-private.php: -------------------------------------------------------------------------------- 1 | 9 |
10 | 11 |
12 |
13 | Dieses Element befindet sich in Ihrem Inventar. 14 |
15 |
16 | 17 | 18 |
19 | name; ?>
20 |

21 | 27 | 28 | 29 |
30 |
31 |
32 | 33 | 34 | 35 | -------------------------------------------------------------------------------- /woocommerce.php: -------------------------------------------------------------------------------- 1 | 11 | 12 |
13 |
14 | 15 | 16 | 17 | 18 |
id="post-"> 19 |
20 |

21 |
22 | 23 |
24 | 25 |
26 |
27 | '' ) ); ?> 28 |

29 |
30 | 31 | 32 | 33 |
34 | 35 | 36 | 37 | 38 |
39 | 40 |
41 | -------------------------------------------------------------------------------- /library/theme-support.php: -------------------------------------------------------------------------------- 1 | 37 | -------------------------------------------------------------------------------- /search.php: -------------------------------------------------------------------------------- 1 | 11 | 12 |
13 |
14 | 15 | 16 | 17 |

""

18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 38 | 39 | 40 | 41 | 42 |
43 | 44 |
45 | 46 | -------------------------------------------------------------------------------- /assets/javascript/vendor/jquery.cookie.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * jQuery Cookie Plugin v1.4.1 3 | * https://github.com/carhartl/jquery-cookie 4 | * 5 | * Copyright 2013 Klaus Hartl 6 | * Released under the MIT license 7 | */ 8 | !function(a){"function"==typeof define&&define.amd?define(["jquery"],a):a("object"==typeof exports?require("jquery"):jQuery)}(function(a){function b(a){return h.raw?a:encodeURIComponent(a)}function c(a){return h.raw?a:decodeURIComponent(a)}function d(a){return b(h.json?JSON.stringify(a):String(a))}function e(a){0===a.indexOf('"')&&(a=a.slice(1,-1).replace(/\\"/g,'"').replace(/\\\\/g,"\\"));try{return a=decodeURIComponent(a.replace(g," ")),h.json?JSON.parse(a):a}catch(b){}}function f(b,c){var d=h.raw?b:e(b);return a.isFunction(c)?c(d):d}var g=/\+/g,h=a.cookie=function(e,g,i){if(void 0!==g&&!a.isFunction(g)){if(i=a.extend({},h.defaults,i),"number"==typeof i.expires){var j=i.expires,k=i.expires=new Date;k.setTime(+k+864e5*j)}return document.cookie=[b(e),"=",d(g),i.expires?"; expires="+i.expires.toUTCString():"",i.path?"; path="+i.path:"",i.domain?"; domain="+i.domain:"",i.secure?"; secure":""].join("")}for(var l=e?void 0:{},m=document.cookie?document.cookie.split("; "):[],n=0,o=m.length;o>n;n++){var p=m[n].split("="),q=c(p.shift()),r=p.join("=");if(e&&e===q){l=f(r,g);break}e||void 0===(r=f(r))||(l[q]=r)}return l};h.defaults={},a.removeCookie=function(b,c){return void 0===a.cookie(b)?!1:(a.cookie(b,"",a.extend({},c,{expires:-1})),!a.cookie(b))}}); -------------------------------------------------------------------------------- /single-gear.php: -------------------------------------------------------------------------------- 1 | 18 | 25 |
26 |
Zurück zu meiner Ausrüstung
27 |
28 | 29 | 30 | 31 |
32 | 33 | ID; 38 | 39 | 40 | 41 | 42 | if ($author == $current_user) { 43 | get_template_part( 'parts/gear-content-private' ); 44 | }elseif( 0 != $current_user){ 45 | get_template_part( 'parts/gear-content-public' ); 46 | }else{ 47 | get_template_part( 'parts/gear-content-no-login' ); 48 | } 49 | ?> 50 | 51 | 52 | 53 |
54 | 55 | 56 | 57 |
58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | -------------------------------------------------------------------------------- /templates/page-sidebar-left.php: -------------------------------------------------------------------------------- 1 | 6 | 7 | 8 | 9 |
10 |
11 | 12 | 13 | 14 | 15 |
id="post-"> 16 |
17 |

18 |
19 | 20 |
21 | 22 |
23 |
24 | '' ) ); ?> 25 |

26 |
27 | 28 | 29 | 30 |
31 | 32 | 33 | 34 | 35 |
36 | 37 |
38 | 39 | -------------------------------------------------------------------------------- /page.php: -------------------------------------------------------------------------------- 1 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 |
id="post-"> 24 |
25 |

26 |
27 | 28 |
29 | 30 |
31 |
32 | '' ) ); ?> 33 |

34 |
35 | 36 | 37 | 38 |
39 | 40 | 41 | 42 | 43 |
44 | 45 | 46 | 47 | -------------------------------------------------------------------------------- /single.php: -------------------------------------------------------------------------------- 1 | 11 | 12 |
13 |
14 | 15 | 16 | 17 | 18 |
id="post-"> 19 |
20 |

21 | 22 |
23 | 24 |
25 | 26 | 27 |
28 |
29 | 'th') ); ?> 30 |
31 |
32 | 33 | 34 | 35 |
36 |
37 | '' ) ); ?> 38 |

39 |
40 | 41 | 42 | 43 |
44 | 45 | 46 | 47 | 48 |
49 | 50 |
51 | -------------------------------------------------------------------------------- /style.css: -------------------------------------------------------------------------------- 1 | /* 2 | Theme Name: FoundationPress 3 | Theme URI: http://foundationpress.olefredrik.com 4 | Github Theme URI: https://github.com/olefredrik/FoundationPress 5 | Description: FoundationPress is a WordPress starter theme based on Foundation 5 by Zurb 6 | Version: 1.5.1 7 | Author: Ole Fredrik Lie 8 | Author URI: http://olefredrik.com/ 9 | 10 | License: MIT License 11 | License URI: http://www.opensource.org/licenses/mit-license.php 12 | */ 13 | 14 | /* ---------------------------------------------------------------------------- 15 | 16 | Unfortunately WordPress will require a style.css file 17 | located in the theme's root folder for stuff to work. 18 | 19 | However, we will not be using vanilla CSS. We're using Sass. 20 | 21 | Sass is a superset of CSS that adds in amazing features 22 | such as variables, nested selectors and loops. It's also 23 | the easiest way to customize Foundation. 24 | 25 | All Sass files are located in the /assets/scss folder. 26 | Please note that none of your scss files will be compiled to /stylesheets/foundation.css before you run 27 | 'npm run watch' or 'npm run build'. 28 | 29 | Please read the README.md file before getting started. More info on how 30 | to use Sass with Foundation can be found here: 31 | http://foundation.zurb.com/docs/sass.html 32 | 33 | If you for some reason would like to write plain css instead of using Sass, 34 | you could just enqueue this file (style.css) to the header and add your styles in this file 35 | 36 | ---------------------------------------------------------------------------- */ 37 | -------------------------------------------------------------------------------- /index.php: -------------------------------------------------------------------------------- 1 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 44 | 45 | 46 | 47 | 48 |
49 | 50 | 51 | 52 | -------------------------------------------------------------------------------- /library/menu-walker.php: -------------------------------------------------------------------------------- 1 | has_children = ! empty( $children_elements[ $element->ID ] ); 15 | $element->classes[] = ( $element->current || $element->current_item_ancestor ) ? 'active' : ''; 16 | $element->classes[] = ( $element->has_children && 1 !== $max_depth ) ? 'has-dropdown' : ''; 17 | 18 | parent::display_element( $element, $children_elements, $max_depth, $depth, $args, $output ); 19 | } 20 | 21 | function start_el( &$output, $object, $depth = 0, $args = array(), $current_object_id = 0 ) { 22 | $item_html = ''; 23 | parent::start_el( $item_html, $object, $depth, $args ); 24 | 25 | $output .= ( 0 == $depth ) ? '
  • ' : ''; 26 | 27 | $classes = empty( $object->classes ) ? array() : (array) $object->classes; 28 | 29 | if ( in_array( 'label', $classes ) ) { 30 | $output .= '
  • '; 31 | $item_html = preg_replace( '/]*>(.*)<\/a>/iU', '', $item_html ); 32 | } 33 | 34 | if ( in_array( 'divider', $classes ) ) { 35 | $item_html = preg_replace( '/]*>( .* )<\/a>/iU', '', $item_html ); 36 | } 37 | 38 | $output .= $item_html; 39 | } 40 | 41 | function start_lvl( &$output, $depth = 0, $args = array() ) { 42 | $output .= "\n