├── .gitignore ├── functions ├── kal3000 │ ├── map │ │ ├── data │ │ │ ├── 3161.txt │ │ │ ├── 8500.txt │ │ │ ├── 582.txt │ │ │ ├── 20001.txt │ │ │ └── 31751.txt │ │ ├── images │ │ │ ├── icon.png │ │ │ ├── Thumbs.db │ │ │ ├── iconA.png │ │ │ ├── draggable.png │ │ │ ├── icon-shadow.png │ │ │ ├── marker-icon.png │ │ │ ├── search-icon.png │ │ │ ├── sprechblase.png │ │ │ ├── stecknadel.png │ │ │ ├── icon-shadowA.png │ │ │ └── stecknadel_blau.png │ │ ├── js │ │ │ └── images │ │ │ │ ├── marker-icon.png │ │ │ │ └── marker-shadow.png │ │ ├── opener.html │ │ ├── css │ │ │ ├── leaflet-search.css │ │ │ └── leaflet.css │ │ ├── index.php │ │ └── leaflet.css │ ├── js │ │ └── wpCalendar.js │ ├── readme.txt │ ├── ical3000.php │ └── icals3000.php ├── attachment-copyright.php ├── theme-comments.php ├── admin-dashboard.php ├── theme-shortcodes.php ├── theme-update.php └── theme-sidebars.php ├── favicon.ico ├── favicon.png ├── screenshot.png ├── lib ├── images │ ├── logo.png │ ├── avatar.png │ ├── body_bg.jpg │ ├── nav_ul2.png │ ├── login-logo.png │ ├── header_mobile.jpg │ ├── win8-tile-icon.png │ ├── apple-icon-touch.png │ └── logo.svg ├── fonts │ ├── arvo_gruen.woff │ ├── arvo_regular.woff │ ├── fa-brands-400.eot │ ├── fa-brands-400.ttf │ ├── fa-solid-900.eot │ ├── fa-solid-900.ttf │ ├── fa-solid-900.woff │ ├── ptsans-bold.woff │ ├── fa-brands-400.woff │ ├── fa-brands-400.woff2 │ ├── fa-regular-400.eot │ ├── fa-regular-400.ttf │ ├── fa-regular-400.woff │ ├── fa-solid-900.woff2 │ ├── ptsans-regular.woff │ └── fa-regular-400.woff2 ├── js │ ├── libs │ │ ├── fancybox │ │ │ ├── blank.gif │ │ │ ├── fancybox_buttons.png │ │ │ ├── fancybox_loading.gif │ │ │ ├── fancybox_overlay.png │ │ │ ├── fancybox_sprite.png │ │ │ ├── jquery.fancybox-buttons.css │ │ │ ├── jquery.fancybox-buttons.js │ │ │ └── jquery.fancybox.css │ │ └── modernizr.custom.min.js │ ├── scripts.js │ └── responsiveTabs.min.js └── css │ ├── editor.css │ ├── login.css │ ├── print.css │ └── ie.css ├── composer.json ├── .editorconfig ├── single.php ├── content-headerlist.php ├── sidebar.php ├── style.css ├── page-fullpage.php ├── 404.php ├── index.php ├── footer.php ├── page.php ├── category-beschluesse.php ├── content-kachel.php ├── README ├── page-archiv.php ├── search.php ├── content-page.php ├── functions.php ├── content-frontloop.php ├── page-home-welcome.php ├── archive.php ├── comments.php ├── content-single-termine.php ├── content.php ├── page-home-kacheln-sticky.php ├── content-single.php └── header.php /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store -------------------------------------------------------------------------------- /functions/kal3000/map/data/3161.txt: -------------------------------------------------------------------------------- 1 | 46.785016042693 17.77587890625 Balaton -------------------------------------------------------------------------------- /favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kre8tiv/urwahl3000/HEAD/favicon.ico -------------------------------------------------------------------------------- /favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kre8tiv/urwahl3000/HEAD/favicon.png -------------------------------------------------------------------------------- /functions/kal3000/map/data/8500.txt: -------------------------------------------------------------------------------- 1 | 47.873986308408 12.461242675781 Ein See -------------------------------------------------------------------------------- /functions/kal3000/map/data/582.txt: -------------------------------------------------------------------------------- 1 | 47.988083453575 11.123657226562 Große Untiefen -------------------------------------------------------------------------------- /screenshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kre8tiv/urwahl3000/HEAD/screenshot.png -------------------------------------------------------------------------------- /functions/kal3000/map/data/20001.txt: -------------------------------------------------------------------------------- 1 | 48.046070501356 10.491299629211 Schlecht einsehbar -------------------------------------------------------------------------------- /functions/kal3000/map/data/31751.txt: -------------------------------------------------------------------------------- 1 | 49.823809085132 11.217041015625 Schöne Landschaft -------------------------------------------------------------------------------- /lib/images/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kre8tiv/urwahl3000/HEAD/lib/images/logo.png -------------------------------------------------------------------------------- /lib/images/avatar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kre8tiv/urwahl3000/HEAD/lib/images/avatar.png -------------------------------------------------------------------------------- /lib/images/body_bg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kre8tiv/urwahl3000/HEAD/lib/images/body_bg.jpg -------------------------------------------------------------------------------- /lib/images/nav_ul2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kre8tiv/urwahl3000/HEAD/lib/images/nav_ul2.png -------------------------------------------------------------------------------- /lib/fonts/arvo_gruen.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kre8tiv/urwahl3000/HEAD/lib/fonts/arvo_gruen.woff -------------------------------------------------------------------------------- /lib/fonts/arvo_regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kre8tiv/urwahl3000/HEAD/lib/fonts/arvo_regular.woff -------------------------------------------------------------------------------- /lib/fonts/fa-brands-400.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kre8tiv/urwahl3000/HEAD/lib/fonts/fa-brands-400.eot -------------------------------------------------------------------------------- /lib/fonts/fa-brands-400.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kre8tiv/urwahl3000/HEAD/lib/fonts/fa-brands-400.ttf -------------------------------------------------------------------------------- /lib/fonts/fa-solid-900.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kre8tiv/urwahl3000/HEAD/lib/fonts/fa-solid-900.eot -------------------------------------------------------------------------------- /lib/fonts/fa-solid-900.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kre8tiv/urwahl3000/HEAD/lib/fonts/fa-solid-900.ttf -------------------------------------------------------------------------------- /lib/fonts/fa-solid-900.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kre8tiv/urwahl3000/HEAD/lib/fonts/fa-solid-900.woff -------------------------------------------------------------------------------- /lib/fonts/ptsans-bold.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kre8tiv/urwahl3000/HEAD/lib/fonts/ptsans-bold.woff -------------------------------------------------------------------------------- /lib/images/login-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kre8tiv/urwahl3000/HEAD/lib/images/login-logo.png -------------------------------------------------------------------------------- /lib/fonts/fa-brands-400.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kre8tiv/urwahl3000/HEAD/lib/fonts/fa-brands-400.woff -------------------------------------------------------------------------------- /lib/fonts/fa-brands-400.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kre8tiv/urwahl3000/HEAD/lib/fonts/fa-brands-400.woff2 -------------------------------------------------------------------------------- /lib/fonts/fa-regular-400.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kre8tiv/urwahl3000/HEAD/lib/fonts/fa-regular-400.eot -------------------------------------------------------------------------------- /lib/fonts/fa-regular-400.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kre8tiv/urwahl3000/HEAD/lib/fonts/fa-regular-400.ttf -------------------------------------------------------------------------------- /lib/fonts/fa-regular-400.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kre8tiv/urwahl3000/HEAD/lib/fonts/fa-regular-400.woff -------------------------------------------------------------------------------- /lib/fonts/fa-solid-900.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kre8tiv/urwahl3000/HEAD/lib/fonts/fa-solid-900.woff2 -------------------------------------------------------------------------------- /lib/fonts/ptsans-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kre8tiv/urwahl3000/HEAD/lib/fonts/ptsans-regular.woff -------------------------------------------------------------------------------- /lib/images/header_mobile.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kre8tiv/urwahl3000/HEAD/lib/images/header_mobile.jpg -------------------------------------------------------------------------------- /lib/images/win8-tile-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kre8tiv/urwahl3000/HEAD/lib/images/win8-tile-icon.png -------------------------------------------------------------------------------- /lib/fonts/fa-regular-400.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kre8tiv/urwahl3000/HEAD/lib/fonts/fa-regular-400.woff2 -------------------------------------------------------------------------------- /lib/images/apple-icon-touch.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kre8tiv/urwahl3000/HEAD/lib/images/apple-icon-touch.png -------------------------------------------------------------------------------- /lib/js/libs/fancybox/blank.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kre8tiv/urwahl3000/HEAD/lib/js/libs/fancybox/blank.gif -------------------------------------------------------------------------------- /functions/kal3000/map/images/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kre8tiv/urwahl3000/HEAD/functions/kal3000/map/images/icon.png -------------------------------------------------------------------------------- /functions/kal3000/map/images/Thumbs.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kre8tiv/urwahl3000/HEAD/functions/kal3000/map/images/Thumbs.db -------------------------------------------------------------------------------- /functions/kal3000/map/images/iconA.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kre8tiv/urwahl3000/HEAD/functions/kal3000/map/images/iconA.png -------------------------------------------------------------------------------- /functions/kal3000/map/images/draggable.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kre8tiv/urwahl3000/HEAD/functions/kal3000/map/images/draggable.png -------------------------------------------------------------------------------- /lib/js/libs/fancybox/fancybox_buttons.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kre8tiv/urwahl3000/HEAD/lib/js/libs/fancybox/fancybox_buttons.png -------------------------------------------------------------------------------- /lib/js/libs/fancybox/fancybox_loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kre8tiv/urwahl3000/HEAD/lib/js/libs/fancybox/fancybox_loading.gif -------------------------------------------------------------------------------- /lib/js/libs/fancybox/fancybox_overlay.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kre8tiv/urwahl3000/HEAD/lib/js/libs/fancybox/fancybox_overlay.png -------------------------------------------------------------------------------- /lib/js/libs/fancybox/fancybox_sprite.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kre8tiv/urwahl3000/HEAD/lib/js/libs/fancybox/fancybox_sprite.png -------------------------------------------------------------------------------- /functions/kal3000/map/images/icon-shadow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kre8tiv/urwahl3000/HEAD/functions/kal3000/map/images/icon-shadow.png -------------------------------------------------------------------------------- /functions/kal3000/map/images/marker-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kre8tiv/urwahl3000/HEAD/functions/kal3000/map/images/marker-icon.png -------------------------------------------------------------------------------- /functions/kal3000/map/images/search-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kre8tiv/urwahl3000/HEAD/functions/kal3000/map/images/search-icon.png -------------------------------------------------------------------------------- /functions/kal3000/map/images/sprechblase.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kre8tiv/urwahl3000/HEAD/functions/kal3000/map/images/sprechblase.png -------------------------------------------------------------------------------- /functions/kal3000/map/images/stecknadel.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kre8tiv/urwahl3000/HEAD/functions/kal3000/map/images/stecknadel.png -------------------------------------------------------------------------------- /functions/kal3000/map/images/icon-shadowA.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kre8tiv/urwahl3000/HEAD/functions/kal3000/map/images/icon-shadowA.png -------------------------------------------------------------------------------- /functions/kal3000/map/js/images/marker-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kre8tiv/urwahl3000/HEAD/functions/kal3000/map/js/images/marker-icon.png -------------------------------------------------------------------------------- /functions/kal3000/map/images/stecknadel_blau.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kre8tiv/urwahl3000/HEAD/functions/kal3000/map/images/stecknadel_blau.png -------------------------------------------------------------------------------- /functions/kal3000/map/js/images/marker-shadow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kre8tiv/urwahl3000/HEAD/functions/kal3000/map/js/images/marker-shadow.png -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "wpackagist-theme/urwahl3000", 3 | "description": "Freies Wordpress-Theme für GRÜNE Köpfe & Gliederungen", 4 | "type":"wordpress-theme", 5 | "license": "GPL-3.0-or-later" 6 | } 7 | -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- 1 | # EditorConfig is awesome: https://EditorConfig.org 2 | 3 | # top-most EditorConfig file 4 | root = true 5 | 6 | [*.{css,js}] 7 | indent_style = tab 8 | 9 | [*.php] 10 | trim_trailing_whitespace=false 11 | indent_style = tab 12 | -------------------------------------------------------------------------------- /functions/kal3000/js/wpCalendar.js: -------------------------------------------------------------------------------- 1 | jQuery( document ).ready( function(){ 2 | // Doc: http://xdsoft.net/jqplugins/datetimepicker/ 3 | jQuery('#wpcal-from').datetimepicker({ 4 | format:'d.m.Y H:i', 5 | step:30, 6 | lang:'de', 7 | dayOfWeekStart:1 8 | }); 9 | jQuery('#termine_new_field7').datetimepicker({ 10 | format:'d.m.Y H:i', 11 | step:30, 12 | lang:'de', 13 | dayOfWeekStart:1 14 | }); 15 | }); 16 | -------------------------------------------------------------------------------- /single.php: -------------------------------------------------------------------------------- 1 | 2 |
3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | -------------------------------------------------------------------------------- /content-headerlist.php: -------------------------------------------------------------------------------- 1 | 2 |
> 3 | 4 |

