24 Commits

Author SHA1 Message Date
infeeeee
3553b6b0e0 update multiple things 2019-09-04 13:14:14 +02:00
infeeeee
cd3124784f 2019 08 28 word mods 2019-09-03 00:08:51 +02:00
74a33168d7 added notes to teendők 2019-08-28 14:23:59 +02:00
95f97925f1 fixed home clip on desktop 2019-08-15 20:09:58 +02:00
infeeeee
8284c8a412 mobile home and friends 2019-08-15 04:05:59 +02:00
infeeeee
7ab073d280 error, no result pages 2019-08-14 04:46:39 +02:00
infeeeee
6edb7e59ed working on responsivity 2019-08-13 04:34:46 +02:00
infeeeee
0686d99971 work on start 2019-08-10 03:45:43 +02:00
infeeeee
eb6fdf9388 events page 2019-08-10 01:05:05 +02:00
infeeeee
911688225f working on single and events 2019-08-09 00:38:47 +02:00
infeeeee
5a234f87e1 work on wingle articles 2019-08-07 22:54:34 +02:00
infeeeee
8e00b8717b cat, home, tag,search pages 2019-08-06 19:24:58 +02:00
infeeeee
02e6844883 some bugs, started working on search-results 2019-08-01 20:47:57 +02:00
infeeeee
7ea5c5d1e8 added lot of things 2019-07-18 23:55:33 +02:00
infeeeee
0f3aaed434 working on home scroll 2019-07-18 03:16:06 +02:00
4c443cd7ec works on single 2019-07-11 13:36:28 +02:00
99e2082e42 mostly single updates 2019-07-11 03:40:11 +02:00
d1dbc518e3 working on startpage and single 2019-07-10 18:24:34 +02:00
67661ed767 started updates on 0704 2019-07-09 22:29:46 +02:00
5f461d3ea2 single lightbox 2019-07-03 23:20:48 +02:00
d59b9afadf started working on single, translations, docs 2019-07-03 18:02:05 +02:00
43e6e9b373 worked on a lot of things 2019-07-02 03:46:02 +02:00
98e0282821 small fixes 2019-07-01 03:31:24 +02:00
48e247e0f9 home, tag archive improvements 2019-06-24 02:37:58 +02:00
95 changed files with 9943 additions and 2312 deletions

View File

@@ -15,51 +15,14 @@
// ],
// "description": "Log output to console"
// }
"smalldesktop": {
"scope": "scss,sass",
"prefix": "smalldesktop",
"console_debug": {
"scope": "html,php",
"prefix": "console_debug",
"body": [
"@media #{\\$smalldesktop} {",
"$0",
"}"
"console_debug($0);"
],
"description": "SCSS: Smalldesktop media query"
},
"bigdesktop": {
"scope": "scss,sass",
"prefix": "bigdesktop",
"body": [
"@media #{\\$bigdesktop} {",
"$0",
"}"
],
"description": "SCSS: Bigdesktop media query"
},
"div": {
"scope":"html,php",
"prefix": "div",
"body": [
"<div class=\"$1\">",
"$0",
"</div>"
],
"description": "HTML: div start and end"
},
"php": {
"scope":"html,php",
"prefix": "php",
"body": [
"<?php",
"$0",
"?>"
],
"description": "HTML: div start and end"
"description": "Log to js console"
}
}

14
404.php
View File

@@ -6,12 +6,14 @@
<!-- article -->
<article id="post-404">
<h1><?php _e( 'Page not found', 'dis2019' ); ?></h1>
<h2>
<a href="<?php echo home_url(); ?>"><?php _e( 'Return home?', 'dis2019' ); ?></a>
</h2>
<div class="archivetitle 404-title">
<h1><?php _e( 'Page not found', 'dis2019' ); ?></h1>
<div class="toHome">
<a href="<?php echo esc_url( home_url( '/' ) ); ?>">
← <?php _e('Back to home:', 'dis2019');?>
</a>
</div>
</div>
</article>
<!-- /article -->

View File