5 |

»

6 |
7 | 10 | 11 | 12 | 13 |
14 | 15 | -------------------------------------------------------------------------------- /sidebar.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /functions/kal3000/map/opener.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Popup-Fenster mit JavaScript 4 | 11 | 12 | 13 |

Landkarte anzeigen

14 | 15 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /style.css: -------------------------------------------------------------------------------- 1 | /****************************************************************** 2 | Theme Name: Urwahl3000 3 | Theme URI: http://www.kre8tiv.de/urwahl3000 4 | Description: Modernes Layout mit vielen Optionen für GRÜNE Köpfe und Gliederungen. Ansprechende mobile Version (mobile first), verschiedene Optionen für die Startseite, leicht individualisierbar und mit vielen Extras. Respektiert den Datenschutz und ist barrierearm. 5 | Author: Design & Kommunikation im modulbüro 6 | Author URI: http://www.modulbuero.de 7 | Version: 2.8.9 8 | Tags: two-columns, green, right-sidebar, fluid-layout, custom-background, custom-header, custom-menu, custom-menu, theme-options, featured-images 9 | License: GNU General Public License v3 or later 10 | License URI: http://www.gnu.org/licenses/gpl-3.0.html 11 | 12 | /****************************************************************** 13 | -------------------------------------------------------------------------------- /functions/attachment-copyright.php: -------------------------------------------------------------------------------- 1 | ID, '_copyright', true); 8 | 9 | return $form_fields; 10 | } 11 | add_filter('attachment_fields_to_edit', 'kr8_image_copyright_fields_to_edit', null, 2); 12 | 13 | function kr8_image_copyright_fields_to_save($post, $attachment) { 14 | if( isset($attachment['copyright']) ){ 15 | update_post_meta($post['ID'], '_copyright', $attachment['copyright']); 16 | } 17 | return $post; 18 | } 19 | add_filter('attachment_fields_to_save', 'kr8_image_copyright_fields_to_save', null, 2); -------------------------------------------------------------------------------- /page-fullpage.php: -------------------------------------------------------------------------------- 1 | 6 | 7 | 8 |
9 | 10 | 11 | 12 |
role="article" itemscope itemtype="http://schema.org/BlogPosting"> 13 | 14 |
15 |

16 |
17 | 18 |
19 | 20 |
21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 |
31 | 32 | 33 | 34 | -------------------------------------------------------------------------------- /404.php: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 | 5 | 6 | 7 | 8 |
role="article" itemscope itemtype="http://schema.org/BlogPosting"> 9 | 10 |
11 |

Seite nicht gefunden.

12 |
13 | 14 |
15 |

Oooops. Leider wurde die Seite nicht gefunden. Das tut uns sehr leid. Am Besten probierst Du die Suchfunktion aus, um den passenden Inhalt zu finden.

16 | 17 |
18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /index.php: -------------------------------------------------------------------------------- 1 | 2 |
3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 18 | 19 | 20 | 21 | 22 | 23 |
24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /footer.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 22 | 23 | 24 | 25 |

26 | 27 | 28 | 29 | 30 | 31 | -------------------------------------------------------------------------------- /page.php: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 | 5 | 6 | 7 | ID), 'full' ); 8 | $url = $thumb['0']; ?> 9 | 10 | post_excerpt; 12 | if ($imgexc != "") { 13 | ?>

16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /category-beschluesse.php: -------------------------------------------------------------------------------- 1 | 2 |
3 |

Suche

4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 18 | 19 | 20 | 21 | 22 | 23 |
24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /functions/kal3000/readme.txt: -------------------------------------------------------------------------------- 1 | === Plugin Name === 2 | Contributors: webevangelisten 3 | Tags: Calendar, events 4 | Requires at least: 4 5 | Tested up to: 4.1 6 | Stable tag: trunk 7 | License: GPLv2 or later 8 | License URI: http://www.gnu.org/licenses/gpl-2.0.html 9 | 10 | Custom post type for Events. With start and endtime, archives and maps. 11 | 12 | == Description == 13 | 14 | Defines a custom post type to publish events. Events have a starting time, end time and a location, where they take place. 15 | Events will be displayed in chronological order. 16 | 17 | = Technical details = 18 | The plugin uses two connections to remotes servers: 19 | * One is to googemap-api, which can be only used remotely ( https://maps.googleapis.com/maps/api/js ) 20 | * and the other one goes to map-tiles ( http://tiles.mapbox.com ), which can be only used remotely 21 | 22 | 23 | == Installation == 24 | 1. Upload `plugin-name.php` to the `/wp-content/plugins/` directory 25 | 1. Activate the plugin through the 'Plugins' menu in WordPress 26 | 1. Place `[wpcalendar]` in a new site for overview of upcoming events 27 | 28 | == Changelog == 29 | 30 | = 0.1 = 31 | * Initial alpha version 32 | -------------------------------------------------------------------------------- /content-kachel.php: -------------------------------------------------------------------------------- 1 |
role="article"> 2 | 5 | > 6 | 7 | 8 | 9 |
10 | 11 |

12 | 13 |
14 | 15 | 18 | 19 |
20 | 21 |
-------------------------------------------------------------------------------- /README: -------------------------------------------------------------------------------- 1 | ======================================= 2 | Urwahl3000 3 | ======================================= 4 | Freies Wordpress-Theme für GRÜNE Köpfe & Gliederungen 5 | http://kre8tiv.de/urwahl3000 6 | 7 | Kostenloses Theme (Layout) für das kostenlose Redaktionssystem/Blogsoftware WordPress im Look der Bundestagswahlkampagne 2017. Das Theme richtet sich speziell an alle Aktiven, Kandidat*innen, Wahlkämpfer*innen und Gliederungen von BÜNDNIS 90/DIE GRÜNEN. 8 | 9 | Das Layout orientiert sich an der Kampagnen-Optik zur Bundestagswahl 2017. Es orientiert sich an den Richtlinien des barrierearmen Webdesigns, ist optimiert für Suchmaschinen und soziale Netzwerke (natürlich Datenschutzkonform) und passt sich automatisch an mobile Endgeräte an. 10 | 11 | Aktuelle Funktionen von WordPress sind bereits integriert, so dass eine Individualisierung problemlos “out of the Box” möglich ist. Dazu gehört die Unterstützung von individuellen WordPress-Menüs, die optionale Verwendung einer Kopfgrafik und die Anpassung des Hintergrundbildes/der Hintergrundfarbe. 12 | 13 | Zur weiteren Individualisierung bieten wir hier ein leeres Child-Theme für Urwahl3000 an, so dass eigene Anpassungen leicht vorgenommen werden können, ohne das eigentliche Theme zu verändern. So lassen sich auch in Zukunft Updates trotz eigener Modifikationen einspielen. 14 | 15 | design und kommunikation 16 | im modulbüro 17 | Siegbergstraße 73 18 | 57072 Siegen 19 | 20 | fon 0271 - 233 749 29 21 | fax 0271 - 233 749 49 22 | 23 | www.modulbuero.de 24 | kre8tiv@modulbuero.de 25 | -------------------------------------------------------------------------------- /page-archiv.php: -------------------------------------------------------------------------------- 1 | 6 | 7 | 8 |
9 | 10 | 11 | 12 |
role="article" itemscope itemtype="http://schema.org/BlogPosting"> 13 | 14 |
15 |

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

Die letzten 30 Artikel

24 |
    25 | 26 |
27 | 28 |

Sortiert nach Monaten

29 |
    30 | 'monthly')); ?> 31 |
32 | 33 |

Sortiert nach Kategorien

34 |
    35 | 36 |
37 | 38 |

Sortiert nach Schlagwörtern

39 |
40 | 41 | ' / ') ); ?> 42 |
43 | 44 |
45 | 46 |
47 | 48 | 49 |
50 | 51 | 52 | 53 |
54 | 55 | 56 | 57 | -------------------------------------------------------------------------------- /search.php: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 | 5 |
6 | 7 |
8 |

Suchergebnisse für:

9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 25 | 26 | 27 | 28 | 29 |
30 |
31 |

Keine Ergebnisse.

32 |
33 |
34 |

Es konnte kein Inhalt mit dem verwendeten Suchbegriff gefunden werden.

35 |
36 | 37 |
38 | 39 | 40 | 41 |
42 | 43 | 44 | 45 |
46 | 47 |
48 | 49 | 50 | -------------------------------------------------------------------------------- /content-page.php: -------------------------------------------------------------------------------- 1 | 2 | 3 |
role="article" itemscope itemtype="http://schema.org/BlogPosting"> 4 | 5 | 6 |
7 | 8 | 10 |

11 | 12 |
13 | 14 | 15 |
16 |

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

Weiterlesen »

23 |
24 | 25 |
26 | 27 | 28 | 29 |
role="article" itemscope itemtype="http://schema.org/BlogPosting"> 30 | 31 |
32 |

33 |
34 | 35 |
36 | 37 | 38 |
39 | 40 |
41 | 42 | -------------------------------------------------------------------------------- /functions.php: -------------------------------------------------------------------------------- 1 | = 0) { 23 | if(apply_filters('urwahl3000_kal3000', true)) { 24 | require_once('functions/kal3000/kal3000.php'); 25 | } 26 | } 27 | 28 | if(file_exists( get_template_directory() . '/functions/theme-update.php')) { 29 | require_once( get_template_directory() . '/functions/theme-update.php'); 30 | 31 | $MyThemeUpdateChecker = new ThemeUpdateChecker( 32 | 'urwahl3000', 33 | 'http://themes.kre8tiv.de/?action=get_metadata&slug=urwahl3000' 34 | ); 35 | } 36 | 37 | function urwahl3000_after_update() { 38 | $current_version = wp_get_theme()->get('Version'); 39 | $old_version = get_option( 'urwahl3000_theme_version' ); 40 | 41 | if ($old_version !== $current_version) { 42 | flush_rewrite_rules(); 43 | update_option('urwahl3000_theme_version', $current_version); 44 | } 45 | } 46 | add_action('after_setup_theme', 'urwahl3000_after_update'); 47 | 48 | ?> -------------------------------------------------------------------------------- /content-frontloop.php: -------------------------------------------------------------------------------- 1 |
role="article"> 2 | 3 | 4 | 5 | 6 | 7 | 8 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 |

27 | 28 | 29 | 30 |
31 | 32 | 33 | 34 | 35 | 36 |
37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 |

Weiterlesen »

45 | 46 | 47 | 48 |
49 | 50 | 51 | 52 |
-------------------------------------------------------------------------------- /page-home-welcome.php: -------------------------------------------------------------------------------- 1 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 |
role="article"> 15 | 16 | 17 |
18 |

19 |
20 | 21 |
22 | 23 |
24 | 25 | 26 |
27 | 28 | 29 |
30 | 31 |
32 | 33 | 34 | 35 | 36 | 37 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 63 | 64 | 65 | 66 | 67 |
68 | 69 | 70 | 71 | 72 | 73 | -------------------------------------------------------------------------------- /archive.php: -------------------------------------------------------------------------------- 1 | 2 |
3 | 4 | 5 |
6 |

7 | 8 |
9 | 10 |
11 |

12 | 13 |
14 | 15 | 16 | post_author; 19 | ?> 20 |

21 | 22 | 23 | 24 |

25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 45 | 46 | 47 | 48 | 49 |
50 |
51 |

52 |
53 |
54 |

55 | 56 |
57 |
58 | 59 | 60 | 61 | 62 |
63 | 64 | 65 | 66 | -------------------------------------------------------------------------------- /comments.php: -------------------------------------------------------------------------------- 1 | 11 |
12 |

13 |
14 | 18 | 19 | 20 | 21 |
22 | 23 | 24 |

25 |
26 |
    27 | 28 |
29 | 30 | 36 |
37 | 38 | 39 | 40 |

Kommentar verfassen

41 |
42 |
43 | __( ''), 46 | 'title_reply'=>__( 'Artikel kommentieren', 'kr8theme'), 47 | 'comment_notes_after' =>__( '

* Pflichtfeld

Mit der Nutzung dieses Formulars erklären Sie sich mit der Speicherung und Verarbeitung Ihrer Daten durch diese Website einverstanden. Weiteres entnehmen Sie bitte der Datenschutzerklärung.

', 'kr8theme'), 48 | 'comment_field' => '


', 49 | 'label_submit' => __( 'Abschicken', 'kr8theme' ) 50 | 51 | ); 52 | 53 | comment_form($comments_args); ?> 54 |
55 |
56 | 57 | 58 | 59 |

Verwandte Artikel

60 |
61 | 62 |
63 | 64 | 65 |
-------------------------------------------------------------------------------- /content-single-termine.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | ID), 'full' ); 4 | $url = $thumb['0']; ?> 5 | 6 | post_excerpt; 7 | if ($imgexc != "") { ?> 8 |

9 | 10 | 11 | 12 |
role="article"> 13 | 14 |
15 | 16 |

17 | ID, 'kr8mb_pers_pos_amt', true ); 18 | if (! empty ($amt )){ ?>

19 | 20 |
21 | 22 |
23 | 24 |
25 | 26 | ID, 'kr8mb_pers_contact_www', true ); 27 | if (! empty ($www )){ ?> 28 | 29 | ID, 'kr8mb_pers_contact_email', true ); 30 | if (! empty ($email )){ ?> 31 | 32 | 33 | ID, 'kr8mb_pers_contact_facebook', true ); 34 | if (! empty ($facebook )){ ?> 35 | 36 | ID, 'kr8mb_pers_contact_twitter', true ); 37 | if (! empty ($twitter )){ ?> 38 | 39 |
40 | 41 | ID, 'kr8mb_pers_excerpt', true ); 42 | if (! empty ($excerpt )){ ?>

43 | 44 | 45 | 46 | ID, 'kr8mb_pers_contact_anschrift', true ); 47 | if (! empty ($anschrift )){ ?>
48 | 49 |
50 | 51 |
52 | 53 | -------------------------------------------------------------------------------- /lib/js/libs/fancybox/jquery.fancybox-buttons.css: -------------------------------------------------------------------------------- 1 | #fancybox-buttons { 2 | position: fixed; 3 | left: 0; 4 | width: 100%; 5 | z-index: 8050; 6 | } 7 | 8 | #fancybox-buttons.top { 9 | top: 10px; 10 | } 11 | 12 | #fancybox-buttons.bottom { 13 | bottom: 10px; 14 | } 15 | 16 | #fancybox-buttons ul { 17 | display: block; 18 | width: 166px; 19 | height: 30px; 20 | margin: 0 auto; 21 | padding: 0; 22 | list-style: none; 23 | border: 1px solid #111; 24 | border-radius: 3px; 25 | -webkit-box-shadow: inset 0 0 0 1px rgba(255,255,255,.05); 26 | -moz-box-shadow: inset 0 0 0 1px rgba(255,255,255,.05); 27 | box-shadow: inset 0 0 0 1px rgba(255,255,255,.05); 28 | background: rgb(50,50,50); 29 | background: -moz-linear-gradient(top, rgb(68,68,68) 0%, rgb(52,52,52) 50%, rgb(41,41,41) 50%, rgb(51,51,51) 100%); 30 | background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgb(68,68,68)), color-stop(50%,rgb(52,52,52)), color-stop(50%,rgb(41,41,41)), color-stop(100%,rgb(51,51,51))); 31 | background: -webkit-linear-gradient(top, rgb(68,68,68) 0%,rgb(52,52,52) 50%,rgb(41,41,41) 50%,rgb(51,51,51) 100%); 32 | background: -o-linear-gradient(top, rgb(68,68,68) 0%,rgb(52,52,52) 50%,rgb(41,41,41) 50%,rgb(51,51,51) 100%); 33 | background: -ms-linear-gradient(top, rgb(68,68,68) 0%,rgb(52,52,52) 50%,rgb(41,41,41) 50%,rgb(51,51,51) 100%); 34 | background: linear-gradient(top, rgb(68,68,68) 0%,rgb(52,52,52) 50%,rgb(41,41,41) 50%,rgb(51,51,51) 100%); 35 | filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#444444', endColorstr='#222222',GradientType=0 ); 36 | } 37 | 38 | #fancybox-buttons ul li { 39 | float: left; 40 | margin: 0; 41 | padding: 0; 42 | } 43 | 44 | #fancybox-buttons a { 45 | display: block; 46 | width: 30px; 47 | height: 30px; 48 | text-indent: -9999px; 49 | background-image: url('fancybox_buttons.png'); 50 | background-repeat: no-repeat; 51 | outline: none; 52 | opacity: 0.8; 53 | } 54 | 55 | #fancybox-buttons a:hover { 56 | opacity: 1; 57 | } 58 | 59 | #fancybox-buttons a.btnPrev { 60 | background-position: 5px 0; 61 | } 62 | 63 | #fancybox-buttons a.btnNext { 64 | background-position: -33px 0; 65 | border-right: 1px solid #3e3e3e; 66 | } 67 | 68 | #fancybox-buttons a.btnPlay { 69 | background-position: 0 -30px; 70 | } 71 | 72 | #fancybox-buttons a.btnPlayOn { 73 | background-position: -30px -30px; 74 | } 75 | 76 | #fancybox-buttons a.btnToggle { 77 | background-position: 3px -60px; 78 | border-left: 1px solid #111; 79 | border-right: 1px solid #3e3e3e; 80 | width: 35px 81 | } 82 | 83 | #fancybox-buttons a.btnToggleOn { 84 | background-position: -27px -60px; 85 | } 86 | 87 | #fancybox-buttons a.btnClose { 88 | border-left: 1px solid #111; 89 | width: 35px; 90 | background-position: -56px 0px; 91 | } 92 | 93 | #fancybox-buttons a.btnDisabled { 94 | opacity : 0.4; 95 | cursor: default; 96 | } -------------------------------------------------------------------------------- /lib/css/editor.css: -------------------------------------------------------------------------------- 1 | @import "font-awesome.min.css"; 2 | 3 | 4 | 5 | @font-face { 6 | font-family: 'Arvo Regular'; 7 | src: local('Arvo Regular'), local('ArvoRegular'), url('../fonts/arvo_regular.woff') format('woff'); 8 | font-weight: normal; 9 | font-style: normal; 10 | } 11 | 12 | 13 | 14 | @font-face { 15 | font-family: 'PT Sans'; 16 | src: local('PT Sans'), local('PTSans-Regular'), url('../fonts/ptsans-regular.woff') format('woff'); 17 | font-weight: normal; 18 | font-style: normal; 19 | } 20 | 21 | 22 | 23 | @font-face { 24 | font-family: 'PT Sans Bold'; 25 | src: local('PT Sans Bold'), local('PTSans-Bold'), url('../fonts/ptsans-bold.woff') format('woff'); 26 | font-weight: bold; 27 | font-style: normal; 28 | } 29 | 30 | 31 | 32 | 33 | 34 | body {font-family: 'PT Sans', Trebuchet, Helvetica Neue, Helvetica, Arial, Verdana, sans-serif;font-size: 100%;line-height: 1.5;color: #333;} 35 | 36 | blockquote {padding: 2em 2em 0.5em 2em;text-indent: -.3em;width: 100%; background: #e6e6e6;margin-left:-2em;color: #0a321e;margin-bottom: 1em;font-family: 'Arvo Regular', 'Arvo Green', Trebuchet, Helvetica Neue, Helvetica, Arial, Verdana, sans-serif;} 37 | 38 | strong, b {font-family: 'PT Sans Bold', Trebuchet, Helvetica Neue, Helvetica, Arial, Verdana, sans-serif;font-weight: normal;} 39 | 40 | h1,h2,h3,h4,h5,h6 {line-height: 1.4em;margin:0 0 0.3em 0;font-family: 'Arvo Regular', 'Arvo Green', Trebuchet, Helvetica Neue, Helvetica, Arial, Verdana, sans-serif;font-weight: normal;color: #0a350a;text-align: left;} 41 | h1 {font-size:1.8em;margin-bottom:0em;} 42 | h2 {font-size:1.6em;} 43 | h3 {font-size:1.5em;color: #5dae59;} 44 | h4 {font-size:1.3em;} 45 | h5 {font-size:1.1em;} 46 | h6 {font-size:1em;} 47 | 48 | 49 | 50 | 51 | a {color:#61ae4d;text-decoration: none;} 52 | a:hover {color:#61ae4d;text-decoration: underline;} 53 | a:visited {color:#61ae4d;} 54 | 55 | 56 | p.intro {font-family: 'PT Sans Bold', Trebuchet, Helvetica Neue, Helvetica, Arial, Verdana, sans-serif;font-weight: normal;font-size:1.1em;} 57 | hr {border: 0; background: #e6e6e6; height: 3px;width: 95%;margin: 2.5em auto 0;} 58 | 59 | 60 | table {margin-bottom: 1.5em; } 61 | table th {font-family: 'PT Sans Bold', Trebuchet, Helvetica Neue, Helvetica, Arial, Verdana, sans-serif;font-weight: normal; padding: 1em 1em 1em 0;border-bottom: 2px solid #0a321e;color: #0a321e; } 62 | table td{ padding: 1em 1em 1em 0;border-bottom: 1px solid #e6e6e6; } 63 | 64 | pre {max-width: 100%;margin-bottom: 1.5em;padding: 1.5em;overflow: auto;background: #e6e6e6;font-size: 0.8em;line-height: 1.4;} 65 | address {background: #e4f8df;padding: 1em;margin-bottom: 1.5em;font-style:normal;} 66 | 67 | a span.button, span.button a {display: inline-block; background: #61ae4d; color: #fff; padding: 0.5em;font-family: 'PT Sans Bold', Trebuchet, Helvetica Neue, Helvetica, Arial, Verdana, sans-serif;font-weight: normal;border-radius: 0.3em;} 68 | -------------------------------------------------------------------------------- /functions/kal3000/map/css/leaflet-search.css: -------------------------------------------------------------------------------- 1 | 2 | .leaflet-container .leaflet-control-search { 3 | position:relative; 4 | float:left; 5 | background:#fff; 6 | color:#1978cf; 7 | -moz-border-radius: 4px; 8 | -webkit-border-radius: 4px; 9 | border-radius: 4px; 10 | background-color: rgba(255, 255, 255, 0.8); 11 | z-index:1000; 12 | box-shadow: 0 1px 7px rgba(0,0,0,0.65); 13 | margin-left: 10px; 14 | margin-top: 10px; 15 | } 16 | .leaflet-control-search.search-exp {/*expanded*/ 17 | box-shadow: 0 1px 7px #999; 18 | background: #fff; 19 | } 20 | .leaflet-control-search .search-input { 21 | display:block; 22 | float:left; 23 | background: #fff; 24 | border:1px solid #666; 25 | border-radius:2px; 26 | height:18px; 27 | padding:0 18px 0 2px; 28 | margin:3px 0 3px 3px; 29 | } 30 | .leaflet-control-search.search-load .search-input { 31 | background: url('../images/loader.gif') no-repeat center right #fff; 32 | } 33 | .leaflet-control-search.search-load .search-cancel { 34 | visibility:hidden; 35 | } 36 | .leaflet-control-search .search-cancel { 37 | display:block; 38 | width:22px; 39 | height:18px; 40 | position:absolute; 41 | right:22px; 42 | margin:3px 0; 43 | background: url('../images/search-icon.png') no-repeat 0 -46px; 44 | text-decoration:none; 45 | filter: alpha(opacity=80); 46 | opacity: 0.8; 47 | } 48 | .leaflet-control-search .search-cancel:hover { 49 | filter: alpha(opacity=100); 50 | opacity: 1; 51 | } 52 | .leaflet-control-search .search-cancel span { 53 | display:none;/* comment for cancel button imageless */ 54 | font-size:18px; 55 | line-height:20px; 56 | color:#ccc; 57 | font-weight:bold; 58 | } 59 | .leaflet-control-search .search-cancel:hover span { 60 | color:#aaa; 61 | } 62 | .leaflet-control-search .search-button { 63 | display:block; 64 | float:left; 65 | width:26px; 66 | height:26px; 67 | background: url('../images/search-icon.png') no-repeat 2px 2px; 68 | border-radius:4px; 69 | } 70 | .leaflet-control-search .search-button:hover { 71 | background: url('../images/search-icon.png') no-repeat 2px -22px; 72 | } 73 | .leaflet-control-search .search-tooltip { 74 | position:absolute; 75 | top:100%; 76 | left:0; 77 | float:left; 78 | min-width:120px; 79 | max-height:122px; 80 | box-shadow: 1px 1px 6px rgba(0,0,0,0.4); 81 | background-color: rgba(0, 0, 0, 0.25); 82 | z-index:1010; 83 | overflow-y:auto; 84 | overflow-x:hidden; 85 | } 86 | .leaflet-control-search .search-tip { 87 | margin:2px; 88 | padding:2px 4px; 89 | display:block; 90 | color:black; 91 | background: #eee; 92 | border-radius:.25em; 93 | text-decoration:none; 94 | white-space:nowrap; 95 | vertical-align:center; 96 | } 97 | .leaflet-control-search .search-tip-select, 98 | .leaflet-control-search .search-tip:hover, 99 | .leaflet-control-search .search-button:hover { 100 | background-color: #fff; 101 | } 102 | .leaflet-control-search .search-alert { 103 | cursor:pointer; 104 | clear:both; 105 | font-size:.75em; 106 | margin-bottom:5px; 107 | padding:0 .25em; 108 | color:#e00; 109 | font-weight:bold; 110 | border-radius:.25em; 111 | } 112 | 113 | 114 | -------------------------------------------------------------------------------- /functions/kal3000/ical3000.php: -------------------------------------------------------------------------------- 1 | post_content , ENT_COMPAT, 'UTF-8'); 34 | $ical3000_url = get_permalink( get_the_ID() ); 35 | $ical3000_prodid = '-//urwahl3000//' . get_site_url() . '//DE'; 36 | $ical3000_prodid = str_replace('https://', '', $ical3000_prodid); 37 | $ical3000_prodid = str_replace('http://', '', $ical3000_prodid); 38 | $ical3000_prodid = str_replace('www.', '', $ical3000_prodid); 39 | $ical3000_file_name = $post->post_name; 40 | 41 | $ical3000_ics_content = array(); 42 | $ical3000_ics_content[] = 'BEGIN:VCALENDAR'; 43 | $ical3000_ics_content[] = 'VERSION:2.0'; 44 | $ical3000_ics_content[] = 'PRODID:'.$ical3000_prodid; 45 | $ical3000_ics_content[] = 'CALSCALE:GREGORIAN'; 46 | $ical3000_ics_content[] = 'BEGIN:VEVENT'; 47 | if($ical3000_start) $ical3000_ics_content[] = 'DTSTART:'.$ical3000_start; 48 | if($ical3000_end) $ical3000_ics_content[] = 'DTEND:'.$ical3000_end; 49 | if($ical3000_location) $ical3000_ics_content[] = 'LOCATION:'.$ical3000_location; 50 | if($ical3000_geo) $ical3000_ics_content[] = 'GEO:'.$ical3000_geo; 51 | if($ical3000_current_time) $ical3000_ics_content[] = 'DTSTAMP:'.$ical3000_current_time; 52 | if($ical3000_title) $ical3000_ics_content[] = 'SUMMARY:'.$ical3000_title; 53 | if($ical3000_url) $ical3000_ics_content[] = 'URL;VALUE=URI:'.$ical3000_url; 54 | if($ical3000_description) $ical3000_ics_content[] = 'DESCRIPTION:'.$ical3000_description; 55 | $ical3000_ics_content[] = 'UID:'.$ical3000_current_time.'-'.$ical3000_start.'-'.$ical3000_end; 56 | $ical3000_ics_content[] = 'END:VEVENT'; 57 | $ical3000_ics_content[] = 'END:VCALENDAR'; 58 | 59 | $ical3000_ics_content = implode("\r\n", $ical3000_ics_content); 60 | 61 | header("Content-type: text/calendar"); 62 | header("Content-Disposition: attachment; filename=$ical3000_file_name.ics"); 63 | echo $ical3000_ics_content; ?> -------------------------------------------------------------------------------- /content.php: -------------------------------------------------------------------------------- 1 |
role="article"> 2 | 3 |
4 | 5 | 7 |

8 | 9 |
10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 31 | 32 | 33 | 34 |
35 | 36 | 37 | 38 | 39 | 40 |
41 | 42 | 43 | 44 |

45 | 46 | 47 | 48 |
49 | 50 | 51 | 52 |
53 | 54 | 55 | 56 | 57 | 58 |
59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 |

Weiterlesen »

67 | 68 | 69 | 70 |
71 | 72 | 73 | 74 |
-------------------------------------------------------------------------------- /page-home-kacheln-sticky.php: -------------------------------------------------------------------------------- 1 | 6 | 7 | 8 | 9 | 3, 14 | 'post__in' => get_option( 'sticky_posts' ), 15 | )); 16 | if(count($stickyposts) < 3) { 17 | $nonstickyposts = get_posts(array( 18 | 'posts_per_page' => 3 - count($stickyposts), 19 | 'post__not_in' => get_option( 'sticky_posts' ), 20 | )); 21 | $stickyposts = array_merge($stickyposts, $nonstickyposts); 22 | } 23 | 24 | if($stickyposts) : ?> 25 | 26 |
27 | 28 | ID; 31 | setup_postdata( $post ); ?> 32 |
33 | 34 |
35 | 37 | 38 | 39 |
40 | ID; 44 | setup_postdata( $post ); ?> 45 | 46 | 48 |
49 | 50 |
51 | 53 | 54 |
55 | 56 | 57 | 58 | 59 | 60 | 72 | 73 | $postsperpage, 75 | 'paged' => $paged, 76 | 'post__not_in' => array_slice($stickyshown, -3, 3), 77 | 'ignore_sticky_posts' => 0 78 | ); 79 | query_posts($args3); 80 | ?> 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 97 | 98 | 99 | 100 | 101 |
102 | 103 | 104 | 105 | 106 | 107 | -------------------------------------------------------------------------------- /functions/kal3000/map/index.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | wpCalendar 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 |
17 | 18 | 126 | 127 | -------------------------------------------------------------------------------- /lib/js/libs/fancybox/jquery.fancybox-buttons.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * Buttons helper for fancyBox 3 | * version: 1.0.5 (Mon, 15 Oct 2012) 4 | * @requires fancyBox v2.0 or later 5 | * 6 | * Usage: 7 | * $(".fancybox").fancybox({ 8 | * helpers : { 9 | * buttons: { 10 | * position : 'top' 11 | * } 12 | * } 13 | * }); 14 | * 15 | */ 16 | (function ($) { 17 | //Shortcut for fancyBox object 18 | var F = $.fancybox; 19 | 20 | //Add helper object 21 | F.helpers.buttons = { 22 | defaults : { 23 | skipSingle : false, // disables if gallery contains single image 24 | position : 'top', // 'top' or 'bottom' 25 | tpl : '
' 26 | }, 27 | 28 | list : null, 29 | buttons: null, 30 | 31 | beforeLoad: function (opts, obj) { 32 | //Remove self if gallery do not have at least two items 33 | 34 | if (opts.skipSingle && obj.group.length < 2) { 35 | obj.helpers.buttons = false; 36 | obj.closeBtn = true; 37 | 38 | return; 39 | } 40 | 41 | //Increase top margin to give space for buttons 42 | obj.margin[ opts.position === 'bottom' ? 2 : 0 ] += 30; 43 | }, 44 | 45 | onPlayStart: function () { 46 | if (this.buttons) { 47 | this.buttons.play.attr('title', 'Pause slideshow').addClass('btnPlayOn'); 48 | } 49 | }, 50 | 51 | onPlayEnd: function () { 52 | if (this.buttons) { 53 | this.buttons.play.attr('title', 'Start slideshow').removeClass('btnPlayOn'); 54 | } 55 | }, 56 | 57 | afterShow: function (opts, obj) { 58 | var buttons = this.buttons; 59 | 60 | if (!buttons) { 61 | this.list = $(opts.tpl).addClass(opts.position).appendTo('body'); 62 | 63 | buttons = { 64 | prev : this.list.find('.btnPrev').click( F.prev ), 65 | next : this.list.find('.btnNext').click( F.next ), 66 | play : this.list.find('.btnPlay').click( F.play ), 67 | toggle : this.list.find('.btnToggle').click( F.toggle ) 68 | } 69 | } 70 | 71 | //Prev 72 | if (obj.index > 0 || obj.loop) { 73 | buttons.prev.removeClass('btnDisabled'); 74 | } else { 75 | buttons.prev.addClass('btnDisabled'); 76 | } 77 | 78 | //Next / Play 79 | if (obj.loop || obj.index < obj.group.length - 1) { 80 | buttons.next.removeClass('btnDisabled'); 81 | buttons.play.removeClass('btnDisabled'); 82 | 83 | } else { 84 | buttons.next.addClass('btnDisabled'); 85 | buttons.play.addClass('btnDisabled'); 86 | } 87 | 88 | this.buttons = buttons; 89 | 90 | this.onUpdate(opts, obj); 91 | }, 92 | 93 | onUpdate: function (opts, obj) { 94 | var toggle; 95 | 96 | if (!this.buttons) { 97 | return; 98 | } 99 | 100 | toggle = this.buttons.toggle.removeClass('btnDisabled btnToggleOn'); 101 | 102 | //Size toggle button 103 | if (obj.canShrink) { 104 | toggle.addClass('btnToggleOn'); 105 | 106 | } else if (!obj.canExpand) { 107 | toggle.addClass('btnDisabled'); 108 | } 109 | }, 110 | 111 | beforeClose: function () { 112 | if (this.list) { 113 | this.list.remove(); 114 | } 115 | 116 | this.list = null; 117 | this.buttons = null; 118 | } 119 | }; 120 | 121 | }(jQuery)); -------------------------------------------------------------------------------- /lib/js/scripts.js: -------------------------------------------------------------------------------- 1 | if (!window.getComputedStyle) { 2 | window.getComputedStyle = function(el, pseudo) { 3 | this.el = el; 4 | this.getPropertyValue = function(prop) { 5 | var re = /(\-([a-z]){1})/g; 6 | if (prop == 'float') prop = 'styleFloat'; 7 | if (re.test(prop)) { 8 | prop = prop.replace(re, function () { 9 | return arguments[2].toUpperCase(); 10 | }); 11 | } 12 | return el.currentStyle[prop] ? el.currentStyle[prop] : null; 13 | } 14 | return this; 15 | } 16 | } 17 | 18 | jQuery(document).ready(function($) { 19 | var responsive_viewport = $(window).width(); 20 | if (responsive_viewport < 481) { 21 | } 22 | if (responsive_viewport > 481) { 23 | } 24 | if (responsive_viewport >= 768) { 25 | $('.comment img[data-gravatar]').each(function(){ 26 | $(this).attr('src',$(this).attr('data-gravatar')); 27 | }); 28 | } 29 | if (responsive_viewport > 1030) { 30 | } 31 | }); 32 | 33 | 34 | (function(w){ 35 | if( !( /iPhone|iPad|iPod/.test( navigator.platform ) && navigator.userAgent.indexOf( "AppleWebKit" ) > -1 ) ){ return; } 36 | var doc = w.document; 37 | if( !doc.querySelector ){ return; } 38 | var meta = doc.querySelector( "meta[name=viewport]" ), 39 | initialContent = meta && meta.getAttribute( "content" ), 40 | disabledZoom = initialContent + ",maximum-scale=1", 41 | enabledZoom = initialContent + ",maximum-scale=10", 42 | enabled = true, 43 | x, y, z, aig; 44 | if( !meta ){ return; } 45 | function restoreZoom(){ 46 | meta.setAttribute( "content", enabledZoom ); 47 | enabled = true; } 48 | function disableZoom(){ 49 | meta.setAttribute( "content", disabledZoom ); 50 | enabled = false; } 51 | function checkTilt( e ){ 52 | aig = e.accelerationIncludingGravity; 53 | x = Math.abs( aig.x ); 54 | y = Math.abs( aig.y ); 55 | z = Math.abs( aig.z ); 56 | if( !w.orientation && ( x > 7 || ( ( z > 6 && y < 8 || z < 8 && y > 6 ) && x > 5 ) ) ){ 57 | if( enabled ){ disableZoom(); } } 58 | else if( !enabled ){ restoreZoom(); } } 59 | w.addEventListener( "orientationchange", restoreZoom, false ); 60 | w.addEventListener( "devicemotion", checkTilt, false ); 61 | })( this ); 62 | 63 | jQuery(function() { 64 | var pull = jQuery('#switch-menu'); 65 | menu = jQuery('#nav-main'); 66 | search = jQuery('.searchform'); 67 | pull2 = jQuery('#switch-search'); 68 | 69 | jQuery(pull).on('click', function(e) { 70 | e.preventDefault(); 71 | menu.slideToggle(); 72 | }); 73 | jQuery(pull2).on('click', function(e) { 74 | e.preventDefault(); 75 | search.slideToggle(); 76 | }); 77 | }); 78 | 79 | jQuery(window).resize(function(){ 80 | var w = jQuery(window).width(); 81 | if(w > 768 && menu.is(':hidden')) { 82 | menu.removeAttr('style'); 83 | } 84 | if(w > 768 && search.is(':hidden')) { 85 | search.removeAttr('style'); 86 | } 87 | }); 88 | 89 | jQuery(document).ready(function() { 90 | jQuery(".fancybox").fancybox({ 91 | closeBtn : false, 92 | beforeShow: function() { 93 | this.title = jQuery(this.element).find('img').attr('alt'); 94 | }, 95 | helpers: { 96 | title : { 97 | type : 'inside' 98 | }, 99 | buttons : {} 100 | } 101 | }); 102 | 103 | jQuery("#back-top").hide(); 104 | 105 | jQuery(function () { 106 | jQuery(window).scroll(function () { 107 | if (jQuery(this).scrollTop() > 500) { 108 | jQuery('#back-top').fadeIn(); 109 | } else { 110 | jQuery('#back-top').fadeOut(); 111 | } 112 | }); 113 | 114 | jQuery('#back-top a').click(function () { 115 | jQuery('body,html').animate({ 116 | scrollTop: 0 117 | }, 800); 118 | return false; 119 | }); 120 | }); 121 | }); -------------------------------------------------------------------------------- /functions/theme-comments.php: -------------------------------------------------------------------------------- 1 | 8 |
  • 9 |
    > 10 | 11 | comment_type === 'pingback') : ?> 12 | 13 |
    14 | Pingback: %s', 'kr8theme'), get_comment_author_link()) ?> 15 |
    16 | 17 | 18 | 19 |
    20 | 21 | 22 | 23 | %s', 'kr8theme'), get_comment_author_link()) ?> 24 | 25 | 26 |
    27 | comment_approved == '0') : ?> 28 |
    29 |

    30 |
    31 | 32 |
    33 | 34 |
    35 | 36 | $depth, 'max_depth' => $args['max_depth']))); ?> 37 | 38 | 39 |
    40 | 41 | >Discussion 51 | $avatar_defaults[$new_avatar_url] = 'Urwahl3000'; 52 | return $avatar_defaults; 53 | } 54 | 55 | //Fields Commentform 56 | function kr8_commentformfields($fields){ 57 | $commenter = wp_get_current_commenter(); 58 | $req = get_option( 'require_name_email' ); 59 | $aria_req = ( $req ? " aria-required='true'" : '' ); 60 | 61 | $fields['author'] = ''; 70 | 71 | 72 | 73 | 74 | return $fields; 75 | 76 | 77 | } 78 | 79 | add_filter('comment_form_default_fields','kr8_commentformfields'); 80 | 81 | ?> -------------------------------------------------------------------------------- /lib/js/responsiveTabs.min.js: -------------------------------------------------------------------------------- 1 | // ResponsiveTabs.js | Version:1.10 | Author:Pete Love | www.petelove.com 2 | var RESPONSIVEUI={};(function($){RESPONSIVEUI.responsiveTabs=function(){var $tabSets=$(".responsive-tabs");if(!$tabSets.hasClass("responsive-tabs--enabled")){$tabSets.addClass("responsive-tabs--enabled");var tablistcount=1;$tabSets.each(function(){var $tabs=$(this);$tabs.children(":header").addClass("responsive-tabs__heading");$tabs.children("div").addClass("responsive-tabs__panel");var $activePanel=$tabs.find(".responsive-tabs__panel--active");if(!$activePanel.length){$activePanel=$tabs.find(".responsive-tabs__panel").first().addClass("responsive-tabs__panel--active")}$tabs.find(".responsive-tabs__panel").not(".responsive-tabs__panel--active").hide().attr("aria-hidden","true");$activePanel.attr("aria-hidden","false");$activePanel.addClass("responsive-tabs__panel--closed-accordion-only");var $tabsWrapper=$("
    ",{"class":"responsive-tabs-wrapper"});$tabs.wrap($tabsWrapper);var highestHeight=0;$tabs.find(".responsive-tabs__panel").each(function(){var tabHeight=$(this).height();if(tabHeight>highestHeight){highestHeight=tabHeight}});var $tabList=$("