@@ -1,19 +1,19 @@
# Felhasználói kézikönyv
## Telepítés utáni teendők:
## Tesztoldal elérhetősége
### function.php
[dis.gyetpet.dynu.net](https://dis.gyetpet.dynu.net)
esemény cat-id-t átírni!!
Ez általában ugynaz a verzió mint itt git-en, de előfordulhat, hogy a git le van maradva.
### wp beállítások
settings>reading>Blog pages show at most 6
## Paraméterek
## Különböző elemek szerkesztése
### Bejegyzések
#### Egyéni mezők
Ezek a cikk alján láthatóak a szerkesztő felületen. Ha nem látszik jobb felül ... ->Beállítások -> Egyéni mezők
dis-alcim:
- Csak az első két nagy cikknél jelenik meg
@@ -22,12 +22,92 @@ dis-bevezeto:
- Csak az első két nagy cikknél jelenik meg
#### Dokumentum beállítások
Ezek a szerkesztőben a jobb oldali oldalsávon láthatóak, ha nincs kijelölve semmi, vagy az oldalsáv tetején bal oldali Dokumentumok gombra kattintva
Kategóriák:
- Egyértelmű, ide a cikk témájához kapcsolódó dolognak kell kerülnie, pl Design, Animáció
Címkék:
- be, do, think, love
- A kereső felajánlja gépelés elkezdése után
- Lehetőleg kisbetűvel mindent
Formátum:
- Ide a bejegyzés formátumát kell beírni, pl interjú, portfólió, hír, stb...
- A kereső felajánlja gépelés elkezdése után a már korábban szereplőket
Cikkíró:
- A cikk végén megjelenő szerző neve
- A kereső felajánlja gépelés elkezdése után a már korábban szereplőket
#### Blokkok és egyéb megjegyzések
Bevezető: Az első bekezdés-t állítsd félkövérre (Ctrl+B), hogy megfelelő legyen a kiemelés
Elválasztók azaz vízszintes vonalak: A cikk elejére és végére automatikusan kerül egy-egy, az összes többit kézzel kell belerakni, a méretezésük automatikus.
Lightbox működéséhez be kell kapcsolni a hivatkozást! A hivatkozás célját média fájlra állítani!
Interjúnál kérdésekhez idézet blokkot vagy Címsor3 (H3) blokkot kell használni, Ugyanúgy néz ki mindkettő
### Események
dis-esemeny-datum
dis-esemeny-datum:
- Csak az aktuális dátumnál frissebbek jelennek meg, az elmúlt események azonnal eltűnnek
- Formátumnak a következőnek KELL lennie: yyyy.mm.dd. szóközök nélkül. Tehát pl. így: 2019.07.02.
- Ha nem jelenik meg egy esemény az oldalon, annak két oka lehet: rossz a dátumformátum, már elmúlt a dátum.
dis-esemeny-link
- Teljes linket kell beilleszteni, http-től kezdve az elején. Általában ha megosztás gombra kattintasz, vagy kimásolod a címsorból, akkor az jó
### BE-DO-THINK-LOVE Tagek
A leírást itt kell szerkeszteni:
- Bejegyzés > Címkék > Szerkesztés
### Rólunk
A cikkenek az legyen a slug-ja, hogy `rolunk`
## Beállítások
### Események
Megjelenés > Testreszabás > Designisso 2019
Be kell írni az események category-id-ját. Ez egy darab szám.
Így lehet megtudni ezt a számot: Bejegyzés > Kategóriák > Esemény > szerkesztés és az url-ben a szám a `tag_ID=` után fog szerepelni.
### Megjelenő cikkek száma
Beállítások > Olvasás
- A megjelenő oldal mutasson legfeljebb: Ez a beállítás csak a 'Mutass többet' gombra való kattintáskor megjelenő cikkek számát jelenti. Ez a beállítás minden listázott oldalt befolyásol!
- Ide mindenképp 6-tal osztható számot kell írni! 6, 12, 18...
Megjelenés > Testreszabás > Designisso 2019
Itt kell beállítani hogy hány cikk jelenjen meg a kezdőlapon illetve az archívumokban
Alapértelmezett értékek:
- Kezdőlapon megjelenő posztok száma: 20
- Címke archívumban megjelenő posztok száma: 10
- Archívumban és keresési találatokban megjelenő posztok száma: 11
- Hasonló cikkek száma: 3
## Developement verzió telepítése
Szükséges: python2, gulp global, max node 11
@@ -39,5 +119,6 @@ nvm install 11
nvm use 11
sudo apt install python
npm install gulp-cli -g
nvm install dev
npm install dev
```
`gulp watch`

View File

@@ -1,100 +1,30 @@
# Kérdések
## Általános
lightbox az a mostani designisso-n sincs, ezen legyen?
## single
ha hosszú a cím, akkor mi legyen? kevesbb látszon a cikkből? Lásd I O cikk
metadata: van szerző vagy nincs? melyik a jó változat?
### galéria:
Melyik sarokban vannak a képfeliratok, ha 3 elem jelenik meg egymás mellett? vagy mindig erőltetve legyen a max két kép egymás mellett? Lásd: mobil fekvő, mintaposzt
# további kérdések
## asztali home
## asztali single:
Követtem a mobilos analógiát: fent nincs szerző, csak lent, felül a kategóriák vannak
nagy képek, metadata ipad: nem férnek be a rublikába ha hosszúak, mi legy, elég-e csak a design felirat?
Egyedi esemény oldal van, vagy az csak egy link lista?
## bedo magasság:
margin: $v-unit-1 => 4rem
top: calc(#{$v-unit-1}/ 2); => 2rem
# Megbeszélés 2019.05.30.
$bigmobile: 360px +
Kezdőlap:
$only-mobile: 0- 768px
~egér változzon lapozósra~
~két nagy, utána kicsi rácsban~
~Nincs gradiens~
~Hover csak a címen~
~Nyíl, csak az első cikken~
~cursor módosítás tekerésre~
Kis ikonok hover:
~- maszkok bedo alapján~
~- némelyik maszkkal alapból, némelyik sima kép, ~
~- hoverre eltűnik a kép, és helyette~
$tablet: 769px +
Nagycímek:
~- utána margó~
~Excerpt a főoldalon hoverre: külön paraméter, nem excerpt!!~
og: tag: pluginnal!
~Dátumot átírni~
Szőveg kilóg a margóra!
szerzőnek is paraméter, és kattinható
Single:
- Nem kell carousel a felső oldalra
- crop thumbnail a fenti képnél
- állókép körbefut a szöveg!!!!
- galéria: mobilon fix 2, column számot lehessen használni asztalin
Menü: csík küzépen, két részben, két küön menü
BEDO kör: forog,
- hover, megáll, fekete megjelenik, nagyszüvegre megy a be-kat-ra
- kattintás a szóra:
Kategória lap: első csempe kimarad.
Kereső:
- teljes lábléc magasságban, hosszabban fusson ki
- ne legyen hover,
- focus
# Kérdések
## Kezdőlap
Animációk?
Kurzor: Nyíl az nem túl halovány? 32x32 pixel lehet maximum
# jegyzet 2019.06.12
## kezdőlap
~hover: ne nőjjön meg, csak a szín~
~a vonal felcsuszás animálva~
~a szélek alá is kerüljön szín~
~képre is hover, képre is klikk~
kép pontosabb arány
alapből lehet hogy több látszódjon
maszkok: mindig csak 2-t sorsol, és nem egymás mellettieket, nem egymás alattiakat
nagyképek lógjanak bele az előzőbe
## tag: be do:
háttér is a szín szerint
be do ikon a jobb felső sarokba
## single:
képen ne legyen cím
$smalldesktop: 1024px +
$mobile-landscape: 769px + min-device-pixel-ratio: 2.1 min-aspect-ratio: 1/1
$bigdesktop: 1279px +
$verybigdesktop: 1919px +

27
_teendők.md Normal file
View File

@@ -0,0 +1,27 @@
# Single - ✔
og: tag: pluginnal!
Facebook like gomb
# egyéb
Betöltéskor rejteni a dolgokat méretezés előtt, vagy betöltést optimalizálni
onresize js!
`@media print{}`
# Megjegyzések
## DESKTOP
~szövegek: alap kijelölő szín a sárga legyen -> invertáltakat meg kell javítani!
## DESKTOP
## MOBIL
### Iphone only???
~ nem mindig működik a home DIS gomb -> Mikor nem működik, nem találok ilyet, elvileg mindenhol mennie kell, vsz ugyanaz a hiba okozta mint az eltűnő dolgokat, szerintem ezt is megoldottam, de ellenőrizd
~ menü: nagyobb fekete flekk kell a dis logó alá, mert az „S” betű lelóg kicsit -> Ezt nem látom sehol, küldj printscreent

View File

@@ -1,31 +0,0 @@
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<!-- post thumbnail -->
<?php if ( has_post_thumbnail()) : // Check if thumbnail exists ?>
<a class="thumbnailwrapper" href="<?php the_permalink(); ?>" title="<?php the_title(); ?>">
<?php the_post_thumbnail('home-thumbnail'); ?>
</a>
<?php endif; ?>
<!-- /post thumbnail -->
<div class="metadata">
<div class="categories">
<?php the_category( ' | ' ); ?>
</div>
<div class="postedon">
<?php the_time('Y. m. d.'); ?>
</div>
</div>
<!-- post title -->
<h2>
<a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a>
</h2>
<!-- /post title -->
</article>

View File

@@ -1,10 +1,8 @@
<?php get_header();?>
<!-- section -->
<section id="content">
<?php
if (is_category()) {
$ttl = single_cat_title("", false);
@@ -12,28 +10,39 @@
} elseif (is_tag()) {
$ttl = single_tag_title("", false);
$cl = "tag";
} elseif (is_tax()) {
// $ttl = wp_title('»', false);
$ttl = preg_replace('/^.*»(.*)$/','\1',wp_title('»', false) );
$cl = "tax";
} else {
$ttl = the_archive_title();
$cl = "";
}
// esc_html_e($ttl, 'text-domain')
?>
<h1 class="archivetitle <?php echo $cl; ?>"><?php echo $ttl; ?></h1>
<?php
if (is_tag()) {
<div class="archivetitle <?php echo $cl; ?>">
<h1><?php echo $ttl; ?></h1>
<?php if (is_tag()) : ?>
<!-- Show images on tag archives: -->
<object data="<?php echo get_template_directory_uri(); ?>/img/clip/<?php echo $ttl; ?>_desktop.svg" type="image/svg+xml">
<img src="<?php echo get_template_directory_uri(); ?>/img/clip/<?php echo $ttl; ?>_desktop.png" />
</object>
<?php endif; ?>
</div>
<?php
// add description box if it's a tag
if (is_tag()) {
echo '<div class="archivedescription">';
echo tag_description();
echo "</div>";
}
?>
<?php get_template_part('loop');?>
<?php get_template_part('loadmore');?>

View File

@@ -4,37 +4,64 @@
<!-- section -->
<section>
<h1>Események</h1>
<?php if (have_posts()): while (have_posts()): the_post();?>
<?php if (have_posts()): while (have_posts()): the_post();?>
<?php
$event_datum = get_post_meta( get_the_ID(), 'dis-esemeny-datum', true );
$event_link = get_post_meta( get_the_ID(), 'dis-esemeny-link', true );
?>
<article id="post-<?php the_ID();?>" <?php post_class();?>>
<!-- post thumbnail -->
<?php if (has_post_thumbnail()): // Check if thumbnail exists ?>
<a class="thumbnailwrapper" href="<?php the_permalink();?>" title="<?php the_title();?>">
<?php the_post_thumbnail('home-thumbnail');?>
<a class="thumbnailwrapper" href="<?php echo $event_link; ?>" title="<?php the_title();?>">
<?php the_post_thumbnail('home-event-thumbnail');?>
</a>
<?php endif;?>
<?php endif;?>
<!-- /post thumbnail -->
<div class="metadata">
<div class="categories">
<?php the_category(' | ');?>
</div>
<div class="postedon">
<?php the_time('Y. m. d.');?>
</div>
<div class="event-metadata">
<div class="top-row">
<div class="ev-date">
<?php
echo preg_replace('/^(\d{4}\.)(\d{2}\.)(\d{2}\.)$/','\1</br>\2 \3',$event_datum );
// echo $event_datum;
?>
</div>
</div>
<!-- Arrow -->
<a href="<?php echo $event_link; ?>" target="_blank" class="arrow-link">
</a>
</div>
<div class="hr">
</div>
<div class="bottom-row">
<!-- title -->
<h2>
<?php the_title();?>
</h2>
<div class="vr"></div>
<!-- Tovább button -->
<a href="<?php echo $event_link; ?>" class="text-link" target="_blank">Tovább az eseményre</a>
</div>
</div><!-- end event-metadata -->
<!-- post title -->
<h2>
<a href="<?php the_permalink();?>" title="<?php the_title();?>"><?php the_title();?></a>
</h2>
<!-- /post title -->

File diff suppressed because it is too large Load Diff

82
customizer.php Normal file
View File

@@ -0,0 +1,82 @@
<?php
/**
* Create Logo Setting and Upload Control
*/
function dis2019_customizer_settings($wp_customize)
{
$wp_customize->add_section('dis-2019', array(
'title' => 'Designisso 2019',
));
$wp_customize->add_setting('dis-2019-event-cat-id');
$wp_customize->add_control(new WP_Customize_Control($wp_customize, 'dis-2019-event-cat-id',
array(
'label' => __('Event category id', 'dis2019'),
'section' => 'dis-2019',
'description' => __('This category will be hidden from the start page.', 'dis2019'),
'settings' => 'dis-2019-event-cat-id',
'type' => 'number',
)));
$wp_customize->add_setting('dis-2019-event-cat-slug');
$wp_customize->add_control(new WP_Customize_Control($wp_customize, 'dis-2019-event-cat-slug',
array(
'label' => __('Event category slug', 'dis2019'),
'section' => 'dis-2019',
'description' => __('This category will be hidden from the start page. Write category slug here', 'dis2019'),
'settings' => 'dis-2019-event-cat-slug',
)));
$wp_customize->add_setting('dis-2019-posts-on-home');
$wp_customize->add_control(new WP_Customize_Control($wp_customize, 'dis-2019-posts-on-home',
array(
'label' => __('Number of posts on homepage', 'dis2019'),
'section' => 'dis-2019',
'description' => __('Use 6*n+2 numbers, e.g. 8, 14, 20, 26...', 'dis2019'),
'settings' => 'dis-2019-posts-on-home',
'type' => 'number',
)));
$wp_customize->add_setting('dis-2019-posts-on-tag');
$wp_customize->add_control(new WP_Customize_Control($wp_customize, 'dis-2019-posts-on-tag',
array(
'label' => __('Number of posts on tag archives', 'dis2019'),
'section' => 'dis-2019',
'description' => __('Be, do, think, love pages. Use 6*n-2 numbers, e.g. 4, 10, 16, 22... ', 'dis2019'),
'settings' => 'dis-2019-posts-on-tag',
'type' => 'number',
)));
$wp_customize->add_setting('dis-2019-posts-on-archive');
$wp_customize->add_control(new WP_Customize_Control($wp_customize, 'dis-2019-posts-on-archive',
array(
'label' => __('Number of posts on search results and archive pages', 'dis2019'),
'section' => 'dis-2019',
'description' => __('Search results and archive non tag pages. Use 6*n-1 numbers, e.g. 5, 11, 17, 23... ', 'dis2019'),
'settings' => 'dis-2019-posts-on-archive',
'type' => 'number',
)));
$wp_customize->add_setting('dis-2019-related-posts');
$wp_customize->add_control(new WP_Customize_Control($wp_customize, 'dis-2019-related-posts',
array(
'label' => __('Number of related articles', 'dis2019'),
'section' => 'dis-2019',
'description' => __('Same value applies to mobile and desktop. Use any integer', 'dis2019'),
'settings' => 'dis-2019-related-posts',
'type' => 'number',
)));
//__('Choose from most used writer', 'dis2019')
// get_theme_mod( 'dis-2019-posts-on-home' );
}
add_action('customize_register', 'dis2019_customizer_settings');
?>

View File

@@ -4,7 +4,13 @@
</div>
<!-- /wrapper -->
<?php //wp_footer(); ?>
<?php wp_footer(); ?>
<?php
if ( function_exists('cn_cookies_accepted') && cn_cookies_accepted() ) {
// Your third-party non functional code here
?>
<!-- analytics -->
<script>
@@ -16,5 +22,9 @@
ga('send', 'pageview');
</script>
<?php
}
?>
</body>
</html>

View File

@@ -1,7 +1,6 @@
<?php
/*
* Author: Todd Motto | @toddmotto
* URL: dis2019.com | @dis2019
* Original author: Todd Motto | @toddmotto
* Custom functions, support, custom post types and more.
*/
@@ -11,6 +10,18 @@ External Modules/Files
// Load any external files you have here
// Debug $data will display in console
function console_debug($data)
{
$data = json_encode($data);
echo "<script>console.dir($data)</script>";
}
/**
* Customizer additions.
*/
include get_template_directory() . '/customizer.php';
/*------------------------------------*\
Theme Support
\*------------------------------------*/
@@ -30,6 +41,7 @@ if (function_exists('add_theme_support')) {
add_image_size('small', 120, '', true); // Small Thumbnail
add_image_size('home-big-thumbnail', 1024, 1024, true); // Custom Thumbnail Size call using the_post_thumbnail('home-thumbnail');
add_image_size('home-small-thumbnail', 256, 256, true); // Custom Thumbnail Size call using the_post_thumbnail('home-thumbnail');
add_image_size('home-event-thumbnail', 1024, 537, true);
// Add Support for Custom Backgrounds - Uncomment below if you're going to use
/*add_theme_support('custom-background', array(
@@ -86,38 +98,6 @@ function dis2019_nav()
);
}
//walker for tag menu: bedo circle hover
class Menu_With_Description extends Walker_Nav_Menu {
function start_el(&$output, $item, $depth, $args) {
global $wp_query;
$indent = ( $depth ) ? str_repeat( "\t", $depth ) : '';
$class_names = $value = '';
$classes = empty( $item->classes ) ? array() : (array) $item->classes;
$class_names = join( ' ', apply_filters( 'nav_menu_css_class', array_filter( $classes ), $item ) );
$class_names = ' class="' . esc_attr( $class_names ) . '"';
$output .= $indent . '<li id="menu-item-'. $item->ID . '"' . $value . $class_names .'>';
$attributes = ! empty( $item->attr_title ) ? ' title="' . esc_attr( $item->attr_title ) .'"' : '';
$attributes .= ! empty( $item->target ) ? ' target="' . esc_attr( $item->target ) .'"' : '';
$attributes .= ! empty( $item->xfn ) ? ' rel="' . esc_attr( $item->xfn ) .'"' : '';
$attributes .= ! empty( $item->url ) ? ' href="' . esc_attr( $item->url ) .'"' : '';
$item_output = $args->before;
$item_output .= '<a'. $attributes .'>';
$item_output .= $args->link_before . apply_filters( 'the_title', $item->title, $item->ID ) . $args->link_after;
$item_output .= '</a>';
$item_output .= '<span class="sub menu-item-sub-' . $item->ID . '">' . $item->description . '</span>';
$item_output .= $args->after;
$output .= apply_filters( 'walker_nav_menu_start_el', $item_output, $item, $depth, $args );
}
}
// Load dis-2019 scripts (header.php)
function dis2019_header_scripts()
{
@@ -132,26 +112,38 @@ function dis2019_header_scripts()
wp_register_script('modernizr', get_template_directory_uri() . '/js/lib/modernizr-custom.js', array(), '2.7.1'); // Modernizr
wp_enqueue_script('modernizr'); // Enqueue it!
wp_register_script('simpler-sidebar', get_template_directory_uri() . '/js/lib/jquery.simpler-sidebar.min.js', array('jquery'), '2.2.5'); // Modernizr
wp_register_script('simpler-sidebar', get_template_directory_uri() . '/js/lib/jquery.simpler-sidebar.min.js', array('jquery'), '2.2.5'); //
wp_enqueue_script('simpler-sidebar'); // Enqueue it!
wp_register_script('snap-scroll', get_template_directory_uri() . '/js/lib/snap-scroll.min.js', array('jquery'), '1.0.0'); // Modernizr
wp_enqueue_script('snap-scroll'); // Enqueue it!
wp_register_script('fittext', get_template_directory_uri() . '/js/lib/jquery.fittext.js', array('jquery'), '1.0.0'); //
wp_enqueue_script('fittext'); // Enqueue it!
//wp_register_script('jquery.corner', get_template_directory_uri() . '/js/lib/jquery.corner.js', array('jquery'), '1.0.0'); // Modernizr
//wp_enqueue_script('jquery.corner'); // Enqueue it!
wp_register_script('jquery.colorbox', get_template_directory_uri() . '/js/lib/jquery.colorbox-min.js', array('jquery'), '1.0.0'); //
wp_enqueue_script('jquery.colorbox'); // Enqueue it!
wp_register_script('lettering', get_template_directory_uri() . '/js/lib/jquery.lettering.js', array('jquery'), '1.0.0'); // Modernizr
wp_register_script('lettering', get_template_directory_uri() . '/js/lib/jquery.lettering.js', array('jquery'), '1.0.0'); //
wp_enqueue_script('lettering'); // Enqueue it!
// wp_register_script('clamp', get_template_directory_uri() . '/js/lib/clamp.min.js', array(), '1.5.1'); //
// wp_enqueue_script('clamp'); // Enqueue it!
wp_register_script('ftellipsis', get_template_directory_uri() . '/js/lib/ftellipsis.min.js', array(), '1.0.0'); //
wp_enqueue_script('ftellipsis'); // Enqueue it!
wp_register_script('touchSwipe', get_template_directory_uri() . '/js/lib/jquery.touchSwipe.min.js', array('jquery'), '1.6.18'); //
wp_enqueue_script('touchSwipe'); // Enqueue it!
wp_register_script('dis2019scripts', get_template_directory_uri() . '/js/scripts.js', array(
'jquery',
'conditionizr',
'modernizr',
'simpler-sidebar',
'snap-scroll',
//'jquery.corner',
'fittext',
'jquery.colorbox',
'lettering',
'ftellipsis',
'touchSwipe',
// 'clamp',
), '1.0.0'); // Custom scripts
wp_enqueue_script('dis2019scripts'); // Enqueue it!
}
@@ -183,26 +175,15 @@ function dis2019_styles()
}
//remove events from home page
// !!!add event cat id to here!!!!
function exclude_category_home($query)
{
if ($query->is_home) {
$query->set('cat', '-5');
}
return $query;
}
add_filter('pre_get_posts', 'exclude_category_home');
// Register dis-2019 Navigation
function register_dis_menu()
{
register_nav_menus(array( // Using array to specify more menus if needed
'header-menu' => __('Header Menu', 'dis2019'), // Main Navigation
'main-left-menu' => __('Main menu left', 'dis2019'), // Main Navigation
'main-right-menu' => __('Main menu right', 'dis2019'), // Extra Navigation if needed (duplicate as many as you need!)
// 'sidebar-menu' => __('Sidebar Menu', 'dis2019'), // Sidebar Navigation
'tag-menu' => __('Tag Menu', 'dis2019'), // Extra Navigation if needed (duplicate as many as you need!)
'tag-menu' => __('Circular tags', 'dis2019'), // bedo circle
//'main-right-menu' => __('Header Right Menu', 'dis2019'), // Extra Navigation if needed (duplicate as many as you need!)
));
}
@@ -349,6 +330,13 @@ function remove_thumbnail_dimensions($html)
return $html;
}
//Wrap aligned images to a div
function wrap_aligned_images($content)
{
return preg_replace('/<div class="wp-block-image"><figure class="(align[a-z]*)([ "])(.*)<\/figure>\s*/iU', '<div class="wp-block-image wp-block-image-aligned"><div class="alignedWrapper \1Wrapper"><figure class="\1\2\3 </figure></div>', $content);
}
add_filter('the_content', 'wrap_aligned_images');
// Custom Gravatar in Settings > Discussion
function dis2019gravatar($avatar_defaults)
{
@@ -456,7 +444,22 @@ function misha_loadmore_ajax_handler()
$args['posts_per_page'] = 6;
//First, define your desired offset...
$offset = 14;
$offset = get_theme_mod('dis-2019-posts-on-home');
// console_debug($args);
if ($args['cat']) {
// console_debug('cat query');
$offset = get_theme_mod('dis-2019-posts-on-archive', 11);
}
if ($args['s']) {
// console_debug('search query');
$offset = get_theme_mod('dis-2019-posts-on-archive', 11);
}
if ($args['tag']) {
// console_debug('tag query');
$offset = get_theme_mod('dis-2019-posts-on-tag', 10);
}
//Next, determine how many posts per page you want (we'll use WordPress's settings)
$ppp = get_option('posts_per_page');
@@ -475,28 +478,82 @@ function misha_loadmore_ajax_handler()
add_action('wp_ajax_loadmore', 'misha_loadmore_ajax_handler'); // wp_ajax_{action}
add_action('wp_ajax_nopriv_loadmore', 'misha_loadmore_ajax_handler'); // wp_ajax_nopriv_{action}
/* -------------------------------------------------------------------------- */
/* pre_get_posts */
/* -------------------------------------------------------------------------- */
//remove events from home page
function exclude_category_home($query)
{
if ($query->is_home) {
$minus_catid = '-' . get_theme_mod('dis-2019-event-cat-id', 5);
$query->set('cat', $minus_catid);
}
return $query;
}
add_filter('pre_get_posts', 'exclude_category_home');
// order events by date on events page
function dis_2019_order_events_by_date(&$query)
{
//Before anything else, make sure this is the right query...
if (!($query->query_vars[category_name] == get_theme_mod('dis-2019-event-cat-slug', 'esemeny'))) {
return;
}
$query->set('meta_key', 'dis-esemeny-datum');
$query->set('orderby', 'meta_value');
$query->set('order', 'ASC');
$query->set('meta_value', date("Y.m.d.")); // change to how "event date" is stored
$query->set('meta_compare', '>');
}
add_action('pre_get_posts', 'dis_2019_order_events_by_date', 1);
/* -------------------- different number of posts on home ------------------- */
add_action('pre_get_posts', 'dis_2019_more_posts_on_home', 1);
function dis_2019_more_posts_on_home(&$query)
{
//Before anything else, make sure this is the right query...
if (!$query->is_home() && !$query->is_archive()) {
if (!$query->is_home() && !$query->is_archive() && !$query->is_search()) {
return;
}
if ($query->is_home()) {
$pposts = 14;
}elseif ($query->is_tag()) {
$pposts = 10;
}else {
$pposts = 11;
// if it's a menu
if ($query->query_vars[orderby] == 'menu_order') {
return;
}
//console_debug($query);
// console_debug($query->query_vars[related_loop]);
if ($query->is_home()) {
$pposts = get_theme_mod('dis-2019-posts-on-home',20);
} elseif ($query->is_tag()) {
$pposts = get_theme_mod('dis-2019-posts-on-tag', 10);
} elseif ($query->query_vars[related_loop]) {
$pposts = get_theme_mod('dis-2019-related-posts', 3);
} elseif ($query->is_archive()) {
$pposts = get_theme_mod('dis-2019-posts-on-archive', 11);
} elseif ($query->is_search()) {
$pposts = get_theme_mod('dis-2019-posts-on-archive', 11);
} elseif (!$query->in_the_loop()) {
return;
} else {
$pposts = get_option('posts_per_page');
// $pposts = 6;
}
//set post_per_page if it's homepage
if (!$query->is_paged) {
// console_debug($pposts);
$query->set('posts_per_page', $pposts);
} else {
return;
@@ -527,7 +584,7 @@ add_action('wp_print_scripts', 'dis2019_conditional_scripts'); // Add Conditiona
add_action('get_header', 'enable_threaded_comments'); // Enable Threaded Comments
add_action('wp_enqueue_scripts', 'dis2019_styles'); // Add Theme Stylesheet
add_action('init', 'register_dis_menu'); // Add dis-2019 Menu
add_action('init', 'create_post_type_dis'); // Add our dis-2019 Custom Post Type
//add_action('init', 'create_post_type_dis'); // Add our dis-2019 Custom Post Type
add_action('widgets_init', 'my_remove_recent_comments_style'); // Remove inline Recent Comment Styles from wp_head()
add_action('init', 'diswp_pagination'); // Add our HTML5 Pagination
@@ -639,17 +696,25 @@ Custom taxonomy
function dis2019_register_taxonomy_format()
{
$labels = [
'name' => _x('Format', 'taxonomy general name'),
'singular_name' => _x('Format', 'taxonomy singular name'),
'search_items' => __('Search Formats'),
'all_items' => __('All Formats'),
'parent_item' => __('Parent Format'),
'parent_item_colon' => __('Parent Format:'),
'edit_item' => __('Edit Format'),
'update_item' => __('Update Format'),
'add_new_item' => __('Add New Format'),
'new_item_name' => __('New Format Name'),
'menu_name' => __('Formats'),
'name' => _x('Format', 'taxonomy general name', 'dis2019'),
'singular_name' => _x('Format', 'taxonomy singular name', 'dis2019'),
'search_items' => __('Search Formats', 'dis2019'),
'all_items' => __('All Formats', 'dis2019'),
'parent_item' => __('Parent Format', 'dis2019'),
'parent_item_colon' => __('Parent Format:', 'dis2019'),
'edit_item' => __('Edit Format', 'dis2019'),
'update_item' => __('Update Format', 'dis2019'),
'add_new_item' => __('Add New Format', 'dis2019'),
'new_item_name' => __('New Format Name', 'dis2019'),
'menu_name' => __('Formats', 'dis2019'),
'view_item' => __('View Formats', 'dis2019'),
'popular_items' => __('Popular Formats', 'dis2019'),
'separate_items_with_commas' => __('Separate formats with commas', 'dis2019'),
'add_or_remove_items' => __('Add or remove formats', 'dis2019'),
'choose_from_most_used' => __('Choose from most used formats', 'dis2019'),
'not_found' => __('No formats found', 'dis2019'),
'back_to_items' => __('Back to formats', 'dis2019'),
];
$args = [
'hierarchical' => false, // make it hierarchical (like categories)
@@ -657,11 +722,50 @@ function dis2019_register_taxonomy_format()
'show_ui' => true,
'show_admin_column' => true,
'query_var' => true,
'rewrite' => ['slug' => 'Format'],
'rewrite' => ['slug' => 'format'],
'show_in_rest' => true,
'public' => true,
];
register_taxonomy('Format', ['post'], $args);
}
add_action('init', 'dis2019_register_taxonomy_format');
function dis2019_register_taxonomy_writer()
{
$labels = [
'name' => _x('Writers', 'taxonomy general name', 'dis2019'),
'singular_name' => _x('Writer', 'taxonomy singular name', 'dis2019'),
'search_items' => __('Search Writers', 'dis2019'),
'all_items' => __('All Writers', 'dis2019'),
'parent_item' => __('Parent Writer', 'dis2019'),
'parent_item_colon' => __('Parent Writer:', 'dis2019'),
'edit_item' => __('Edit Writer', 'dis2019'),
'update_item' => __('Update Writer', 'dis2019'),
'add_new_item' => __('Add New Writer', 'dis2019'),
'new_item_name' => __('New Writer Name', 'dis2019'),
'menu_name' => __('Writers', 'dis2019'),
'view_item' => __('View Writers', 'dis2019'),
'popular_items' => __('Popular Writers', 'dis2019'),
'separate_items_with_commas' => __('Separate writers with commas', 'dis2019'),
'add_or_remove_items' => __('Add or remove writers', 'dis2019'),
'choose_from_most_used' => __('Choose from most used writer', 'dis2019'),
'not_found' => __('No writer found', 'dis2019'),
'back_to_items' => __('Back to writers', 'dis2019'),
];
$args = [
'hierarchical' => false, // make it hierarchical (like categories)
'labels' => $labels,
'show_ui' => true,
'show_admin_column' => true,
'query_var' => true,
'rewrite' => ['slug' => 'writer'],
'show_in_rest' => true,
'public' => true,
];
register_taxonomy('Writer', ['post'], $args);
}
add_action('init', 'dis2019_register_taxonomy_writer');
?>

View File

@@ -1,20 +1,28 @@
<!doctype html>
<html <?php language_attributes(); ?> class="no-js">
<html <?php language_attributes();?> class="no-js">
<head>
<meta charset="<?php bloginfo('charset'); ?>">
<title><?php wp_title(''); ?><?php if(wp_title('', false)) { echo ' :'; } ?> <?php bloginfo('name'); ?></title>
<meta charset="<?php bloginfo('charset');?>">
<title><?php wp_title('');?><?php if (wp_title('', false)) {echo ' :';}?> <?php bloginfo('name');?></title>
<link href="//www.google-analytics.com" rel="dns-prefetch">
<!-- <link href="<?php //echo get_template_directory_uri(); ?>/img/icons/favicon.ico" rel="shortcut icon">
<link href="<?php //echo get_template_directory_uri(); ?>/img/icons/touch.png" rel="apple-touch-icon-precomposed"> -->
<!-- favicon -->
<link rel="apple-touch-icon" sizes="180x180" href="<?php echo get_template_directory_uri(); ?>/img/icons/apple-touch-icon.png?v=m2R26gv6zM">
<link rel="icon" type="image/png" sizes="32x32" href="<?php echo get_template_directory_uri(); ?>/img/icons/favicon-32x32.png?v=m2R26gv6zM">
<link rel="icon" type="image/png" sizes="16x16" href="<?php echo get_template_directory_uri(); ?>/img/icons/favicon-16x16.png?v=m2R26gv6zM">
<link rel="manifest" href="<?php echo get_template_directory_uri(); ?>/img/icons/site.webmanifest?v=m2R26gv6zM">
<link rel="mask-icon" href="<?php echo get_template_directory_uri(); ?>/img/icons/safari-pinned-tab.svg?v=m2R26gv6zM" color="#000000">
<link rel="shortcut icon" href="<?php echo get_template_directory_uri(); ?>/img/icons/favicon.ico?v=m2R26gv6zM">
<meta name="msapplication-TileColor" content="#ffffff">
<meta name="theme-color" content="#ffffff">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- <meta name="viewport" content="height=device-height, initial-scale=1.0"> -->
<meta name="description" content="<?php bloginfo('description'); ?>">
<meta name="description" content="<?php bloginfo('description');?>">
<?php wp_head(); ?>
<?php wp_head();?>
<script>
// conditionizr.com
// configure environment tests
@@ -26,7 +34,7 @@
</head>
<body <?php body_class(); ?>>
<body <?php body_class();?>>
<!-- wrapper -->
<div class="wrapper">
@@ -40,31 +48,43 @@
<!-- logo -->
<div class="logo">
<a href="<?php echo home_url(); ?>">
<object data="<?php echo get_template_directory_uri(); ?>/img/dis-logo.svg"
<object class="white" data="<?php echo get_template_directory_uri(); ?>/img/dis-logo-white.svg"
type="image/svg+xml">
<img src="<?php echo get_template_directory_uri(); ?>/img/dis-logo.png" />
<img src="<?php echo get_template_directory_uri(); ?>/img/dis-logo-white.png" />
</object>
<object class="black" data="<?php echo get_template_directory_uri(); ?>/img/dis-logo-black.svg"
type="image/svg+xml">
<img src="<?php echo get_template_directory_uri(); ?>/img/dis-logo-black.png" />
</object>
</a>
</div>
<!-- /logo -->
<div class="fb-link social-link">
<a href="https://www.facebook.com/designisso" target="_blank">
<object data="<?php echo get_template_directory_uri(); ?>/img/facebook_icon.svg"
<object class="white" data="<?php echo get_template_directory_uri(); ?>/img/facebook_icon-white.svg"
type="image/svg+xml">
<img src="<?php echo get_template_directory_uri(); ?>/img/facebook_icon.png" />
<img src="<?php echo get_template_directory_uri(); ?>/img/facebook_icon-white.png" />
</object>
<object class="black" data="<?php echo get_template_directory_uri(); ?>/img/facebook_icon-black.svg"
type="image/svg+xml">
<img src="<?php echo get_template_directory_uri(); ?>/img/facebook_icon-black.png" />
</object>
</a>
</div>
<div class="search-box">
<button type="button" id="search-button">
<object data="<?php echo get_template_directory_uri(); ?>/img/kereso_icon.svg"
<object class="white" data="<?php echo get_template_directory_uri(); ?>/img/kereso_icon-white.svg"
type="image/svg+xml">
<img src="<?php echo get_template_directory_uri(); ?>/img/kereso_icon.png" />
<img src="<?php echo get_template_directory_uri(); ?>/img/kereso_icon-white.png" />
</object>
<object class="black" data="<?php echo get_template_directory_uri(); ?>/img/kereso_icon-black.svg"
type="image/svg+xml">
<img src="<?php echo get_template_directory_uri(); ?>/img/kereso_icon-black.png" />
</object>
</button>
<div class="search-bar">
<?php get_search_form(); ?>
<?php get_search_form();?>
</div>
</div><!-- search end -->
@@ -84,9 +104,13 @@
<div class="header-2">
<div class="menubutton">
<button type="button" id="toggle-sidebar">
<object data="<?php echo get_template_directory_uri(); ?>/img/dis-plus.svg"
<object class="white" data="<?php echo get_template_directory_uri(); ?>/img/dis-plus-white.svg"
type="image/svg+xml">
<img src="<?php echo get_template_directory_uri(); ?>/img/dis-plus.png" />
<img src="<?php echo get_template_directory_uri(); ?>/img/dis-plus-white.png" />
</object>
<object class="black" data="<?php echo get_template_directory_uri(); ?>/img/dis-plus-black.svg"
type="image/svg+xml">
<img src="<?php echo get_template_directory_uri(); ?>/img/dis-plus-black.png" />
</object>
</button>
@@ -94,17 +118,25 @@
</div>
<div class="ig-link social-link">
<a href="https://www.instagram.com/design_is_so/" target="_blank">
<object data="<?php echo get_template_directory_uri(); ?>/img/instagram_icon.svg"
<object class="white" data="<?php echo get_template_directory_uri(); ?>/img/instagram_icon-white.svg"
type="image/svg+xml">
<img src="<?php echo get_template_directory_uri(); ?>/img/instagram_icon.png" />
<img src="<?php echo get_template_directory_uri(); ?>/img/instagram_icon-white.png" />
</object>
<object class="black" data="<?php echo get_template_directory_uri(); ?>/img/instagram_icon-black.svg"
type="image/svg+xml">
<img src="<?php echo get_template_directory_uri(); ?>/img/instagram_icon-black.png" />
</object>
</a>
</div>
<div class="events-link">
<a href="/index.php/category/esemeny" target="_top">
<object data="<?php echo get_template_directory_uri(); ?>/img/naptar_icon.svg"
<a href="/index.php/category/<?php echo get_theme_mod('dis-2019-event-cat-slug'); ?>" target="_top">
<object class="white" data="<?php echo get_template_directory_uri(); ?>/img/naptar_icon-white.svg"
type="image/svg+xml">
<img src="<?php echo get_template_directory_uri(); ?>/img/naptar_icon.png" />
<img src="<?php echo get_template_directory_uri(); ?>/img/naptar_icon-white.png" />
</object>
<object class="black" data="<?php echo get_template_directory_uri(); ?>/img/naptar_icon-black.svg"
type="image/svg+xml">
<img src="<?php echo get_template_directory_uri(); ?>/img/naptar_icon-black.png" />
</object>
</a>
</div>
@@ -113,7 +145,12 @@
<div id="sidebar">
<nav role="navigation" id="sidebar-wrapper" class="nav sidebar-wrapper">
<?php dis2019_nav(); ?>
<?php //dis2019_nav(); ?>
<?php wp_nav_menu(array('theme_location' => 'main-left-menu'));?>
<div class="menuseparator">
</div>
<?php wp_nav_menu(array('theme_location' => 'main-right-menu'));?>
</nav>
</div>
@@ -128,22 +165,22 @@
<div id="tag-nav">
<nav role="navigation" class="tag-nav">
<?php $walker = new Menu_With_Description; ?>
<?php wp_nav_menu( array( 'theme_location' => 'tag-menu', 'walker' => $walker ) ); ?>
<!-- <?php //$walker = new Menu_With_Description; ?> -->
<?php wp_nav_menu(array('theme_location' => 'tag-menu'));?>
</nav>
<div class="sub-wrapper">
</div>
<!-- <div class="sub-wrapper">
</div> -->
</div>
<!-- ----------------------- to top arrow on mobile ------------------------ -->
<div class="totop">
<!-- <div class="totop">
<a href="#top">
<object data="<?php echo get_template_directory_uri(); ?>/img/arrow.svg" type="image/svg+xml">
<img src="<?php echo get_template_directory_uri(); ?>/img/arrow.png" />
<object data="<?php //echo get_template_directory_uri(); ?>/img/arrow.svg" type="image/svg+xml">
<img src="<?php //echo get_template_directory_uri(); ?>/img/arrow.png" />
</object>
</a>
</div>
</div> -->
</header>
<!-- /header -->

View File

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 1.0 KiB

View File

Before

Width:  |  Height:  |  Size: 2.0 KiB

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 336 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 337 B

BIN
img/clip/be_desktop.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

15
img/clip/be_mobil.svg Normal file
View File

@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Generator: Adobe Illustrator 15.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" version="1.1" id="Layer_1" x="0px" y="0px" width="100" height="50" viewBox="0 0 1077.252 536.91" enable-background="new 0 0 1077.252 536.91" xml:space="preserve" sodipodi:docname="be_mobil.svg" inkscape:version="0.92.3 (2405546, 2018-03-11)">
<metadata id="metadata9" />
<defs id="defs7" />
<sodipodi:namedview pagecolor="#ffffff" bordercolor="#666666" borderopacity="1" objecttolerance="10" gridtolerance="10" guidetolerance="10" inkscape:pageopacity="0" inkscape:pageshadow="2" inkscape:window-width="1676" inkscape:window-height="1371" id="namedview5" showgrid="false" inkscape:zoom="0.44503832" inkscape:cx="527.59275" inkscape:cy="270.8118" inkscape:window-x="1688" inkscape:window-y="33" inkscape:window-maximized="0" inkscape:current-layer="Layer_1" />
<clipPath id="clipper" clipPathUnits="objectBoundingBox">
<path id="svgPath" d="M 4.484,126.232 C 38.201,-0.521 304.892,-39.604 600.152,38.936 c 295.264,78.537 507.29,244.957 473.576,371.709 -33.716,126.751 -300.406,165.834 -595.67,87.297 C 182.797,419.404 -29.229,252.983 4.484,126.232 Z" inkscape:connector-curvature="0" />
</clipPath>
<path id="svgMask" d="M 4.484,126.232 C 38.201,-0.521 304.892,-39.604 600.152,38.936 c 295.264,78.537 507.29,244.957 473.576,371.709 -33.716,126.751 -300.406,165.834 -595.67,87.297 C 182.797,419.404 -29.229,252.983 4.484,126.232 Z" inkscape:connector-curvature="0" />
</svg>

After

Width:  |  Height:  |  Size: 1.7 KiB

BIN
img/clip/do_desktop.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

14
img/clip/do_mobil.svg Normal file
View File

@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Generator: Adobe Illustrator 15.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" version="1.1" id="Layer_1" x="0px" y="0px" width="100" height="50" viewBox="0 0 1078.734 536.91" enable-background="new 0 0 1078.734 536.91" xml:space="preserve" sodipodi:docname="do_mobil.svg" inkscape:version="0.92.3 (2405546, 2018-03-11)">
<defs id="defs7" />
<sodipodi:namedview pagecolor="#ffffff" bordercolor="#666666" borderopacity="1" objecttolerance="10" gridtolerance="10" guidetolerance="10" inkscape:pageopacity="0" inkscape:pageshadow="2" inkscape:window-width="1676" inkscape:window-height="1371" id="namedview5" showgrid="false" inkscape:zoom="2.5140581" inkscape:cx="65.295123" inkscape:cy="39.493045" inkscape:window-x="1688" inkscape:window-y="33" inkscape:window-maximized="0" inkscape:current-layer="Layer_1" />
<clipPath id="clipper" clipPathUnits="objectBoundingBox">
<polygon points="969.418,163 -0.572,210.955 -0.572,376.047 -0.572,382.857 -0.572,539 1078.428,539 1078.428,376 137.691,376 1078.428,329.539 1078.428,163.047 1078.428,157.639 1078.428,0 -0.572,0 -0.572,163 " />
</clipPath>
<polygon id="svgMask" points="969.418,163 -0.572,210.955 -0.572,376.047 -0.572,382.857 -0.572,539 1078.428,539 1078.428,376 137.691,376 1078.428,329.539 1078.428,163.047 1078.428,157.639 1078.428,0 -0.572,0 -0.572,163 " />
</svg>

After

Width:  |  Height:  |  Size: 1.6 KiB

BIN
img/clip/love_desktop.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

14
img/clip/love_mobil.svg Normal file
View File

@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Generator: Adobe Illustrator 15.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" version="1.1" id="Layer_1" x="0px" y="0px" width="100" height="50" viewBox="0 0 1077.252 536.91" enable-background="new 0 0 1077.252 536.91" xml:space="preserve" sodipodi:docname="love_mobil.svg" inkscape:version="0.92.3 (2405546, 2018-03-11)">
<defs id="defs7" />
<sodipodi:namedview pagecolor="#ffffff" bordercolor="#666666" borderopacity="1" objecttolerance="10" gridtolerance="10" guidetolerance="10" inkscape:pageopacity="0" inkscape:pageshadow="2" inkscape:window-width="1676" inkscape:window-height="1371" id="namedview5" showgrid="false" inkscape:zoom="7.1206131" inkscape:cx="52.51157" inkscape:cy="21.160947" inkscape:window-x="1688" inkscape:window-y="33" inkscape:window-maximized="0" inkscape:current-layer="Layer_1" />
<clipPath id="clipper" clipPathUnits="objectBoundingBox">
<path d="M 453.183,35.101 C 404.96,13.122 340.698,-0.295 270.126,-0.295 c -149.67,0 -271,60.328 -271,134.75 0,69.605 106.143,126.88 242.336,134 -136.193,7.12 -242.336,64.393 -242.336,134 0,74.42 121.33,134.75 271,134.75 70.545,0 134.785,-13.406 183.002,-35.37 l 624.998,-232.63 z" inkscape:connector-curvature="0" />
</clipPath>
<path id="svgMask" d="M 453.183,35.101 C 404.96,13.122 340.698,-0.295 270.126,-0.295 c -149.67,0 -271,60.328 -271,134.75 0,69.605 106.143,126.88 242.336,134 -136.193,7.12 -242.336,64.393 -242.336,134 0,74.42 121.33,134.75 271,134.75 70.545,0 134.785,-13.406 183.002,-35.37 l 624.998,-232.63 z" inkscape:connector-curvature="0" />
</svg>

After

Width:  |  Height:  |  Size: 1.8 KiB

BIN
img/clip/think_desktop.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

14
img/clip/think_mobil.svg Normal file

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 476 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 275 B

BIN
img/dis-logo-black.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB

73
img/dis-logo-black.svg Normal file
View File

@@ -0,0 +1,73 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="47.293671mm"
height="46.798794mm"
viewBox="0 0 47.293671 46.798794"
version="1.1"
id="svg260"
inkscape:version="0.92.3 (2405546, 2018-03-11)"
sodipodi:docname="dis-logo.svg">
<defs
id="defs254" />
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="1.4"
inkscape:cx="185.14836"
inkscape:cy="-80.588807"
inkscape:document-units="mm"
inkscape:current-layer="layer2"
showgrid="false"
inkscape:window-width="2001"
inkscape:window-height="1335"
inkscape:window-x="673"
inkscape:window-y="69"
inkscape:window-maximized="0" />
<metadata
id="metadata257">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<g
inkscape:groupmode="layer"
id="layer2"
inkscape:label="Layer 2"
style="display:inline"
transform="translate(-11.221473,-3.6311089)">
<path
d="m 42.075803,16.517198 -17.7165,17.834327 3.3027,3.19264 17.71509,-17.83327 z"
style="display:inline;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.35277775"
id="path172"
inkscape:connector-curvature="0" />
<path
d="M 16.022423,8.0725809 V 19.475417 h 2.8515 c 1.83021,0 3.3902,0 4.86128,-0.9906 1.44074,-0.960261 2.31069,-2.579864 2.31069,-4.801306 0,-1.980494 -0.81033,-3.480505 -2.16006,-4.4707521 -1.56139,-1.140178 -3.15171,-1.140178 -4.92195,-1.140178 z m -4.80095,-4.441472 h 7.68208 c 2.49097,0 5.04155,0 7.68245,1.740959 2.64054,1.650294 4.50109,4.501091 4.50109,8.3114431 0,4.111978 -2.19075,7.232297 -5.25145,8.882592 -2.43064,1.320447 -4.56107,1.320447 -6.9021,1.320447 h -7.71207 z"
style="display:inline;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.35277775"
id="path176"
inkscape:connector-curvature="0" />
<path
d="m 56.235493,35.485884 c -2.40101,-1.050219 -4.89127,-1.591027 -7.26264,-1.591027 -1.68028,0 -3.0607,0.510469 -3.02966,1.891594 0,1.619953 2.45922,1.920168 5.16009,2.340327 3.8421,0.570441 7.41186,1.770239 7.41186,5.850818 0,5.011563 -5.16079,6.452307 -9.21174,6.452307 -3.48121,0 -6.66221,-0.689682 -9.45232,-2.191102 l 1.95015,-4.140907 c 2.34103,1.199798 5.16149,2.010482 7.86201,2.010482 1.58961,0 3.51119,-0.359834 3.51119,-1.980497 0.0296,-1.46967 -1.50072,-1.890535 -3.99027,-2.250368 -4.11233,-0.50941 -8.31285,-1.620308 -8.34284,-6.152444 0.03,-4.349398 4.23051,-6.150681 8.64165,-6.150681 2.88113,0 5.46241,0.449792 8.40246,1.740606 z"
style="display:inline;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.35277775"
id="path180"
inkscape:connector-curvature="0" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 3.4 KiB

View File

Before

Width:  |  Height:  |  Size: 4.1 KiB

After

Width:  |  Height:  |  Size: 4.1 KiB

View File

Before

Width:  |  Height:  |  Size: 3.4 KiB

After

Width:  |  Height:  |  Size: 3.4 KiB

BIN
img/dis-plus-black.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 416 B

53
img/dis-plus-black.svg Normal file
View File

@@ -0,0 +1,53 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Generator: Adobe Illustrator 15.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
version="1.1"
id="Layer_1"
x="0px"
y="0px"
width="57px"
height="58px"
viewBox="0 0 57 58"
enable-background="new 0 0 57 58"
xml:space="preserve"
sodipodi:docname="dis-plus.svg"
inkscape:export-filename="/media/miniretek/ssd/www/designisso/wp-content/themes/dis-2019/img/dis-plus.png"
inkscape:export-xdpi="165.51724"
inkscape:export-ydpi="165.51724"
inkscape:version="0.92.3 (2405546, 2018-03-11)"><metadata
id="metadata9"><rdf:RDF><cc:Work
rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /></cc:Work></rdf:RDF></metadata><defs
id="defs7" /><sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1511"
inkscape:window-height="866"
id="namedview5"
showgrid="false"
inkscape:zoom="4.0689655"
inkscape:cx="-17.639047"
inkscape:cy="33.915254"
inkscape:window-x="173"
inkscape:window-y="235"
inkscape:window-maximized="0"
inkscape:current-layer="Layer_1" />
<polygon
points="34,0 24,0 24,1 24,24 0,24 0,25 0,34 24,34 24,58 33,58 34,58 34,34 56,34 57,34 57,24 34,24 "
id="polygon2"
style="fill:#000000;fill-opacity:1" />
</svg>

After

Width:  |  Height:  |  Size: 1.8 KiB

View File

Before

Width:  |  Height:  |  Size: 455 B

After

Width:  |  Height:  |  Size: 455 B

View File

Before

Width:  |  Height:  |  Size: 1.8 KiB

After

Width:  |  Height:  |  Size: 1.8 KiB

BIN
img/facebook_icon-black.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

View File

@@ -0,0 +1,58 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Generator: Adobe Illustrator 15.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
version="1.1"
id="Layer_1"
x="0px"
y="0px"
width="44.034px"
height="44.082px"
viewBox="0 0 44.034 44.082"
enable-background="new 0 0 44.034 44.082"
xml:space="preserve"
sodipodi:docname="facebook_icon.svg"
inkscape:version="0.92.3 (2405546, 2018-03-11)"><metadata
id="metadata13"><rdf:RDF><cc:Work
rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:title></dc:title></cc:Work></rdf:RDF></metadata><defs
id="defs11" /><sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1368"
inkscape:window-height="1220"
id="namedview9"
showgrid="false"
inkscape:zoom="10.707318"
inkscape:cx="21.943301"
inkscape:cy="16.544497"
inkscape:window-x="0"
inkscape:window-y="27"
inkscape:window-maximized="0"
inkscape:current-layer="Layer_1" />
<g
id="g6"
style="fill:#000000;fill-opacity:1">
<path
d="M36.379,7.678c-3.682-3.674-8.755-5.956-14.362-5.956S11.338,4.004,7.668,7.678c-3.671,3.673-5.949,8.751-5.949,14.364 c0,5.615,2.278,10.693,5.949,14.376c3.67,3.675,8.741,5.944,14.349,5.944s10.681-2.27,14.362-5.944 c3.669-3.684,5.937-8.762,5.937-14.376C42.315,16.429,40.048,11.351,36.379,7.678 M22.017,0C28.1,0,33.598,2.467,37.585,6.456 c3.987,3.994,6.449,9.498,6.449,15.586c0,6.09-2.462,11.595-6.449,15.586c-3.988,3.991-9.485,6.454-15.569,6.454 c-6.082,0-11.581-2.462-15.569-6.454C2.462,33.637,0,28.132,0,22.042C0,15.954,2.462,10.45,6.448,6.456 C10.436,2.467,15.935,0,22.017,0"
id="path2"
style="fill:#000000;fill-opacity:1" />
<path
d="M23.699,17.539v-1.806c0-0.866,0.574-1.073,0.989-1.073h2.523v-3.857h-3.475c-3.865,0-4.731,2.855-4.731,4.711v2.026 h-2.242v2.722v1.781h2.267v11.253h4.5V22.042h3.326l0.147-1.768l0.268-2.735H23.699z"
id="path4"
style="fill:#000000;fill-opacity:1" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 2.5 KiB

View File

Before

Width:  |  Height:  |  Size: 2.0 KiB

After

Width:  |  Height:  |  Size: 2.0 KiB

View File

Before

Width:  |  Height:  |  Size: 2.5 KiB

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

View File

@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<browserconfig>
<msapplication>
<tile>
<square150x150logo src="/mstile-150x150.png?v=m2R26gv6zM"/>
<TileColor>#ffffff</TileColor>
</tile>
</msapplication>
</browserconfig>

BIN
img/icons/favicon-16x16.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 693 B

BIN
img/icons/favicon-32x32.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.3 KiB

After

Width:  |  Height:  |  Size: 15 KiB

8
img/icons/html_code.html Normal file
View File

@@ -0,0 +1,8 @@
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png?v=m2R26gv6zM">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png?v=m2R26gv6zM">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png?v=m2R26gv6zM">
<link rel="manifest" href="/site.webmanifest?v=m2R26gv6zM">
<link rel="mask-icon" href="/safari-pinned-tab.svg?v=m2R26gv6zM" color="#000000">
<link rel="shortcut icon" href="/favicon.ico?v=m2R26gv6zM">
<meta name="msapplication-TileColor" content="#ffffff">
<meta name="theme-color" content="#ffffff">

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

View File

@@ -0,0 +1 @@
<svg version="1" xmlns="http://www.w3.org/2000/svg" width="981.333" height="981.333" viewBox="0 0 736.000000 736.000000"><path d="M0 161.5v157.6l80.8-.4c44.4-.2 82.5-.7 84.7-1 2.2-.4 6-1 8.5-1.3 2.5-.4 5-.8 5.5-1 .6-.1 2.1-.4 3.5-.7 6.4-1.3 16.1-4 22.2-6.3 3.7-1.4 7-2.6 7.2-2.6 1.2 0 20.2-10.1 24.3-12.8 2.4-1.7 4.7-3 5-3 1.7 0 20.1-16.1 26.5-23.2 4-4.4 8.1-8.9 9.1-9.9.9-1 1.7-2.2 1.7-2.7 0-.4 1.2-2.1 2.6-3.7 1.4-1.7 3-3.9 3.5-5 1-2.2 3.1-5.7 3.9-6.5 1.5-1.4 11.7-24.3 12.5-28 .1-.8 1-4 1.9-7 .8-3 1.8-6.7 2.1-8.2 1.1-6 1.4-7.5 2.1-12.3 1.1-6.6 1.1-39.5.1-46.4-.9-5.4-1.1-6.7-2.4-13.1-.9-4.6-1-4.9-1.3-5.5-.1-.3-.3-.8-.4-1.3-.2-.4-1.1-3.4-2.1-6.7-1-3.3-1.8-6.3-1.7-6.8.1-.4-.2-.7-.8-.7-.6 0-.9-.3-.8-.8.6-3.1-14.5-30.2-20.7-36.8-.5-.6-2.8-3.3-4.9-6-5.5-6.8-18-17.7-28.9-25.2-5.1-3.5-9.9-6.6-10.7-7-.8-.3-1.7-.8-2-1.2-.8-1-15.1-7.7-22-10.4-6.1-2.3-18.4-5.9-24-7-1.4-.3-3.4-.7-4.5-.9-1.2-.3-4.8-.8-8-1.2-3.3-.4-7.1-.9-8.5-1.2-1.4-.4-38.8-.8-83.2-1L0 3.8v157.7zm155-87.1c10.7 1.5 30 7.6 30.8 9.8.2.4 1.2.8 2.2.8 1 0 2 .3 2.2.7.2.5 2.2 2 4.5 3.5 7 4.6 16.3 13.9 21.5 21.6 4.6 6.8 10.2 18.6 11.3 23.6.2 1.2.6 3.2.9 4.6 2.1 9.4 2.8 27.5 1.5 36-1.4 8.8-2 11.5-3.1 15-.7 1.9-1.2 3.7-1.3 4 0 .3-1.1 3.2-2.5 6.5-6.5 16.2-19.4 30.2-35.5 38.7-7.1 3.7-17.7 7.5-23.1 8.3-1.6.2-4 .6-5.4.9-6 1.4-18.7 1.9-50.2 2l-33.8.2-.1-3.1c-.1-3.9-.1-170.4 0-172.8.1-1.8 1.6-1.9 37.9-1.4 20.7.3 39.7.8 42.2 1.1zM389.5 295.6C229.5 456.6 205 481.3 205 481.9c0 .3 6.6 6.9 14.6 14.6 8 7.7 19.3 18.6 25.1 24.3 5.8 5.6 10.8 10.2 11.1 10.2.4 0 27.2-26.7 59.7-59.4 84.6-85.2 214.9-216.5 215.4-217.1.3-.3-3.8-4.6-9-9.6s-16.5-16-25.2-24.5-16.1-15.4-16.5-15.4c-.4 0-41.2 40.8-90.7 90.6zM582 408c0 .3-2.1.5-4.8.6-4.7 0-14.5 1-19.2 1.9-1.4.3-4.7.9-7.5 1.5-2.7.6-5.9 1.2-7 1.4-1.1.2-5.5 1.6-9.8 3-4.3 1.4-8.2 2.6-8.7 2.6-1.9 0-19.6 9.2-26.1 13.6-13.5 9.1-24.8 22.3-30.8 35.9-5 11.2-6.8 21.4-6.6 36.2.2 7.6.5 14.8.9 16 .3 1.3.8 3.3 1.1 4.5 6.2 28.4 30.9 50.6 69.5 62.3.3.1 1.2.4 2 .8 3.1 1.2 27.4 6.6 32.7 7.2 1.2.2 3.4.6 5 .9 3.4.7 7.1 1.2 14.3 2.1 22.5 2.7 42.9 7.7 51.7 12.7 6.4 3.6 12 10.2 13.3 15.9 2.4 9.8-1.1 20.9-8.3 26.3-11.2 8.4-22.6 11-47.7 10.9-20.6-.2-31.8-1.5-51-5.9-5.8-1.4-11.2-2.6-12-2.8-1.8-.3-15.7-4.5-18.5-5.6-1.1-.4-3.1-1.2-4.5-1.8-1.4-.5-6.8-2.7-12-4.7-5.2-2.1-12.1-5.1-15.2-6.7-3.2-1.5-6.1-2.8-6.5-2.8-.5 0-1.5 1.5-2.2 3.2-.8 1.8-4.2 8.9-7.5 15.8s-6 12.7-6.1 13c-.1.6-8 17.3-10.5 22.3-1.1 2.2-2 4.5-2 5.3 0 .8-.4 1.4-1 1.4-.5 0-1 .8-1 1.7 0 1.9 2.4 3.1 25.5 13.4 5.5 2.4 30.9 10.9 34 11.3 1.1.2 3.8.8 6 1.4 2.2.6 5.4 1.4 7 1.6 1.7.3 4.1.8 5.5 1.1 1.4.3 3.9.7 5.5 1 2.8.5 5.2.9 10.8 1.9 1.2.2 4.7.7 7.7 1 3 .4 8.2.9 11.5 1.3 8.6.9 50.8.9 59 0 12.3-1.4 20.4-2.6 22.7-3.3 2.5-.8 6.1-1.5 8.3-1.8 1.1-.2 2.7-.6 3.5-.9.8-.3 5.3-1.7 10-3.2 8.8-2.8 22.7-8.7 27-11.5 11.3-7.4 15.1-10.3 21.1-16.2 10.6-10.5 17-21.5 21.5-36.5 2.2-7.5 2.7-10.9 2.8-22.3.1-16.2-.7-23.2-4-31.8-3.8-10.2-8.8-18.3-16.3-26.2-3-3.2-14.6-12-15.8-12-.7 0-1.3-.3-1.3-.8 0-.9-17.4-9.3-22-10.7-.3-.1-3.9-1.2-8-2.5s-7.9-2.5-8.5-2.7c-.5-.1-2.8-.7-5-1.2s-5.1-1.2-6.5-1.5c-1.4-.4-3.6-.8-5-1.1-1.4-.3-3.5-.7-4.6-.9-1.2-.2-3.9-.7-6-1-2.2-.3-5.2-.9-6.7-1.2-1.6-.3-3.8-.7-5-.9-9.5-1.2-13.3-1.8-20.7-3.1-4.7-.8-11.7-2.2-15.6-3-3.9-.8-7.9-1.7-9-1.9-1-.2-2-.4-2.1-.5-.2-.2-.6-.3-1-.4-8.3-2.2-17.8-6-19.3-7.7-.3-.3-1.2-.8-2.1-1.1-2.6-1-8.6-9-9.7-12.8-2.4-9.1 1.2-20.1 8.6-25.7 5-3.8 14.3-7.4 19.4-7.6 2.1-.1 3.8-.5 3.8-.8 0-.7.1-.7 16-.8 16-.1 19.3.2 34 2.4 1.4.2 5 .7 8 1 3 .4 5.8.9 6.1 1.1.7.4 5.9 1.3 9.4 1.7 1.1.1 2.2.4 2.5.7.3.3 3.9 1.4 8 2.4 7.5 1.8 20.8 5.9 24.5 7.5 6.6 2.9 18.6 7.3 18.9 7 .3-.3 2.1-4.6 6.1-14.4.5-1.1.9-2.2.9-2.5.4-1.3 8.9-22.6 9.4-23.5.4-.6.7-1.2.7-1.5 0-.6 2.2-6.4 3.6-9.5 2.1-4.9 4.9-12.8 4.7-13.1-.4-.3-17.9-7.5-19.3-7.8-.5-.2-1.7-.6-2.5-.9-7.6-3.1-36.3-11.1-44.3-12.2-2.3-.4-6-1-8.2-1.5-2.2-.5-6.5-1.2-9.5-1.6-3-.3-6.8-.8-8.5-1-11.2-1.3-51.5-2.4-51.5-1.4z"/></svg>

After

Width:  |  Height:  |  Size: 3.7 KiB

View File

@@ -0,0 +1,20 @@
{
"name": "DIS",
"short_name": "DIS",
"icons": [
{
"src": "/android-chrome-192x192.png?v=m2R26gv6zM",
"sizes": "192x192",
"type": "image/png"
},
{
"src": "/android-chrome-512x512.png?v=m2R26gv6zM",
"sizes": "512x512",
"type": "image/png"
}
],
"theme_color": "#ffffff",
"background_color": "#ffffff",
"start_url": "http://designisso.com/",
"display": "standalone"
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

View File

@@ -0,0 +1,58 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Generator: Adobe Illustrator 15.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
version="1.1"
id="Layer_1"
x="0px"
y="0px"
width="42.531px"
height="43.102px"
viewBox="0 0 42.531 43.102"
enable-background="new 0 0 42.531 43.102"
xml:space="preserve"
sodipodi:docname="instagram_icon.svg"
inkscape:version="0.92.3 (2405546, 2018-03-11)"><metadata
id="metadata13"><rdf:RDF><cc:Work
rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:title></dc:title></cc:Work></rdf:RDF></metadata><defs
id="defs11" /><sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1503"
inkscape:window-height="1382"
id="namedview9"
showgrid="false"
inkscape:zoom="15.486724"
inkscape:cx="21.988053"
inkscape:cy="18.191441"
inkscape:window-x="0"
inkscape:window-y="27"
inkscape:window-maximized="0"
inkscape:current-layer="Layer_1" />
<g
id="g6"
style="fill:#000000;fill-opacity:1">
<path
d="M7.367,7.451c-3.545,3.604-5.748,8.567-5.748,14.058c0,5.477,2.203,10.453,5.748,14.045 c3.543,3.593,8.441,5.824,13.859,5.824c5.416,0,10.313-2.231,13.869-5.824c3.545-3.592,5.735-8.568,5.735-14.045 c0-5.49-2.19-10.454-5.735-14.058c-3.556-3.592-8.453-5.813-13.869-5.813C15.808,1.639,10.91,3.859,7.367,7.451 M-0.042,21.509 c0-5.954,2.379-11.349,6.23-15.238c3.851-3.902,9.16-6.313,15.037-6.313c5.875,0,11.184,2.41,15.035,6.313 c3.85,3.89,6.229,9.284,6.229,15.238c0,5.943-2.379,11.337-6.229,15.238c-3.852,3.902-9.16,6.313-15.035,6.313 c-5.877,0-11.187-2.41-15.037-6.313C2.337,32.846-0.042,27.452-0.042,21.509"
id="path2"
style="fill:#000000;fill-opacity:1" />
<path
d="M21.226,14.54c-3.793,0-6.877,3.112-6.877,6.969c0,3.842,3.084,6.969,6.877,6.969c3.803,0,6.875-3.127,6.875-6.969 C28.101,17.652,25.029,14.54,21.226,14.54 M13.419,14.67c0,0.621,0.493,1.123,1.105,1.123c0.613,0,1.107-0.502,1.107-1.123 c0-0.621-0.494-1.121-1.107-1.121C13.913,13.549,13.419,14.049,13.419,14.67 M11.829,27.201V15.805c0-2.112,1.696-3.83,3.78-3.83 h11.244c2.084,0,3.781,1.718,3.781,3.83v11.396c0,2.111-1.697,3.83-3.781,3.83H15.609C13.525,31.031,11.829,29.313,11.829,27.201 M10.57,15.805v11.396c0,2.804,2.259,5.106,5.039,5.106h11.244c2.767,0,5.039-2.303,5.039-5.106V15.805 c0-2.817-2.272-5.107-5.039-5.107H15.609C12.829,10.697,10.57,12.987,10.57,15.805 M21.226,27.021 c-3.004,0-5.453-2.469-5.453-5.513c0-3.055,2.449-5.525,5.453-5.525c3.014,0,5.451,2.471,5.451,5.525 C26.677,24.553,24.24,27.021,21.226,27.021"
id="path4"
style="fill:#000000;fill-opacity:1" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 3.2 KiB

View File

Before

Width:  |  Height:  |  Size: 3.6 KiB

After

Width:  |  Height:  |  Size: 3.6 KiB

View File

Before

Width:  |  Height:  |  Size: 3.2 KiB

After

Width:  |  Height:  |  Size: 3.2 KiB

BIN
img/kereso_icon-black.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 995 B

58
img/kereso_icon-black.svg Normal file
View File

@@ -0,0 +1,58 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Generator: Adobe Illustrator 15.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
version="1.1"
id="Layer_1"
x="0px"
y="0px"
width="45.332px"
height="44.654px"
viewBox="0 0 45.332 44.654"
enable-background="new 0 0 45.332 44.654"
xml:space="preserve"
sodipodi:docname="kereso_icon.svg"
inkscape:version="0.92.3 (2405546, 2018-03-11)"><metadata
id="metadata13"><rdf:RDF><cc:Work
rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:title /></cc:Work></rdf:RDF></metadata><defs
id="defs11" /><sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1612"
inkscape:window-height="1280"
id="namedview9"
showgrid="false"
inkscape:zoom="5.2850809"
inkscape:cx="1.0958477"
inkscape:cy="19.678033"
inkscape:window-x="0"
inkscape:window-y="27"
inkscape:window-maximized="0"
inkscape:current-layer="Layer_1" />
<g
id="g4"
style="fill:#000000;fill-opacity:1">
<path
d="M18.548,5.871h-0.5v0.667v3v0.333h0.5c6.882,0,11.5,6.027,11.5,11.5v0.5h0.505h3h0.495v-0.5 C34.048,13.203,26.808,5.871,18.548,5.871z"
id="path2"
style="fill:#000000;fill-opacity:1" />
</g>
<path
d="M37.758,28.773c1.285-2.702,2.065-5.868,2.065-8.839c0-5.322-2.071-10.328-5.832-14.095C30.228,2.074,25.228,0,19.912,0 C14.595,0,9.595,2.074,5.831,5.839C2.071,9.606,0,14.612,0,19.934c0,5.324,2.071,10.33,5.831,14.096 c3.761,3.764,8.762,5.837,14.081,5.837c3.382,0,6.729-0.871,9.678-2.518l0.083-0.046l7.352,7.352l8.308-8.308L37.758,28.773z M29.913,35.069c-0.577,0.388-1.136,0.717-1.705,1.002l-0.081,0.041l-0.007-0.007c-2.563,1.305-5.325,1.967-8.208,1.967 c-4.842,0-9.39-1.884-12.807-5.305c-3.424-3.436-5.31-7.993-5.31-12.832c0-4.841,1.886-9.395,5.31-12.82 c3.424-3.428,7.973-5.316,12.807-5.316c4.831,0,9.383,1.888,12.818,5.316c3.417,3.419,5.299,7.973,5.299,12.82 c0,2.483-0.63,5.195-1.62,7.49l-0.004-0.004c-0.192,0.391-0.482,0.945-0.875,1.6l7.327,7.327l-5.833,5.833L29.913,35.069z"
id="path6"
style="fill:#000000;fill-opacity:1" />
</svg>

After

Width:  |  Height:  |  Size: 2.6 KiB

BIN
img/kereso_icon-white.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

View File

@@ -22,7 +22,7 @@
inkscape:version="0.92.3 (2405546, 2018-03-11)"><metadata
id="metadata13"><rdf:RDF><cc:Work
rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:title></dc:title></cc:Work></rdf:RDF></metadata><defs
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:title /></cc:Work></rdf:RDF></metadata><defs
id="defs11" /><sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
@@ -37,8 +37,8 @@
id="namedview9"
showgrid="false"
inkscape:zoom="5.2850809"
inkscape:cx="22.666"
inkscape:cy="45.032423"
inkscape:cx="1.0958477"
inkscape:cy="19.678033"
inkscape:window-x="0"
inkscape:window-y="27"
inkscape:window-maximized="0"

Before

Width:  |  Height:  |  Size: 2.6 KiB

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 493 B

BIN
img/naptar_icon-black.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

81
img/naptar_icon-black.svg Normal file
View File

@@ -0,0 +1,81 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Generator: Adobe Illustrator 15.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
version="1.1"
id="Layer_1"
x="0px"
y="0px"
width="38px"
height="43px"
viewBox="0 0 38 43"
enable-background="new 0 0 38 43"
xml:space="preserve"
sodipodi:docname="naptar_icon.svg"
inkscape:version="0.92.3 (2405546, 2018-03-11)"><metadata
id="metadata23"><rdf:RDF><cc:Work
rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:title></dc:title></cc:Work></rdf:RDF></metadata><defs
id="defs21" /><sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1699"
inkscape:window-height="1334"
id="namedview19"
showgrid="false"
inkscape:zoom="5.4883721"
inkscape:cx="24.466102"
inkscape:cy="-40.631356"
inkscape:window-x="0"
inkscape:window-y="27"
inkscape:window-maximized="0"
inkscape:current-layer="Layer_1" />
<g
id="g16"
style="fill:#000000;fill-opacity:1">
<path
d="M32.24,3H32V0h-2v3H8V0H6v3H5.401C2.322,3,0,5.184,0,8.372v28.893C0,40.451,2.322,43,5.401,43H32.24 c3.176,0,5.76-2.654,5.76-5.735V8.372C38,5.289,35.416,3,32.24,3z M5.401,5H6v1h2V5h22v1h2V5h0.24C34.394,5,36,6.311,36,8.372V11H2 V8.372C2,6.206,3.346,5,5.401,5z M32.24,41H5.401C3.346,41,2,39.429,2,37.265V13h34v24.265C36,39.324,34.394,41,32.24,41z"
id="path2"
style="fill:#000000;fill-opacity:1" />
<path
d="M4,27h7v-7H4V27z M5,22.007V21h5v5H9.379H5V22.007z"
id="path4"
style="fill:#000000;fill-opacity:1" />
<rect
x="4.458"
y="31"
width="6"
height="6"
id="rect6"
style="fill:#000000;fill-opacity:1" />
<path
d="M15.5,27h7v-7h-7V27z M16.5,22.007V21h5v5h-1.336H16.5V22.007z"
id="path8"
style="fill:#000000;fill-opacity:1" />
<path
d="M15.5,38h7v-7h-7V38z M16.5,32.669V32h5v5h-1.336H16.5V32.669z"
id="path10"
style="fill:#000000;fill-opacity:1" />
<path
d="M27,27h7v-7h-7V27z M28,22.007V21h5v5h-1.052H28V22.007z"
id="path12"
style="fill:#000000;fill-opacity:1" />
<path
d="M27,38h7v-7h-7V38z M28,32.669V32h5v5h-1.052H28V32.669z"
id="path14"
style="fill:#000000;fill-opacity:1" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 2.7 KiB

View File

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

View File

Before

Width:  |  Height:  |  Size: 2.7 KiB

After

Width:  |  Height:  |  Size: 2.7 KiB

83
img/solid_arrow_left.svg Normal file
View File

@@ -0,0 +1,83 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="32"
height="32"
viewBox="0 0 32 32"
version="1.1"
id="svg11"
sodipodi:docname="solid_arrow_left.svg"
inkscape:version="0.92.3 (2405546, 2018-03-11)">
<metadata
id="metadata15">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1331"
inkscape:window-height="905"
id="namedview13"
showgrid="false"
inkscape:zoom="7.375"
inkscape:cx="0.40677966"
inkscape:cy="16"
inkscape:window-x="1119"
inkscape:window-y="277"
inkscape:window-maximized="0"
inkscape:current-layer="svg11" />
<defs
id="defs5">
<clipPath
id="clip-custom_1">
<rect
width="32"
height="32"
id="rect2" />
</clipPath>
</defs>
<g
id="custom_1"
data-name="custom 1"
clip-path="url(#clip-custom_1)"
transform="matrix(-1,0,0,1,31.808433,0)">
<g
id="Group_1"
data-name="Group 1">
<path
id="Path_1"
data-name="Path 1"
d="M 0,0 V 18.431 H 18.467"
transform="rotate(-135,12.691681,11.630571)"
inkscape:connector-curvature="0"
style="fill:none;stroke:#000000;stroke-width:7" />
<path
id="Path_2"
data-name="Path 2"
d="M 26.525,16 H 4.733"
transform="translate(-4.349)"
inkscape:connector-curvature="0"
style="fill:none;stroke:#000000;stroke-width:7" />
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 2.3 KiB

13
img/solid_arrow_right.svg Normal file
View File

@@ -0,0 +1,13 @@
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="32" height="32" viewBox="0 0 32 32">
<defs>
<clipPath id="clip-custom_1">
<rect width="32" height="32"/>
</clipPath>
</defs>
<g id="custom_1" data-name="custom 1" clip-path="url(#clip-custom_1)">
<g id="Group_1" data-name="Group 1">
<path id="Path_1" data-name="Path 1" d="M0,0V18.431H18.467" transform="translate(13.442 28.829) rotate(-135)" fill="none" stroke="#000" stroke-width="7"/>
<path id="Path_2" data-name="Path 2" d="M26.525,16H4.733" transform="translate(-4.349)" fill="none" stroke="#000" stroke-width="7"/>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 687 B

12
js/lib/clamp.min.js vendored Normal file
View File

@@ -0,0 +1,12 @@
/*!
* Clamp.js 0.5.1
*
* Copyright 2011-2013, Joseph Schmitt http://joe.sh
* Released under the WTFPL license
* http://sam.zoy.org/wtfpl/
*/
(function(){window.$clamp=function(c,d){function s(a,b){n.getComputedStyle||(n.getComputedStyle=function(a,b){this.el=a;this.getPropertyValue=function(b){var c=/(\-([a-z]){1})/g;"float"==b&&(b="styleFloat");c.test(b)&&(b=b.replace(c,function(a,b,c){return c.toUpperCase()}));return a.currentStyle&&a.currentStyle[b]?a.currentStyle[b]:null};return this});return n.getComputedStyle(a,null).getPropertyValue(b)}function t(a){a=a||c.clientHeight;var b=u(c);return Math.max(Math.floor(a/b),0)}function x(a){return u(c)*
a}function u(a){var b=s(a,"line-height");"normal"==b&&(b=1.2*parseInt(s(a,"font-size")));return parseInt(b)}function l(a){if(a.lastChild.children&&0<a.lastChild.children.length)return l(Array.prototype.slice.call(a.children).pop());if(a.lastChild&&a.lastChild.nodeValue&&""!=a.lastChild.nodeValue&&a.lastChild.nodeValue!=b.truncationChar)return a.lastChild;a.lastChild.parentNode.removeChild(a.lastChild);return l(c)}function p(a,d){if(d){var e=a.nodeValue.replace(b.truncationChar,"");f||(h=0<k.length?
k.shift():"",f=e.split(h));1<f.length?(q=f.pop(),r(a,f.join(h))):f=null;m&&(a.nodeValue=a.nodeValue.replace(b.truncationChar,""),c.innerHTML=a.nodeValue+" "+m.innerHTML+b.truncationChar);if(f){if(c.clientHeight<=d)if(0<=k.length&&""!=h)r(a,f.join(h)+h+q),f=null;else return c.innerHTML}else""==h&&(r(a,""),a=l(c),k=b.splitOnChars.slice(0),h=k[0],q=f=null);if(b.animate)setTimeout(function(){p(a,d)},!0===b.animate?10:b.animate);else return p(a,d)}}function r(a,c){a.nodeValue=c+b.truncationChar}d=d||{};
var n=window,b={clamp:d.clamp||2,useNativeClamp:"undefined"!=typeof d.useNativeClamp?d.useNativeClamp:!0,splitOnChars:d.splitOnChars||[".","-","\u2013","\u2014"," "],animate:d.animate||!1,truncationChar:d.truncationChar||"\u2026",truncationHTML:d.truncationHTML},e=c.style,y=c.innerHTML,z="undefined"!=typeof c.style.webkitLineClamp,g=b.clamp,v=g.indexOf&&(-1<g.indexOf("px")||-1<g.indexOf("em")),m;b.truncationHTML&&(m=document.createElement("span"),m.innerHTML=b.truncationHTML);var k=b.splitOnChars.slice(0),
h=k[0],f,q;"auto"==g?g=t():v&&(g=t(parseInt(g)));var w;z&&b.useNativeClamp?(e.overflow="hidden",e.textOverflow="ellipsis",e.webkitBoxOrient="vertical",e.display="-webkit-box",e.webkitLineClamp=g,v&&(e.height=b.clamp+"px")):(e=x(g),e<=c.clientHeight&&(w=p(l(c),e)));return{original:y,clamped:w}}})();

1
js/lib/ftellipsis.min.js vendored Normal file
View File

@@ -0,0 +1 @@
(function(){"use strict";function t(t,e){t&&(this.el=t,this.container=e&&e.container,this.reRender=e&&e.reRender)}function e(e){e.style.display="none",t.r=e.offsetTop,e.style.display=""}function i(t,e){if(t)for(var i=e&&e.display,n=t.parentNode.children,l=a.call(n,t),o=l+1,s=n.length;s>o;o++)n[o].style.display=i}function n(t,e){var i=t.getClientRects(),n=0;return p(i,function(t){n+=l(t.height,e)}),n}function l(t,e){return Math.floor(t/e)}function o(){var t=document.createElement("test"),e={},i={Webkit:["WebkitColumnCount","WebkitColumnGap"],Moz:["MozColumnCount","MozColumnGap"],ms:["msColumnCount","msColumnGap"],"":["columnCount","columnGap"]};for(var n in i)i[n][0]in t.style&&(e.columnCount=i[n][0],e.columnGap=i[n][1],e[n.toLowerCase()]=!0);return e}function s(t){return parseInt(t[y.columnCount],10)||1}function h(t){return parseInt(t[y.columnGap],10)||0}function r(t){var e=parseInt(t.lineHeight,10);if(!e)throw Error(f[0]);return e}function u(t){return[t.offsetWidth,t.offsetHeight]}function p(t,e){for(var i=0,n=t.length;n>i&&!e(t[i]);i++);}var a=Array.prototype.indexOf,c=window.getComputedStyle,d="ellipsis-overflowing-child",m="ellipsis-set",f=["The ellipsis container must have line-height set on it"],y=o();t.prototype.calc=function(){if(!this.el)return this;var t=c(this.el),e=u(this.el);return this.columnHeight=e[1],this.columnCount=s(t),this.columnGap=h(t),this.columnWidth=e[0]/this.columnCount,this.lineHeight=r(t),this.deltaHeight=e[1]%this.lineHeight,this.linesPerColumn=Math.floor(this.columnHeight/this.lineHeight),this.totalLines=this.linesPerColumn*this.columnCount,!this.deltaHeight&&this.columnCount>1&&(this.el.style.height=this.columnHeight+"px"),this.child=this.getOverflowingChild(),this},t.prototype.set=function(){return this.el&&this.child?(this.clampChild(),i(this.child.el,{display:"none"}),this.markContainer(),this):this},t.prototype.unset=function(){return this.el&&this.child?(this.el.style.height="",this.unclampChild(this.child),i(this.child.el,{display:""}),this.unmarkContainer(),this.child=null,this):this},t.prototype.destroy=function(){return this.el=this.child=this.container=null,this},t.prototype.getOverflowingChild=function(){var t=this,e={},i=0;return p(this.el.children,function(n){var l,o,s,h=Math.floor(i/t.linesPerColumn)||0;return i+=l=t.getLineCount(n),i>=t.totalLines?(o=i-t.totalLines,s=l-o,e.el=n,e.clampedLines=s,e.clampedHeight=e.clampedLines*t.lineHeight,e.visibleColumnSpan=t.columnCount-h,e.gutterSpan=e.visibleColumnSpan-1,e.applyTopMargin=t.shouldApplyTopMargin(e),y.webkit&&e.clampedLines>1&&(e.clampedHeight+=e.gutterSpan*t.deltaHeight),e):void 0}),e},t.prototype.getLineCount=function(t){return t.offsetWidth>this.columnWidth?n(t,this.lineHeight):l(t.clientHeight,this.lineHeight)},t.prototype.markContainer=function(){this.container&&(this.container.classList.add(m),this.reRender&&e(this.container))},t.prototype.unmarkContainer=function(){this.container&&(this.container.classList.remove(m),this.reRender&&e(this.container))},t.prototype.shouldApplyTopMargin=function(t){var e=t.el;if(y.webkit&&1!==this.columnCount&&!(3>=this.deltaHeight)&&e.previousElementSibling)return 0===e.offsetTop||e.offsetTop===this.columnHeight},t.prototype.clampChild=function(){var t=this.child;t&&t.el&&(t.el.style.height=t.clampedHeight+"px",y.webkit&&(t.el.style.webkitLineClamp=t.clampedLines,t.el.style.display="-webkit-box",t.el.style.webkitBoxOrient="vertical"),this.shouldHideOverflow()&&(t.el.style.overflow="hidden"),t.applyTopMargin&&(t.el.style.marginTop="2em"),t.el.classList.add(d),y.webkit||(t.el.style.position="relative",t.helper=t.el.appendChild(this.helperElement())))},t.prototype.unclampChild=function(t){t&&t.el&&(t.el.style.display="",t.el.style.height="",t.el.style.webkitLineClamp="",t.el.style.webkitBoxOrient="",t.el.style.marginTop="",t.el.style.overflow="",t.el.classList.remove(d),t.helper&&t.helper.parentNode.removeChild(t.helper))},t.prototype.helperElement=function(){var t,e,i=document.createElement("span"),n=this.child.visibleColumnSpan-1;return i.className="ellipsis-helper",i.style.display="block",i.style.height=this.lineHeight+"px",i.style.width="5em",i.style.position="absolute",i.style.bottom=0,i.style.right=0,y.moz&&n&&(t=-(100*n),e=-(n*this.columnGap),i.style.right=t+"%",i.style.marginRight=e+"px",i.style.marginBottom=this.deltaHeight+"px"),i},t.prototype.shouldHideOverflow=function(){var t=this.columnCount>1;return this.columnHeight<this.lineHeight?!0:!t},"object"==typeof exports?(module.exports=function(e,i){return new t(e,i)},module.exports.Ellipsis=t):"function"==typeof define&&define.amd?define(function(){return t}):window.Ellipsis=t})();

6
js/lib/jquery.colorbox-min.js vendored Normal file

File diff suppressed because one or more lines are too long

43
js/lib/jquery.fittext.js Normal file
View File

@@ -0,0 +1,43 @@
/*global jQuery */
/*!
* FitText.js 1.2
*
* Copyright 2011, Dave Rupert http://daverupert.com
* Released under the WTFPL license
* http://sam.zoy.org/wtfpl/
*
* Date: Thu May 05 14:23:00 2011 -0600
*/
(function( $ ){
$.fn.fitText = function( kompressor, options ) {
// Setup options
var compressor = kompressor || 1,
settings = $.extend({
'minFontSize' : Number.NEGATIVE_INFINITY,
'maxFontSize' : Number.POSITIVE_INFINITY
}, options);
return this.each(function(){
// Store the object
var $this = $(this);
// Resizer() resizes items based on the object width divided by the compressor * 10
var resizer = function () {
$this.css('font-size', Math.max(Math.min($this.width() / (compressor*10), parseFloat(settings.maxFontSize)), parseFloat(settings.minFontSize)));
};
// Call once to set.
resizer();
// Call on resize. Opera debounces their resize by default.
$(window).on('resize.fittext orientationchange.fittext', resizer);
});
};
})( jQuery );

16
js/lib/jquery.touchSwipe.min.js vendored Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

View File

@@ -1,198 +1,251 @@
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: dis-2019 WordPress Theme\n"
"POT-Creation-Date: 2013-09-18 00:26+0100\n"
"POT-Creation-Date: 2019-09-02 21:23+0200\n"
"PO-Revision-Date: \n"
"Last-Translator: Jürgen Rabe | www.egado.de <rabe@egado.de>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Poedit 1.5.5\n"
"X-Generator: Poedit 2.0.6\n"
"X-Poedit-SourceCharset: UTF-8\n"
"X-Poedit-KeywordsList: _e;__\n"
"X-Poedit-Basepath: .\n"
"X-Poedit-SearchPath-0: .\n"
"X-Poedit-SearchPath-1: ..\n"
"X-Poedit-SearchPathExcluded-0: ../node_modules\n"
#: ../404.php:9
#: ../404.php:10
msgid "Page not found"
msgstr ""
#: ../404.php:11
msgid "Return home?"
#: ../404.php:13 ../singular.php:124
msgid "Back to home:"
msgstr ""
#: ../archive.php:6
msgid "Archives"
msgstr ""
#: ../author.php:8
msgid "Author Archives for "
msgstr ""
#: ../author.php:14
msgid "About "
msgstr ""
#: ../author.php:41 ../loop.php:22 ../single.php:27
msgid "Published by"
msgstr ""
#: ../author.php:42 ../loop.php:23 ../single.php:28
msgid "Leave your thoughts"
msgstr ""
#: ../author.php:42 ../loop.php:23 ../single.php:28
msgid "1 Comment"
msgstr ""
#: ../author.php:42 ../loop.php:23 ../single.php:28
msgid "% Comments"
msgstr ""
#: ../author.php:61 ../loop.php:39 ../page.php:31 ../single.php:53
#: ../template-demo.php:31
#: ../category-esemeny.php:78 ../loop.php:24 ../singular.php:145
msgid "Sorry, nothing to display."
msgstr ""
#: ../category.php:6
msgid "Categories for"
#: ../customizer.php:16
msgid "Event category id"
msgstr ""
#: ../comments.php:3
msgid "Post is password protected. Enter the password to view any comments."
#: ../customizer.php:18
msgid "This category will be hidden from the start page."
msgstr ""
#: ../comments.php:18
msgid "Comments are closed here."
#: ../customizer.php:27
msgid "Event category slug"
msgstr ""
#: ../footer.php:6
msgid "Powered by"
#: ../customizer.php:29
msgid "This category will be hidden from the start page. Write category slug here"
msgstr ""
#: ../functions.php:133
msgid "Header Menu"
#: ../customizer.php:37
msgid "Number of posts on homepage"
msgstr ""
#: ../functions.php:134
msgid "Sidebar Menu"
#: ../customizer.php:39
msgid "Use 6*n+2 numbers, e.g. 8, 14, 20, 26..."
msgstr ""
#: ../functions.php:135
msgid "Extra Menu"
#: ../customizer.php:48
msgid "Number of posts on tag archives"
msgstr ""
#: ../functions.php:181
msgid "Widget Area 1"
#: ../customizer.php:50
msgid "Be, do, think, love pages. Use 6*n-2 numbers, e.g. 4, 10, 16, 22... "
msgstr ""
#: ../functions.php:182 ../functions.php:193
msgid "Description for this widget-area..."
#: ../customizer.php:59
msgid "Number of posts on search results and archive pages"
msgstr ""
#: ../functions.php:192
msgid "Widget Area 2"
#: ../customizer.php:61
msgid "Search results and archive non tag pages. Use 6*n-1 numbers, e.g. 5, 11, 17, 23... "
msgstr ""
#: ../functions.php:258
#: ../customizer.php:70
msgid "Number of related articles"
msgstr ""
#: ../customizer.php:72
msgid "Same value applies to mobile and desktop. Use any integer"
msgstr ""
#: ../functions.php:182
msgid "Main menu left"
msgstr ""
#: ../functions.php:183
msgid "Main menu right"
msgstr ""
#: ../functions.php:185
msgid "Circular tags"
msgstr ""
#: ../functions.php:311
msgid "View Article"
msgstr ""
#: ../functions.php:319
#: ../functions.php:382
#, php-format
msgid "<cite class=\"fn\">%s</cite> <span class=\"says\">says:</span>"
msgstr ""
#: ../functions.php:322
#: ../functions.php:385
msgid "Your comment is awaiting moderation."
msgstr ""
#: ../functions.php:328
#: ../functions.php:391
#, php-format
msgid "%1$s at %2$s"
msgstr ""
#: ../functions.php:328
#: ../functions.php:391
msgid "(Edit)"
msgstr ""
#: ../functions.php:411 ../functions.php:412
msgid "dis-2019 Custom Post"
#: ../functions.php:701
msgid "Search Formats"
msgstr ""
#: ../functions.php:413
msgid "Add New"
#: ../functions.php:702
msgid "All Formats"
msgstr ""
#: ../functions.php:414
msgid "Add New dis-2019 Custom Post"
#: ../functions.php:703
msgid "Parent Format"
msgstr ""
#: ../functions.php:415
msgid "Edit"
#: ../functions.php:704
msgid "Parent Format:"
msgstr ""
#: ../functions.php:416
msgid "Edit dis-2019 Custom Post"
#: ../functions.php:705
msgid "Edit Format"
msgstr ""
#: ../functions.php:417
msgid "New dis-2019 Custom Post"
#: ../functions.php:706
msgid "Update Format"
msgstr ""
#: ../functions.php:418 ../functions.php:419
msgid "View dis-2019 Custom Post"
#: ../functions.php:707
msgid "Add New Format"
msgstr ""
#: ../functions.php:420
msgid "Search dis-2019 Custom Post"
#: ../functions.php:708
msgid "New Format Name"
msgstr ""
#: ../functions.php:421
msgid "No dis-2019 Custom Posts found"
#: ../functions.php:709
msgid "Formats"
msgstr ""
#: ../functions.php:422
msgid "No dis-2019 Custom Posts found in Trash"
#: ../functions.php:711
msgid "View Formats"
msgstr ""
#: ../index.php:6
msgid "Latest Posts"
#: ../functions.php:712
msgid "Popular Formats"
msgstr ""
#: ../search.php:6
#: ../functions.php:713
msgid "Separate formats with commas"
msgstr ""
#: ../functions.php:714
msgid "Add or remove formats"
msgstr ""
#: ../functions.php:715
msgid "Choose from most used formats"
msgstr ""
#: ../functions.php:716
msgid "No formats found"
msgstr ""
#: ../functions.php:717
msgid "Back to formats"
msgstr ""
#: ../functions.php:738
msgid "Search Writers"
msgstr ""
#: ../functions.php:739
msgid "All Writers"
msgstr ""
#: ../functions.php:740
msgid "Parent Writer"
msgstr ""
#: ../functions.php:741
msgid "Parent Writer:"
msgstr ""
#: ../functions.php:742
msgid "Edit Writer"
msgstr ""
#: ../functions.php:743
msgid "Update Writer"
msgstr ""
#: ../functions.php:744
msgid "Add New Writer"
msgstr ""
#: ../functions.php:745
msgid "New Writer Name"
msgstr ""
#: ../functions.php:746
msgid "Writers"
msgstr ""
#: ../functions.php:748
msgid "View Writers"
msgstr ""
#: ../functions.php:749
msgid "Popular Writers"
msgstr ""
#: ../functions.php:750
msgid "Separate writers with commas"
msgstr ""
#: ../functions.php:751
msgid "Add or remove writers"
msgstr ""
#: ../functions.php:752
msgid "Choose from most used writer"
msgstr ""
#: ../functions.php:753
msgid "No writer found"
msgstr ""
#: ../functions.php:754
msgid "Back to writers"
msgstr ""
#: ../search.php:11
#, php-format
msgid "%s Search Results for "
msgid "%s search results for"
msgstr ""
#: ../searchform.php:3
msgid "To search, type and hit enter."
msgstr ""
#: ../searchform.php:4
msgid "Search"
msgstr ""
#: ../single.php:33
msgid "Tags: "
msgstr ""
#: ../single.php:35
msgid "Categorised in: "
msgstr ""
#: ../single.php:37
msgid "This post was written by "
msgstr ""
#: ../tag.php:6
msgid "Tag Archive: "
msgstr ""
#: ../searchform.php:3
msgid "To search, type and hit enter."
#: ../singular.php:101
msgid "More posts:"
msgstr ""
#~ msgid "%s results for "

View File

@@ -15,6 +15,7 @@ msgstr ""
"X-Poedit-Basepath: .\n"
"X-Poedit-SearchPath-0: .\n"
"X-Poedit-SearchPath-1: ..\n"
"X-Poedit-SearchPathExcluded-0: ../node_modules\n"
#: ../404.php:9
msgid "Page not found"

View File

@@ -16,6 +16,7 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Poedit-SearchPath-0: .\n"
"X-Poedit-SearchPath-1: ..\n"
"X-Poedit-SearchPathExcluded-0: ../node_modules\n"
#: ../404.php:9
msgid "Page not found"

View File

@@ -15,6 +15,7 @@ msgstr ""
"X-Poedit-Basepath: .\n"
"X-Poedit-SearchPath-0: .\n"
"X-Poedit-SearchPath-1: ..\n"
"X-Poedit-SearchPathExcluded-0: ../node_modules\n"
#: ../404.php:9
msgid "Page not found"

View File

@@ -15,6 +15,7 @@ msgstr ""
"X-Poedit-Basepath: .\n"
"X-Poedit-SearchPath-0: .\n"
"X-Poedit-SearchPath-1: ..\n"
"X-Poedit-SearchPathExcluded-0: ../node_modules\n"
#: ../404.php:9
msgid "Page not found"

Binary file not shown.

View File

@@ -1,198 +1,420 @@
msgid ""
msgstr ""
"Project-Id-Version: dis-2019 WordPress Theme\n"
"POT-Creation-Date: 2013-09-18 00:26+0100\n"
"POT-Creation-Date: 2019-09-02 21:23+0200\n"
"PO-Revision-Date: \n"
"Last-Translator: Sallay Arnold <arnold@sallay.info>\n"
"Last-Translator: Péter Gyetvai <gyetpet@mailbox.org>\n"
"Language-Team: \n"
"Language: hu_HU\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Poedit 1.6.5\n"
"X-Generator: Poedit 2.0.6\n"
"X-Poedit-SourceCharset: UTF-8\n"
"X-Poedit-KeywordsList: _e;__\n"
"X-Poedit-Basepath: .\n"
"Language: hu_HU\n"
"X-Poedit-SearchPath-0: .\n"
"X-Poedit-SearchPath-1: ..\n"
"X-Poedit-SearchPathExcluded-0: ../node_modules\n"
#: ../404.php:9
#: ../404.php:10
msgid "Page not found"
msgstr "A keresett oldal nem található"
#: ../404.php:11
msgid "Return home?"
msgstr "Vissza a főoldalra?"
#: ../404.php:13 ../singular.php:124
msgid "Back to home:"
msgstr "Vissza a főoldalra"
#: ../archive.php:6
msgid "Archives"
msgstr "Archívum"
#: ../author.php:8
msgid "Author Archives for "
msgstr "Szerkesztői archívum - "
#: ../author.php:14
msgid "About "
msgstr "Rólunk "
#: ../author.php:41 ../loop.php:22 ../single.php:27
msgid "Published by"
msgstr "Közzétette "
#: ../author.php:42 ../loop.php:23 ../single.php:28
msgid "Leave your thoughts"
msgstr "Hozzászólás"
#: ../author.php:42 ../loop.php:23 ../single.php:28
msgid "1 Comment"
msgstr "1 Hozzászólás"
#: ../author.php:42 ../loop.php:23 ../single.php:28
msgid "% Comments"
msgstr "% Hozzászólás"
#: ../author.php:61 ../loop.php:39 ../page.php:31 ../single.php:53
#: ../template-demo.php:31
#: ../category-esemeny.php:78 ../loop.php:24 ../singular.php:145
msgid "Sorry, nothing to display."
msgstr "Nincs tartalom."
msgstr "Nincs találat"
#: ../category.php:6
msgid "Categories for"
msgstr "Kategória: "
#: ../customizer.php:16
msgid "Event category id"
msgstr "Esemény kategória ID"
#: ../comments.php:3
msgid "Post is password protected. Enter the password to view any comments."
#: ../customizer.php:18
msgid "This category will be hidden from the start page."
msgstr "Ez a kategória el lesz rejtve a kezdőlapról."
#: ../customizer.php:27
msgid "Event category slug"
msgstr "Esemény kategóra keresőbarát név (\"slug\")"
#: ../customizer.php:29
msgid ""
"This category will be hidden from the start page. Write category slug here"
msgstr ""
"A tartalom jelszóval védett. A jelszó megadása után minden hozzászólás "
"látható lesz."
"Ez a kategória el lesz rejtve a kezdőlapról. Írd ide a kategória \"slug\"-ot"
#: ../comments.php:18
msgid "Comments are closed here."
msgstr "Hozzászólás zárolva."
#: ../customizer.php:37
msgid "Number of posts on homepage"
msgstr "Kezdőlapon megjelenő posztok száma"
#: ../footer.php:6
msgid "Powered by"
msgstr "Motor:"
#: ../customizer.php:39
msgid "Use 6*n+2 numbers, e.g. 8, 14, 20, 26..."
msgstr "Használj 6*n+2 számokat, például 8, 14, 20, 26..."
#: ../functions.php:133
msgid "Header Menu"
msgstr "Fejléc Menü"
#: ../customizer.php:48
msgid "Number of posts on tag archives"
msgstr "Címke archívumban megjelenő posztok száma"
#: ../functions.php:134
msgid "Sidebar Menu"
msgstr "Oldalsáv Menü"
#: ../customizer.php:50
msgid "Be, do, think, love pages. Use 6*n-2 numbers, e.g. 4, 10, 16, 22... "
msgstr ""
"Be, do, think, love listák. Használj 6*n-2 számokat, például 4, 10, 16, "
"22... "
#: ../functions.php:135
msgid "Extra Menu"
msgstr "Extra Menü"
#: ../customizer.php:59
msgid "Number of posts on search results and archive pages"
msgstr "Archívumban és keresési találatokban megjelenő posztok száma"
#: ../functions.php:181
msgid "Widget Area 1"
msgstr "Widget rész 1"
#: ../customizer.php:61
msgid ""
"Search results and archive non tag pages. Use 6*n-1 numbers, e.g. 5, 11, 17, "
"23... "
msgstr ""
"Keresési eredmények és nam címke arhív oldalak. Használj 6*n-1 számokat, "
"például 5, 11, 17, 23... "
#: ../functions.php:182 ../functions.php:193
msgid "Description for this widget-area..."
msgstr "A widhet rész leírása..."
#: ../customizer.php:70
msgid "Number of related articles"
msgstr "Hasonló cikkek száma"
#: ../functions.php:192
msgid "Widget Area 2"
msgstr "Widget rész 2"
#: ../customizer.php:72
msgid "Same value applies to mobile and desktop. Use any integer"
msgstr ""
"Ugyanaz az érték érvényes mobilon és asztalin. Használj bármilyen egész "
"számot"
#: ../functions.php:258
#: ../functions.php:182
msgid "Main menu left"
msgstr "Főmenü bal"
#: ../functions.php:183
msgid "Main menu right"
msgstr "Főmenü jobb"
#: ../functions.php:185
msgid "Circular tags"
msgstr "Kör címkék"
#: ../functions.php:311
msgid "View Article"
msgstr "Tartalom Megtekintése"
#: ../functions.php:319
#: ../functions.php:382
#, php-format
msgid "<cite class=\"fn\">%s</cite> <span class=\"says\">says:</span>"
msgstr "<cite class=\"fn\">%s</cite> <span class=\"says\">:</span>"
#: ../functions.php:322
#: ../functions.php:385
msgid "Your comment is awaiting moderation."
msgstr "A hozzászólás moderálásra vár."
#: ../functions.php:328
#: ../functions.php:391
#, php-format
msgid "%1$s at %2$s"
msgstr "%1$s - %2$s"
#: ../functions.php:328
#: ../functions.php:391
msgid "(Edit)"
msgstr "(Szerkesztés)"
#: ../functions.php:411 ../functions.php:412
msgid "dis-2019 Custom Post"
msgstr "dis-2019 Egyedi Tartalom"
#: ../functions.php:701
msgid "Search Formats"
msgstr "Formátumok keresése"
#: ../functions.php:413
msgid "Add New"
msgstr "Új hozzáadása"
#: ../functions.php:702
msgid "All Formats"
msgstr "Minden formátum"
#: ../functions.php:414
msgid "Add New dis-2019 Custom Post"
msgstr "Új egyedi dis-2019 tartalom hozzáadása"
#: ../functions.php:703
msgid "Parent Format"
msgstr "Szülő formátum"
#: ../functions.php:415
msgid "Edit"
msgstr "Szerkesztés"
#: ../functions.php:704
msgid "Parent Format:"
msgstr "Szülő formátum:"
#: ../functions.php:416
msgid "Edit dis-2019 Custom Post"
msgstr "dis-2019 egyedi tartalom szerkesztése"
#: ../functions.php:705
msgid "Edit Format"
msgstr "Formátum szerkesztése"
#: ../functions.php:417
msgid "New dis-2019 Custom Post"
msgstr "Új dis-2019 egyedi tartalom"
#: ../functions.php:706
msgid "Update Format"
msgstr "Formátum frissítése"
#: ../functions.php:418 ../functions.php:419
msgid "View dis-2019 Custom Post"
msgstr "dis-2019 egyedi tartalom megtekintése"
#: ../functions.php:707
msgid "Add New Format"
msgstr "Új formátum hozzáadása"
#: ../functions.php:420
msgid "Search dis-2019 Custom Post"
msgstr "dis-2019 egyedi tartalomak keresése"
#: ../functions.php:708
msgid "New Format Name"
msgstr "Új formátum neve"
#: ../functions.php:421
msgid "No dis-2019 Custom Posts found"
msgstr "Nincs dis-2019 egyedi tartalom"
#: ../functions.php:709
msgid "Formats"
msgstr "Formátumok"
#: ../functions.php:422
msgid "No dis-2019 Custom Posts found in Trash"
msgstr "Nincs dis-2019 egyedi tartalom a kukában"
#: ../functions.php:711
msgid "View Formats"
msgstr "Formátumok megjelenítése"
#: ../index.php:6
msgid "Latest Posts"
msgstr "Legfrissebb bejegyzések"
#: ../functions.php:712
msgid "Popular Formats"
msgstr "Népszerű formátumok"
#: ../search.php:6
#: ../functions.php:713
msgid "Separate formats with commas"
msgstr "Formátumokat vesszővel válaszd el"
#: ../functions.php:714
msgid "Add or remove formats"
msgstr "Formátumok hozzáadása vagy eltávolítása"
#: ../functions.php:715
msgid "Choose from most used formats"
msgstr "Választás a leggyakoribb formátumok közül"
#: ../functions.php:716
msgid "No formats found"
msgstr "Formátum nem található"
#: ../functions.php:717
msgid "Back to formats"
msgstr "Vissza a formátumokhoz"
#: ../functions.php:738
msgid "Search Writers"
msgstr "Cikkírók keresése"
#: ../functions.php:739
msgid "All Writers"
msgstr "Minden cikkíró"
#: ../functions.php:740
msgid "Parent Writer"
msgstr "Szülő cikkíró"
#: ../functions.php:741
msgid "Parent Writer:"
msgstr "Szülő cikkíró:"
#: ../functions.php:742
msgid "Edit Writer"
msgstr "Cikkíró szerkesztése"
#: ../functions.php:743
msgid "Update Writer"
msgstr "Cikkíró frissítése"
#: ../functions.php:744
msgid "Add New Writer"
msgstr "Új cikkíró hozzáadása"
#: ../functions.php:745
msgid "New Writer Name"
msgstr "Új cikkíró neve"
#: ../functions.php:746
msgid "Writers"
msgstr "Cikkírók"
#: ../functions.php:748
msgid "View Writers"
msgstr "Cikkírók Megtekintése"
#: ../functions.php:749
msgid "Popular Writers"
msgstr "Népszerű cikkírók"
#: ../functions.php:750
msgid "Separate writers with commas"
msgstr "Cikkírókat vesszővel válaszd el"
#: ../functions.php:751
msgid "Add or remove writers"
msgstr "Cikkírók hozzáadása vagy eltávolítása"
#: ../functions.php:752
msgid "Choose from most used writer"
msgstr "Választás a leggyakoribb cikkírók közül"
#: ../functions.php:753
msgid "No writer found"
msgstr "Cikkíró nem található"
#: ../functions.php:754
msgid "Back to writers"
msgstr "Vissza a cikkírókhoz"
#: ../search.php:11
#, php-format
msgid "%s Search Results for "
msgstr "%s Találatok "
msgid "%s search results for"
msgstr "%s találat"
#: ../searchform.php:3
msgid "To search, type and hit enter."
msgstr "Keresési feltétel, majd [Enter]."
#: ../singular.php:101
msgid "More posts:"
msgstr "További cikkeink:"
#: ../searchform.php:4
msgid "Search"
msgstr "Keresés"
#~ msgid "Return home?"
#~ msgstr "Vissza a főoldalra?"
#: ../single.php:33
msgid "Tags: "
msgstr "Címkék: "
#~ msgid "Not enough arguments following: %s"
#~ msgstr "Hiányzó paraméterek a következő után: %s"
#: ../single.php:35
msgid "Categorised in: "
msgstr "Kategória: "
#~ msgid "Invalid JSON config file: %s"
#~ msgstr "Érvénytelen JSON fájl: %s"
#: ../single.php:37
msgid "This post was written by "
msgstr "Írta: "
#~ msgid "Commands:"
#~ msgstr "Parancsok:"
#: ../tag.php:6
msgid "Tag Archive: "
msgstr "Archívim: "
#~ msgid "default:"
#~ msgstr "alapértelmezett:"
#~ msgid "Search Authors"
#~ msgstr "Szerző keresése"
#~ msgid "All Authors"
#~ msgstr "Minden szerző"
#~ msgid "Parent Author"
#~ msgstr "Szülő szerző"
#~ msgid "Parent Author:"
#~ msgstr "Szülő szerző:"
#~ msgid "Edit Author"
#~ msgstr "Szerző szerkesztése"
#~ msgid "Update Author"
#~ msgstr "Szerző frissítése"
#~ msgid "Add New Author"
#~ msgstr "Új szerző hozzáadása"
#~ msgid "Authors"
#~ msgstr "Szerzők"
#~ msgid "View Authors"
#~ msgstr "Szerzők megjelenítése"
#~ msgid "Popular Authors"
#~ msgstr "Népszerű szerzők"
#~ msgid "Add or remove authors"
#~ msgstr "Szerzők hozzáadása vagy eltávolítása"
#~ msgid "Choose from most used authors"
#~ msgstr "Választás a leggyakoribb szerzők közül"
#~ msgid "No authors found"
#~ msgstr "Szerző nem található"
#~ msgid "Back to authors"
#~ msgstr "Vissza a szerzőkhöz"
#~ msgid "Format"
#~ msgstr "Formátum"
#~ msgid "Author"
#~ msgstr "Szerző"
#~ msgid "%s results for "
#~ msgstr "%s Ergebnisse für "
#~ msgid "Archives"
#~ msgstr "Archívum"
#~ msgid "Author Archives for "
#~ msgstr "Szerkesztői archívum - "
#~ msgid "About "
#~ msgstr "Rólunk "
#~ msgid "Published by"
#~ msgstr "Közzétette "
#~ msgid "Leave your thoughts"
#~ msgstr "Hozzászólás"
#~ msgid "1 Comment"
#~ msgstr "1 Hozzászólás"
#~ msgid "Categories for"
#~ msgstr "Kategória: "
#~ msgid "Post is password protected. Enter the password to view any comments."
#~ msgstr ""
#~ "A tartalom jelszóval védett. A jelszó megadása után minden hozzászólás "
#~ "látható lesz."
#~ msgid "Comments are closed here."
#~ msgstr "Hozzászólás zárolva."
#~ msgid "Powered by"
#~ msgstr "Motor:"
#~ msgid "Header Menu"
#~ msgstr "Fejléc Menü"
#~ msgid "Sidebar Menu"
#~ msgstr "Oldalsáv Menü"
#~ msgid "Extra Menu"
#~ msgstr "Extra Menü"
#~ msgid "Widget Area 1"
#~ msgstr "Widget rész 1"
#~ msgid "Description for this widget-area..."
#~ msgstr "A widhet rész leírása..."
#~ msgid "Widget Area 2"
#~ msgstr "Widget rész 2"
#~ msgid "dis-2019 Custom Post"
#~ msgstr "dis-2019 Egyedi Tartalom"
#~ msgid "Add New dis-2019 Custom Post"
#~ msgstr "Új egyedi dis-2019 tartalom hozzáadása"
#~ msgid "Edit"
#~ msgstr "Szerkesztés"
#~ msgid "Edit dis-2019 Custom Post"
#~ msgstr "dis-2019 egyedi tartalom szerkesztése"
#~ msgid "New dis-2019 Custom Post"
#~ msgstr "Új dis-2019 egyedi tartalom"
#~ msgid "View dis-2019 Custom Post"
#~ msgstr "dis-2019 egyedi tartalom megtekintése"
#~ msgid "Search dis-2019 Custom Post"
#~ msgstr "dis-2019 egyedi tartalomak keresése"
#~ msgid "No dis-2019 Custom Posts found"
#~ msgstr "Nincs dis-2019 egyedi tartalom"
#~ msgid "No dis-2019 Custom Posts found in Trash"
#~ msgstr "Nincs dis-2019 egyedi tartalom a kukában"
#~ msgid "Latest Posts"
#~ msgstr "Legfrissebb bejegyzések"
#~ msgid "To search, type and hit enter."
#~ msgstr "Keresési feltétel, majd [Enter]."
#~ msgid "Tags: "
#~ msgstr "Címkék: "
#~ msgid "Categorised in: "
#~ msgstr "Kategória: "
#~ msgid "This post was written by "
#~ msgstr "Írta: "
#~ msgid "Tag Archive: "
#~ msgstr "Archívim: "

View File

@@ -15,6 +15,7 @@ msgstr ""
"X-Poedit-Basepath: .\n"
"X-Poedit-SearchPath-0: .\n"
"X-Poedit-SearchPath-1: ..\n"
"X-Poedit-SearchPathExcluded-0: ../node_modules\n"
#: ../404.php:9
msgid "Page not found"

View File

@@ -15,6 +15,7 @@ msgstr ""
"Language: Nederlands\n"
"X-Poedit-SearchPath-0: .\n"
"X-Poedit-SearchPath-1: ..\n"
"X-Poedit-SearchPathExcluded-0: ../node_modules\n"
#: ../404.php:9
msgid "Page not found"

View File

@@ -14,6 +14,7 @@ msgstr ""
"X-Poedit-Basepath: .\n"
"X-Poedit-SearchPath-0: .\n"
"X-Poedit-SearchPath-1: ..\n"
"X-Poedit-SearchPathExcluded-0: ../node_modules\n"
#: ../404.php:9
msgid "Page not found"

View File

@@ -15,6 +15,7 @@ msgstr ""
"Language: Română\n"
"X-Poedit-SearchPath-0: .\n"
"X-Poedit-SearchPath-1: ..\n"
"X-Poedit-SearchPathExcluded-0: ../node_modules\n"
#: ../404.php:9
msgid "Page not found"

96
loop-inner.php Normal file
View File

@@ -0,0 +1,96 @@
<!-- post thumbnail -->
<?php if (has_post_thumbnail()): // Check if thumbnail exists
if ($relatedloop === true): ?>
<a class="related_thumbnailwrapper" href="<?php the_permalink();?>" title="<?php the_title();?>">
<?php the_post_thumbnail('home-square-thumbnail');?>
</a>
<?php else: ?>
<a class="thumbnailwrapper" href="<?php the_permalink();?>" title="<?php the_title();?>">
<?php if (is_home() and $qc < 3): ; //first two posts are big
the_post_thumbnail('home-big-thumbnail');
else:
the_post_thumbnail('home-square-thumbnail');
endif;?>
</a>
<?php endif;?>
<?php endif;?>
<!-- /post thumbnail -->
<div class="metadata">
<div class="categories">
<?php
$echos = [];
foreach ((get_the_category()) as $category) {
$echos[] = $category->name;
}
print implode(' | ', $echos);
?>
<?php if (is_home() and $qc < 3): ; //first two posts format only ?>
<?php //get the post format
$terms = get_the_terms($post->ID, 'Format');
if ($terms && !is_wp_error($terms)) {
foreach ($terms as $term) {
echo '| ';
echo $term->name;
}
}?>
<?php endif;?>
</div><!-- categories end-->
<?php if (is_home() and $qc < 3): ; //first two posts subtitle and excerpt ?>
<div class="alcimWrapper">
<div class="alcim">
<div class="alcimInner">
<?php
$dis_alcim_value = get_post_meta(get_the_ID(), 'dis-alcim', true);
// Check if the custom field has a value.
if (!empty($dis_alcim_value)) {
echo $dis_alcim_value;
}
?>
</div>
</div>
</div>
<?php endif;?>
<div class="vr"></div>
<div class="postedon">
'<?php the_time('y.m.d.');?>
</div>
<?php
$dis_bevezeto_value = get_post_meta(get_the_ID(), 'dis-bevezeto', true);
if ((is_home() and strlen($dis_bevezeto_value) > 0) or (is_home() and $qc < 3)): ; // excerpt only if first two or has value
?>
<div class="bevezetoWrapper">
<div class="bevezeto">
<div class="bevezetoInner">
<?php
// Check if the custom field has a value.
if (!empty($dis_bevezeto_value)) {
echo $dis_bevezeto_value;
}
?>
</div>
</div>
</div>
<?php endif;?>
<div class="filler"></div>
<?php if (is_home() and $qc == 1): ; //first post on home ?>
<div class="curvyArrow">
<object data="<?php echo get_template_directory_uri(); ?>/img/curvy_arrow.svg" type="image/svg+xml">
<img src="<?php echo get_template_directory_uri(); ?>/img/curvy_arrow.png" />
</object>
</div>
<?php endif;?>
</div> <!-- metadata end -->
<!-- post title -->
<h2>
<a href="<?php the_permalink();?>" title="<?php the_title();?>"><?php the_title();?></a>
</h2>
<!-- /post title -->

109
loop.php
View File

@@ -1,94 +1,33 @@
<?php if (have_posts()): while (have_posts()): the_post();
static $qc = 0;
$qc++;
?>
static $qc = 0;
$qc++;
if (is_home() and $qc < 3) {
$firstclass = 'post_nr post_nr_' . $qc;
} else {
$firstclass = '';
}
?>
<article id="post-<?php the_ID();?>" <?php post_class($firstclass);?>>
<?php include locate_template('loop-inner.php', false, false);?>
</article>
<article id="post-<?php the_ID();?>" <?php post_class();?>>
<?php endwhile;?>
<!-- post thumbnail -->
<?php if (has_post_thumbnail()): // Check if thumbnail exists ?>
<a class="thumbnailwrapper" href="<?php the_permalink();?>" title="<?php the_title();?>">
<?php if(is_home() and $qc < 3): ; //first two posts are big
the_post_thumbnail('home-big-thumbnail');
else:
the_post_thumbnail('home-square-thumbnail');
endif;?>
</a>
<?php endif;?>
<!-- /post thumbnail -->
<div class="metadata">
<div class="categories">
<?php the_category(' | ');?>
<?php
$terms = get_the_terms($post->ID, 'Format');
if ($terms) {
foreach ($terms as $term) {
echo '| ';
echo $term->name;
}
}?>
</div>
<?php if(is_home() and $qc < 3): ; //first two posts subtitle and excerpt ?>
<div class="alcim">
<?php
$dis_alcim_value = get_post_meta( get_the_ID(), 'dis-alcim', true );
// Check if the custom field has a value.
if ( ! empty( $dis_alcim_value ) ) {
echo $dis_alcim_value;
}
?>
</div>
<?php endif;?>
<div class="vr"></div>
<div class="postedon">
<?php the_time('m. d.');?>
</div>
<?php if(is_home() and $qc < 3): ; //first two posts subtitle and excerpt ?>
<div class="bevezeto">
<?php
$dis_bevezeto_value = get_post_meta( get_the_ID(), 'dis-bevezeto', true );
// Check if the custom field has a value.
if ( ! empty( $dis_bevezeto_value ) ) {
echo $dis_bevezeto_value;
}
?>
</div>
<?php endif;?>
<div class="filler"></div>
<?php if(is_home() and $qc == 1): ; //first post on home ?>
<div class="curvyArrow">
<object data="<?php echo get_template_directory_uri(); ?>/img/curvy_arrow.svg"
type="image/svg+xml">
<img src="<?php echo get_template_directory_uri(); ?>/img/curvy_arrow.png" />
</object>
</div>
<?php endif;?>
</div> <!-- metadata end -->
<!-- post title -->
<h2>
<a href="<?php the_permalink();?>" title="<?php the_title();?>"><?php the_title();?></a>
</h2>
<!-- /post title -->
</article>
<?php endwhile;?>
<?php else: ?>
<?php else: ?>
<!-- article -->
<article>
<h2><?php _e('Sorry, nothing to display.', 'dis2019');?></h2>
<article class="no-result">
<?php
if(!is_search()){
?>
<h2><?php _e('Sorry, nothing to display.', 'dis2019');?></h2>
<?php
}
?>
</article>
<!-- /article -->

View File

@@ -1,43 +0,0 @@
<?php get_header(); ?>
<!-- section -->
<section>
<h1><?php the_title(); ?></h1>
<?php if (have_posts()): while (have_posts()) : the_post(); ?>
<!-- article -->
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<?php the_content(); ?>
<br class="clear">
<?php edit_post_link(); ?>
</article>
<!-- /article -->
<?php endwhile; ?>
<?php else: ?>
<!-- article -->
<article>
<h2><?php _e( 'Sorry, nothing to display.', 'dis2019' ); ?></h2>
</article>
<!-- /article -->
<?php endif; ?>
</section>
<!-- /section -->
<?php get_footer(); ?>

View File

@@ -10,27 +10,51 @@
&:hover {
color: #fff;
}
@media #{$tablet} {
font-size: 1.4rem;
}
@media #{$smalldesktop} {
font-size: 2.5rem;
}
}
@mixin searchtext {
//search textbox
font: 900 4rem "Westeinde Caption";
color: #000;
-webkit-text-stroke: #fff 1px;
@media #{$smalldesktop} {
font-size: 4rem;
color: #000 !important;
}
}
@mixin home-title {
//article titles on home
font: bold 3rem "Westeinde Caption";
font: bold 2.2rem "Westeinde Caption";
color: #000;
@media #{$bigmobile} {
font-size: 2.8rem;
}
@media #{$mobile-landscape} {
font-size: 2.5rem !important;
font-size: 2.5rem;
}
@media #{$smalldesktop} {
font-size: 5rem;
}
@media #{$bigdesktop} {
font-size: 6.8rem;
}
@media #{$verybigdesktop} {
font-size: 11rem;
}
}
@mixin home-more {
//loadmore text on home and archives
font: bold 3rem "Westeinde Caption";
color: #fff;
color: transparent;
-webkit-text-stroke: #000 1px;
@media #{$mobile-landscape} {
font-size: 2rem !important;
@@ -42,18 +66,26 @@
@mixin home-title-small {
//small titles on desktop on home and archives
@media #{$smalldesktop} {
font-size: 1.2rem;
-webkit-text-stroke: #000 1px;
color: #fff;
}
}
@mixin archive-tag-description{
font: bold 1rem "Butler";
font: bold 1.5rem "Westeinde Caption";
color: #000;
@media #{$bigmobile} {
font-size: 1.8rem;
}
@media #{$mobile-landscape} {
font-size: 2.5rem;
}
@media #{$tablet} {
font-size: 1.3rem;
color: #000;
}
@media #{$smalldesktop} {
font-size: 1.2rem;
font-size: 1.5rem;
}
@media #{$bigdesktop} {
font-size: 2rem;
}
@media #{$verybigdesktop} {
font-size: 3rem;
}
}
@@ -63,18 +95,47 @@
@media #{$smalldesktop} {
font-size: 1.2rem;
}
@media #{$bigdesktop} {
font-size: 1.3rem;
}
@media #{$verybigdesktop} {
font-size: 2.5rem;
}
}
@mixin archive-tag-description {
font: bold 1rem "Butler";
color: #000;
@media #{$smalldesktop} {
font-size: 1.2rem;
}
@media #{$bigdesktop} {
font-size: 1.8rem;
}
}
@mixin home-metadata-big {
@media #{$tablet} {
font-size: 1.2rem;
}
@media #{$smalldesktop} {
font-size: 1.5rem;
}
@media #{$bigdesktop} {
font-size: 2rem;
}
}
@mixin home-metadata-bevezeto {
font: bold 1rem "Butler";
font: 300 1rem "Westeinde Caption";
color: #000;
@media #{$tablet} {
font: bold 1rem "Butler";
line-height: 1rem;
}
@media #{$smalldesktop} {
font-size: 2rem;
line-height: 2rem;
}
}
@@ -83,47 +144,142 @@
color: transparent;
-webkit-text-stroke: #000 1px;
text-transform: uppercase;
&.current{
-webkit-text-stroke: #fff 1px !important;
&.current {
color: #000 !important;
}
@media #{$tablet} {
font-size: 1rem;
}
@media #{$smalldesktop} {
font-size: 1.2rem;
}
@media #{$bigdesktop} {
font-size: 1.2rem;
}
}
@mixin single-title {
font: bold 3rem "Butler";
font: 800 3rem "Butler";
color: #000;
@media #{$smalldesktop} {
font-size: 7rem;
@media #{$tablet} {
font-size: 3.5rem;
}
}
@mixin single-title2 {
font: bold 3rem "Butler";
color: #000;
@media #{$smalldesktop} {
font-size: 5rem;
}
}
@mixin single-metadata {
font: bold 1rem "Westeinde Caption";
@media #{$smalldesktop} {
font: 900 2rem "Westeinde Caption";
font: bold 1.4rem "Westeinde Caption";
@media #{$tablet} {
font: 900 1.5rem "Westeinde Caption";
color: #fff;
-webkit-text-stroke: #000 1px;
}
@media #{$smalldesktop} {
font-size: 2rem;
}
}
@mixin single-author {
@include single-metadata();
font-size: 2rem;
color: #fff;
-webkit-text-stroke: #000 1px;
@media #{$smalldesktop} {
font-size: 3rem;
}
}
@mixin single-h2 {
font: 800 3rem "Butler";
}
@mixin single-h4 {
font-weight: 500;
// font-size: 2.4rem;
// line-height: 1.6;
}
@mixin captiontext {
//képaláírás
font: 900 1rem "Westeinde Caption";
color: #fff;
-webkit-text-stroke-width: 1px;
color: #000;
// -webkit-text-stroke-width: 1px;
}
@mixin single-quote {
font: bold 1.8rem "Butler";
font: 800 2rem "Butler";
color: #000;
}
@mixin related-title {
font: 500 2rem "Westeinde Caption";
line-height: 1.3;
}
/* ---------------------------------- event --------------------------------- */
@mixin event-title {
font: 800 1.6rem "Butler";
color: #000;
@media #{$bigmobile} {
font-size: 1.8rem;
}
@media #{$tablet} {
font-size: 2.2rem;
}
@media #{$smalldesktop} {
font-size: 3rem;
}
@media #{$bigdesktop} {
font-size: 3.2rem;
}
@media #{$verybigdesktop} {
font-size: 4.5rem;
}
}
@mixin event-date {
@include event-title();
color: #00f;
}
@mixin event-link {
font: 500 1.3rem "Westeinde Caption";
-webkit-text-stroke: #00f 1px;
color: transparent;
@media #{$bigmobile} {
font-size: 1.4rem;
}
@media #{$tablet} {
font-size: 1.9rem;
}
@media #{$smalldesktop} {
font-size: 2.8rem;
}
@media #{$bigdesktop} {
font-size: 2.8rem;
}
@media #{$verybigdesktop} {
font-size: 4rem;
}
}
@mixin event-arrow {
font: normal 2.8rem "Westeinde Caption";
color: #000;
@media #{$tablet} {
font-size: 3rem;
}
@media #{$smalldesktop} {
font-size: 4rem;
}
@media #{$bigdesktop} {
font-size: 5rem;
}
@media #{$verybigdesktop} {
font-size: 7rem;
}
}

File diff suppressed because it is too large Load Diff

View File

@@ -2,13 +2,23 @@
<!-- section -->
<section>
<section id="content">
<h1><?php echo sprintf( __( '%s Search Results for ', 'dis2019' ), $wp_query->found_posts ); echo get_search_query(); ?></h1>
<div class="archivetitle">
<!-- <h1><?php //echo get_search_query(); ?></h1> -->
<h1><?php
echo sprintf( __( '%s search results for', 'dis2019' ), $wp_query->found_posts ) . ': ';
echo get_search_query();
?>
</h1>
</div>
<?php get_template_part('loop'); ?>
<?php get_template_part('loadmore');?>
</section>
<!-- /section -->

View File

@@ -2,8 +2,13 @@
<form class="search" method="get" action="<?php echo home_url(); ?>" role="search">
<input class="search-input" type="search" name="s" placeholder="">
<button class="search-submit" type="submit" role="button">
<object data="<?php echo get_template_directory_uri(); ?>/img/kereso_icon.svg" type="image/svg+xml">
<img src="<?php echo get_template_directory_uri(); ?>/img/kereso_icon.png" />
<object class="white" data="<?php echo get_template_directory_uri(); ?>/img/kereso_icon-white.svg"
type="image/svg+xml">
<img src="<?php echo get_template_directory_uri(); ?>/img/kereso_icon-white.png" />
</object>
<object class="black" data="<?php echo get_template_directory_uri(); ?>/img/kereso_icon-black.svg"
type="image/svg+xml">
<img src="<?php echo get_template_directory_uri(); ?>/img/kereso_icon-black.png" />
</object>
</button>
</form>

View File

@@ -1,79 +0,0 @@
<?php get_header();?>
<!-- section -->
<section>
<?php if (have_posts()): while (have_posts()): the_post();?>
<!-- article -->
<article id="post-<?php the_ID();?>" <?php post_class();?>>
<!-- post thumbnail -->
<?php if (has_post_thumbnail()): // Check if Thumbnail exists ?>
<div class="thumbnailwrapper">
<?php the_post_thumbnail(); // Fullsize image for the single post ?>
</div>
<?php endif;?>
<!-- /post thumbnail -->
<div class="titlewrapper">
<div class="metadata">
<div class="time-cat">
<?php the_time('Y. m. d.');?> |
<?php the_category(' | ');?>
</div>
<div class="format">
<?php
$terms = get_the_terms( $post->ID, 'Format' );
if ($terms) {
foreach($terms as $term) {
echo $term->name;
}
} ?>
</div>
</div>
<h1>
<?php the_title();?>
</h1>
</div>
<!-- /post title -->
<h1 class="title2">
<?php the_title();?>
</h1>
<hr class="content-wrap content-begin">
<?php the_content(); // Dynamic Content ?>
<hr class="content-wrap content-end">
</article>
<!-- /article -->
<?php endwhile;?>
<?php else: ?>
<!-- article -->
<article>
<h1><?php _e('Sorry, nothing to display.', 'dis2019');?></h1>
</article>
<!-- /article -->
<?php endif;?>
</section>
<!-- /section -->
<?php get_footer();?>

161
singular.php Normal file
View File

@@ -0,0 +1,161 @@
<?php get_header();?>
<!-- section -->
<section>
<?php if (have_posts()): while (have_posts()): the_post();?>
<!-- article -->
<article id="post-<?php the_ID();?>" <?php post_class();?>>
<!-- post thumbnail -->
<?php if (has_post_thumbnail()): // Check if Thumbnail exists ?>
<div class="thumbnailwrapper">
<?php the_post_thumbnail(); // Fullsize image for the single post ?>
</div>
<?php endif;?>
<!-- /post thumbnail -->
<div class="titlewrapper">
<div class="metadata">
<?php if (!is_page()): ?>
<div class="metaWrapper">
<div class="time-cat">
<?php the_time('Y. m. d.');?> |
<?php the_category(' | ');?>
</div>
<div class="format">
<?php
$terms = get_the_terms( $post->ID, 'Format' );
if ($terms && ! is_wp_error( $terms )) {
foreach($terms as $term) {
?>
<a href="<?php echo esc_url(get_term_link( $term));?>">
<?php
echo $term->name;
echo '</a>';
}
} ?>
</div>
</div>
<?php endif; ?>
</div>
<h1 class="single-title">
<?php the_title();?>
</h1>
</div>
<!-- /post title -->
<div class="single-content">
<?php if (!is_page()): ?>
<hr class="content-wrap content-begin">
<?php endif; ?>
<?php the_content(); // Dynamic Content ?>
<?php
$terms = get_the_terms( $post->ID, 'Writer' );
if ($terms && ! is_wp_error( $terms )) {
?>
<p class="authors">Szerző:
<?php
foreach($terms as $term) {
?>
<a href="<?php echo esc_url(get_term_link( $term));?>">
<?php echo $term->name; ?>
</a>
<?php
}
echo '<p>';
} ?>
<hr class="content-wrap content-end">
</div>
<!-- Related articles -->
<?php
$orig_post = $post;
global $post;
$categories = get_the_category($post->ID);
if ($categories) {
$category_ids = array();
foreach($categories as $individual_category) $category_ids[] = $individual_category->term_id;
$args=array(
'category__in' => $category_ids,
'post__not_in' => array($post->ID),
'posts_per_page'=> 3, // Number of related posts that will be shown.
'caller_get_posts'=>1,
'related_loop'=>true
);
$my_query = new wp_query( $args );
//console_debug($my_query);
if( $my_query->have_posts() ) {
?>
<div id="related_posts"><h3><?php _e('More posts:', 'dis2019');?></h3><ul>
<?php
while( $my_query->have_posts() ) {
$my_query->the_post();
static $relatedloop = true;
?>
<li>
<div class="relatedWrapper">
<?php include( locate_template( 'loop-inner.php', false, false ) ); ?>
</div>
</li>
<?php
}
echo '</ul></div>';
}
};
$post = $orig_post;
wp_reset_query(); ?>
<div class="toHome">
<a href="<?php echo esc_url( home_url( '/' ) ); ?>">
← <?php _e('Back to home:', 'dis2019');?>
</a>
<hr class="related-wrap single-end">
</div>
</article>
<!-- /article -->
<?php endwhile;?>
<?php else: ?>
<!-- article -->
<article>
<h1><?php _e('Sorry, nothing to display.', 'dis2019');?></h1>
</article>
<!-- /article -->
<?php endif;?>
</section>
<!-- /section -->
<?php get_footer();?>

View File

@@ -1,11 +1,11 @@
/*
Theme Name: dis-2019
Theme URI: http://gyetvai-peter.hu
Description: dis-2019 WordPress Theme
Version: 0.0.1
Author: Gyetvai Peter, based on HTML5blank: http://toddmotto.com
Author URI: http://gyetvai-peter.hu
Tags: Blank, HTML5, CSS3
Theme URI: https://git.gyetpet.dynu.net/infeeeee/dis-2019
Description: Designisso téma 2019 | <a target="_blank" href="https://git.gyetpet.dynu.net/infeeeee/dis-2019/src/branch/master/K%c3%89ZIK%c3%96NYV.md">Használati utasítás magyarul</a> | <a target="_blank" href="https://git.gyetpet.dynu.net/infeeeee/dis-2019/issues">Hibák, problémák jelentése</a>
Version: 0.1.0
Author: Gyetvai Péter
Author URI: https://gyetvai-peter.hu
Tags: Designisso
License: MIT
License URI: http://opensource.org/licenses/mit-license.php
*/