single lightbox

This commit is contained in:
2019-07-03 23:20:48 +02:00
parent d59b9afadf
commit 5f461d3ea2
14 changed files with 653 additions and 219 deletions

View File

@@ -16,7 +16,7 @@ settings>reading>Blog pages show at most 6
#### Egyéni mezők #### Egyéni mezők
Ezek a cikk alján láthatóak a szerkesztő felületen 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: dis-alcim:
@@ -44,6 +44,18 @@ Formátum:
- Ide a bejegyzés formátumát kell beírni, pl interjú, portfólió, hír, stb... - 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 - 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
Az első blokk nincs automatikusan megkülönböztetve. Egyhe kiemelés eléréséhez jelöld ki az 9sszes szöveget az első blokkban és állítsd félkövérre
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!
### Események ### Események

View File

@@ -22,4 +22,9 @@ nagy képek, metadata ipad: nem férnek be a rublikába ha hosszúak, mi legy, e
## bedo magasság: ## bedo magasság:
margin: $v-unit-1 => 4rem margin: $v-unit-1 => 4rem
top: calc(#{$v-unit-1}/ 2); => 2rem top: calc(#{$v-unit-1}/ 2); => 2rem
## További kérdések, július 4
Lightbox: Egybe galériába menjen az összes kép cikkenként, vagy külön külön külön?

View File

@@ -25,5 +25,11 @@ alapből lehet hogy több látszódjon
Kurzor: Nyíl az nem túl halovány? 32x32 pixel lehet maximum Kurzor: Nyíl az nem túl halovány? 32x32 pixel lehet maximum
## mobil nézet
képek magassága és maszk
# Kategória oldalak # Kategória oldalak

View File

@@ -100,7 +100,7 @@ object {
flex-direction: row; flex-direction: row;
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
z-index: 3; z-index: 3000;
/* -------------------------------------------------------------------------- */ /* -------------------------------------------------------------------------- */
/* header elements */ /* header elements */
/* -------------------------------------------------------------------------- */ /* -------------------------------------------------------------------------- */
@@ -1571,7 +1571,8 @@ body.category.category-esemeny main {
/* single */ /* single */
/* -------------------------------------------------------------------------- */ /* -------------------------------------------------------------------------- */
.single { .single {
/* ---------------------------- single on mobile ---------------------------- */ } /* ---------------------------- single on mobile ---------------------------- */
/* -------------------------------- lightbox -------------------------------- */ }
@media (min-width: 769px) { @media (min-width: 769px) {
.single .wrapper { .single .wrapper {
height: unset; height: unset;
@@ -1809,6 +1810,62 @@ body.category.category-esemeny main {
border-top: 5rem solid #fff; border-top: 5rem solid #fff;
position: absolute; position: absolute;
z-index: -1; } z-index: -1; }
.single #cboxOverlay {
width: 100%;
height: 100%;
position: fixed;
top: 0;
left: 0;
background-color: #000;
z-index: 10; }
.single #colorbox {
z-index: 12; }
.single #colorbox:focus {
border: none;
outline: none; }
.single #colorbox #cboxContent #cboxTitle {
padding: 1rem;
font: 900 1rem "Westeinde Caption";
color: #fff;
-webkit-text-stroke-width: 1px;
-webkit-text-stroke: #fff 1px;
color: transparent;
width: 100%;
text-align: center; }
.single #colorbox #cboxContent #cboxCurrent {
display: none !important; }
.single #colorbox #cboxContent button {
position: absolute;
background-repeat: no-repeat;
background-position: center;
background-size: 100%; }
.single #colorbox #cboxContent button#cboxPrevious, .single #colorbox #cboxContent button#cboxNext {
background-image: url(../img/curvy_arrow.svg);
width: 2rem;
height: 4rem;
bottom: -5rem;
filter: invert(100);
z-index: 14; }
.single #colorbox #cboxContent button#cboxPrevious {
left: 1rem;
-moz-transform: scaleX(-1);
-o-transform: scaleX(-1);
-ms-transform: scaleX(-1);
-webkit-transform: scaleX(-1);
transform: scaleX(-1); }
.single #colorbox #cboxContent button#cboxNext {
right: 1rem; }
.single #colorbox #cboxContent button#cboxClose {
background-image: url(../img/dis-plus.svg);
width: 2rem;
height: 2rem;
-moz-transform: rotate(45deg);
-o-transform: rotate(45deg);
-ms-transform: rotate(45deg);
-webkit-transform: rotate(45deg);
transform: rotate(45deg);
top: -3rem;
right: 1rem; }
/* -------------------------------------------------------------------------- */ /* -------------------------------------------------------------------------- */
/* TAG COLORS */ /* TAG COLORS */

View File

@@ -135,16 +135,16 @@ function dis2019_header_scripts()
wp_register_script('modernizr', get_template_directory_uri() . '/js/lib/modernizr-custom.js', array(), '2.7.1'); // Modernizr 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_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_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_register_script('snap-scroll', get_template_directory_uri() . '/js/lib/snap-scroll.min.js', array('jquery'), '1.0.0'); //
wp_enqueue_script('snap-scroll'); // Enqueue it! wp_enqueue_script('snap-scroll'); // Enqueue it!
//wp_register_script('jquery.corner', get_template_directory_uri() . '/js/lib/jquery.corner.js', array('jquery'), '1.0.0'); // Modernizr wp_register_script('jquery.colorbox', get_template_directory_uri() . '/js/lib/jquery.colorbox-min.js', array('jquery'), '1.0.0'); //
//wp_enqueue_script('jquery.corner'); // Enqueue it! 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_enqueue_script('lettering'); // Enqueue it!
wp_register_script('dis2019scripts', get_template_directory_uri() . '/js/scripts.js', array( wp_register_script('dis2019scripts', get_template_directory_uri() . '/js/scripts.js', array(
@@ -153,7 +153,7 @@ function dis2019_header_scripts()
'modernizr', 'modernizr',
'simpler-sidebar', 'simpler-sidebar',
'snap-scroll', 'snap-scroll',
//'jquery.corner', 'jquery.colorbox',
'lettering', 'lettering',
), '1.0.0'); // Custom scripts ), '1.0.0'); // Custom scripts
wp_enqueue_script('dis2019scripts'); // Enqueue it! wp_enqueue_script('dis2019scripts'); // Enqueue it!
@@ -666,17 +666,25 @@ Custom taxonomy
function dis2019_register_taxonomy_format() function dis2019_register_taxonomy_format()
{ {
$labels = [ $labels = [
'name' => _x('Format', 'taxonomy general name'), 'name' => _x('Format', 'taxonomy general name', 'dis2019'),
'singular_name' => _x('Format', 'taxonomy singular name'), 'singular_name' => _x('Format', 'taxonomy singular name', 'dis2019'),
'search_items' => __('Search Formats'), 'search_items' => __('Search Formats', 'dis2019'),
'all_items' => __('All Formats'), 'all_items' => __('All Formats', 'dis2019'),
'parent_item' => __('Parent Format'), 'parent_item' => __('Parent Format', 'dis2019'),
'parent_item_colon' => __('Parent Format:'), 'parent_item_colon' => __('Parent Format:', 'dis2019'),
'edit_item' => __('Edit Format'), 'edit_item' => __('Edit Format', 'dis2019'),
'update_item' => __('Update Format'), 'update_item' => __('Update Format', 'dis2019'),
'add_new_item' => __('Add New Format'), 'add_new_item' => __('Add New Format', 'dis2019'),
'new_item_name' => __('New Format Name'), 'new_item_name' => __('New Format Name', 'dis2019'),
'menu_name' => __('Formats'), '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 = [ $args = [
'hierarchical' => false, // make it hierarchical (like categories) 'hierarchical' => false, // make it hierarchical (like categories)
@@ -684,27 +692,38 @@ function dis2019_register_taxonomy_format()
'show_ui' => true, 'show_ui' => true,
'show_admin_column' => true, 'show_admin_column' => true,
'query_var' => true, 'query_var' => true,
'rewrite' => ['slug' => 'Format'], 'rewrite' => ['slug' => 'format'],
'show_in_rest' => true, 'show_in_rest' => true,
'public' => true,
]; ];
register_taxonomy('Format', ['post'], $args); register_taxonomy('Format', ['post'], $args);
} }
add_action('init', 'dis2019_register_taxonomy_format'); add_action('init', 'dis2019_register_taxonomy_format');
function dis2019_register_taxonomy_author() function dis2019_register_taxonomy_writer()
{ {
$labels = [ $labels = [
'name' => _x('Author', 'taxonomy general name'), 'name' => _x('Writers', 'taxonomy general name', 'dis2019'),
'singular_name' => _x('Author', 'taxonomy singular name'), 'singular_name' => _x('Writer', 'taxonomy singular name', 'dis2019'),
'search_items' => __('Search Authors'), 'search_items' => __('Search Writers', 'dis2019'),
'all_items' => __('All Authors'), 'all_items' => __('All Writers', 'dis2019'),
'parent_item' => __('Parent Author'), 'parent_item' => __('Parent Writer', 'dis2019'),
'parent_item_colon' => __('Parent Author:'), 'parent_item_colon' => __('Parent Writer:', 'dis2019'),
'edit_item' => __('Edit Author'), 'edit_item' => __('Edit Writer', 'dis2019'),
'update_item' => __('Update Author'), 'update_item' => __('Update Writer', 'dis2019'),
'add_new_item' => __('Add New Author'), 'add_new_item' => __('Add New Writer', 'dis2019'),
'new_item_name' => __('New Author Name'), 'new_item_name' => __('New Writer Name', 'dis2019'),
'menu_name' => __('Authors'), '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 = [ $args = [
'hierarchical' => false, // make it hierarchical (like categories) 'hierarchical' => false, // make it hierarchical (like categories)
@@ -712,11 +731,12 @@ function dis2019_register_taxonomy_author()
'show_ui' => true, 'show_ui' => true,
'show_admin_column' => true, 'show_admin_column' => true,
'query_var' => true, 'query_var' => true,
'rewrite' => ['slug' => 'Author'], 'rewrite' => ['slug' => 'writer'],
'show_in_rest' => true, 'show_in_rest' => true,
'public' => true,
]; ];
register_taxonomy('Author', ['post'], $args); register_taxonomy('Writer', ['post'], $args);
} }
add_action('init', 'dis2019_register_taxonomy_author'); add_action('init', 'dis2019_register_taxonomy_writer');
?> ?>

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

File diff suppressed because one or more lines are too long

View File

@@ -59,33 +59,34 @@
} }
})() })()
//isHome // checks if body has a class
const isHome = (_ => { function bodyHasClass(classname, notclassname){
if ($('body').hasClass("home")) { if ($('body').hasClass(classname)) {
return true if (notclassname) {
if ($('body').hasClass(notclassname)) {
return false
}else{
return true
}
} else{
return true
}
} else { } else {
return false return false
} }
})() }
//isHome
const isHome = bodyHasClass('home')
//isArchive //isArchive
const isArchive = (_ => { const isArchive = bodyHasClass('archive','category-esemeny')
if ($('body').hasClass("archive") & !$('body').hasClass("category-esemeny")) {
return true
} else {
return false
}
})()
//isEsemeny //isEsemeny
const isEsemeny = (_ => { const isEsemeny = bodyHasClass('category-esemeny')
if ($('body').hasClass("category-esemeny")) {
return true //isSingle
} else { const isSingle = bodyHasClass('single')
return false
}
})()
@@ -689,6 +690,50 @@
}) })
/* -------------------------------------------------------------------------- */
/* SINGLE */
/* -------------------------------------------------------------------------- */
if (isSingle) {
/* -------------------------------- Lightbox -------------------------------- */
//group gallery images:
$('.wp-block-gallery a, .wp-block-image a').addClass('cb-gallery')
//copy figcaption to title
$("a.cb-gallery ~ figcaption").each(function(){
let captiotext = $(this).html()
$(this).prev('.cb-gallery').attr({title:captiotext})
})
//http://www.jacklmoore.com/colorbox/
const colorboxSettings = {
transition:'fade',
rel:'cb-ballery',
maxWidth: '90%',
maxHeight: '80%',
trapFocus: false,
scrolling: false,
fixed: true,
previous: '',
next:'',
close:'',
}
// lightbox for galleries
$(".wp-block-gallery a").colorbox(colorboxSettings)
//single images
$(".wp-block-image a").colorbox(colorboxSettings)
}
/* ------------------------------- END OF FILE ------------------------------ */
}); });

View File

@@ -1,199 +1,298 @@
#, fuzzy
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: dis-2019 WordPress Theme\n" "Project-Id-Version: dis-2019 WordPress Theme\n"
"POT-Creation-Date: 2013-09-18 00:26+0100\n" "POT-Creation-Date: 2019-07-03 20:35+0200\n"
"PO-Revision-Date: \n" "PO-Revision-Date: \n"
"Last-Translator: Jürgen Rabe | www.egado.de <rabe@egado.de>\n" "Last-Translator: Jürgen Rabe | www.egado.de <rabe@egado.de>\n"
"Language-Team: \n" "Language-Team: \n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\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-SourceCharset: UTF-8\n"
"X-Poedit-KeywordsList: _e;__\n" "X-Poedit-KeywordsList: _e;__\n"
"X-Poedit-Basepath: .\n" "X-Poedit-Basepath: .\n"
"X-Poedit-SearchPath-0: .\n" "X-Poedit-SearchPath-0: .\n"
"X-Poedit-SearchPath-1: ..\n" "X-Poedit-SearchPath-1: ..\n"
#: ../404.php:9 #: ../404.php:10
msgid "Page not found" msgid "Page not found"
msgstr "" msgstr ""
#: ../404.php:11 #: ../404.php:12
msgid "Return home?" msgid "Return home?"
msgstr "" msgstr ""
#: ../archive.php:6 #: ../category-esemeny.php:74 ../loop.php:99 ../page.php:30 ../single.php:85
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
msgid "Sorry, nothing to display." msgid "Sorry, nothing to display."
msgstr "" msgstr ""
#: ../category.php:6 #: ../functions.php:229
msgid "Categories for" msgid "Main menu left"
msgstr "" msgstr ""
#: ../comments.php:3 #: ../functions.php:230
msgid "Post is password protected. Enter the password to view any comments." msgid "Main menu right"
msgstr "" msgstr ""
#: ../comments.php:18 #: ../functions.php:232
msgid "Comments are closed here." msgid "Circular tags"
msgstr "" msgstr ""
#: ../footer.php:6 #: ../functions.php:358
msgid "Powered by"
msgstr ""
#: ../functions.php:133
msgid "Header Menu"
msgstr ""
#: ../functions.php:134
msgid "Sidebar Menu"
msgstr ""
#: ../functions.php:135
msgid "Extra Menu"
msgstr ""
#: ../functions.php:181
msgid "Widget Area 1"
msgstr ""
#: ../functions.php:182 ../functions.php:193
msgid "Description for this widget-area..."
msgstr ""
#: ../functions.php:192
msgid "Widget Area 2"
msgstr ""
#: ../functions.php:258
msgid "View Article" msgid "View Article"
msgstr "" msgstr ""
#: ../functions.php:319 #: ../functions.php:422
#, php-format #, php-format
msgid "<cite class=\"fn\">%s</cite> <span class=\"says\">says:</span>" msgid "<cite class=\"fn\">%s</cite> <span class=\"says\">says:</span>"
msgstr "" msgstr ""
#: ../functions.php:322 #: ../functions.php:425
msgid "Your comment is awaiting moderation." msgid "Your comment is awaiting moderation."
msgstr "" msgstr ""
#: ../functions.php:328 #: ../functions.php:431
#, php-format #, php-format
msgid "%1$s at %2$s" msgid "%1$s at %2$s"
msgstr "" msgstr ""
#: ../functions.php:328 #: ../functions.php:431
msgid "(Edit)" msgid "(Edit)"
msgstr "" msgstr ""
#: ../functions.php:411 ../functions.php:412 #: ../functions.php:671
msgid "dis-2019 Custom Post" msgid "Search Formats"
msgstr "" msgstr ""
#: ../functions.php:413 #: ../functions.php:672
msgid "Add New" msgid "All Formats"
msgstr "" msgstr ""
#: ../functions.php:414 #: ../functions.php:673
msgid "Add New dis-2019 Custom Post" msgid "Parent Format"
msgstr "" msgstr ""
#: ../functions.php:415 #: ../functions.php:674
msgid "Edit" msgid "Parent Format:"
msgstr "" msgstr ""
#: ../functions.php:416 #: ../functions.php:675
msgid "Edit dis-2019 Custom Post" msgid "Edit Format"
msgstr "" msgstr ""
#: ../functions.php:417 #: ../functions.php:676
msgid "New dis-2019 Custom Post" msgid "Update Format"
msgstr "" msgstr ""
#: ../functions.php:418 ../functions.php:419 #: ../functions.php:677
msgid "View dis-2019 Custom Post" msgid "Add New Format"
msgstr "" msgstr ""
#: ../functions.php:420 #: ../functions.php:678
msgid "Search dis-2019 Custom Post" msgid "New Format Name"
msgstr "" msgstr ""
#: ../functions.php:421 #: ../functions.php:679
msgid "No dis-2019 Custom Posts found" msgid "Formats"
msgstr "" msgstr ""
#: ../functions.php:422 #: ../functions.php:681
msgid "No dis-2019 Custom Posts found in Trash" msgid "View Formats"
msgstr "" msgstr ""
#: ../index.php:6 #: ../functions.php:682
msgid "Latest Posts" msgid "Popular Formats"
msgstr "" msgstr ""
#: ../search.php:6 #: ../functions.php:683
msgid "Separate formats with commas"
msgstr ""
#: ../functions.php:684
msgid "Add or remove formats"
msgstr ""
#: ../functions.php:685
msgid "Choose from most used formats"
msgstr ""
#: ../functions.php:686
msgid "No formats found"
msgstr ""
#: ../functions.php:687
msgid "Back to formats"
msgstr ""
#: ../functions.php:708
msgid "Search Writers"
msgstr ""
#: ../functions.php:709
msgid "All Writers"
msgstr ""
#: ../functions.php:710
msgid "Parent Writer"
msgstr ""
#: ../functions.php:711
msgid "Parent Writer:"
msgstr ""
#: ../functions.php:712
msgid "Edit Writer"
msgstr ""
#: ../functions.php:713
msgid "Update Writer"
msgstr ""
#: ../functions.php:714
msgid "Add New Writer"
msgstr ""
#: ../functions.php:715
msgid "New Writer Name"
msgstr ""
#: ../functions.php:716
msgid "Writers"
msgstr ""
#: ../functions.php:718
msgid "View Writers"
msgstr ""
#: ../functions.php:719
msgid "Popular Writers"
msgstr ""
#: ../functions.php:720
msgid "Separate writers with commas"
msgstr ""
#: ../functions.php:721
msgid "Add or remove writers"
msgstr ""
#: ../functions.php:722
msgid "Choose from most used writer"
msgstr ""
#: ../functions.php:723
msgid "No writer found"
msgstr ""
#: ../functions.php:724
msgid "Back to writers"
msgstr ""
#: ../node_modules/yargs-parser/index.js:301
#, javascript-format
msgid "Not enough arguments following: %s"
msgstr ""
#: ../node_modules/yargs-parser/index.js:449
#, javascript-format
msgid "Invalid JSON config file: %s"
msgstr ""
#: ../node_modules/yargs/lib/usage.js:169
msgid "Commands:"
msgstr ""
#: ../node_modules/yargs/lib/usage.js:177
#: ../node_modules/yargs/lib/usage.js:407
msgid "default:"
msgstr ""
#: ../node_modules/yargs/lib/usage.js:179
msgid "aliases:"
msgstr ""
#: ../node_modules/yargs/lib/usage.js:241
msgid "boolean"
msgstr ""
#: ../node_modules/yargs/lib/usage.js:242
msgid "count"
msgstr ""
#: ../node_modules/yargs/lib/usage.js:243
#: ../node_modules/yargs/lib/usage.js:244
msgid "string"
msgstr ""
#: ../node_modules/yargs/lib/usage.js:245
msgid "array"
msgstr ""
#: ../node_modules/yargs/lib/usage.js:246
msgid "number"
msgstr ""
#: ../node_modules/yargs/lib/usage.js:250
msgid "required"
msgstr ""
#: ../node_modules/yargs/lib/usage.js:251
msgid "choices:"
msgstr ""
#: ../node_modules/yargs/lib/usage.js:270
msgid "Examples:"
msgstr ""
#: ../node_modules/yargs/lib/usage.js:385
msgid "generated-value"
msgstr ""
#: ../node_modules/yargs/lib/validation.js:26
#: ../node_modules/yargs/lib/validation.js:49
#, javascript-format
msgid "Not enough non-option arguments: got %s, need at least %s"
msgstr ""
#: ../node_modules/yargs/lib/validation.js:37
#, javascript-format
msgid "Too many non-option arguments: got %s, maximum of %s"
msgstr ""
#: ../node_modules/yargs/lib/validation.js:185
msgid "Invalid values:"
msgstr ""
#: ../node_modules/yargs/lib/validation.js:188
#, javascript-format
msgid "Argument: %s, Given: %s, Choices: %s"
msgstr ""
#: ../node_modules/yargs/lib/validation.js:218
#, javascript-format
msgid "Argument check failed: %s"
msgstr ""
#: ../node_modules/yargs/lib/validation.js:283
msgid "Implications failed:"
msgstr ""
#: ../node_modules/yargs/lib/validation.js:313
#, javascript-format
msgid "Arguments %s and %s are mutually exclusive"
msgstr ""
#: ../node_modules/yargs/lib/validation.js:332
#, javascript-format
msgid "Did you mean %s?"
msgstr ""
#: ../search.php:7
#, php-format #, php-format
msgid "%s Search Results for " msgid "%s Search Results for "
msgstr "" 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."
msgstr ""
#~ msgid "%s results for " #~ msgid "%s results for "
#~ msgstr "%s Ergebnisse für " #~ msgstr "%s Ergebnisse für "

Binary file not shown.

View File

@@ -1,7 +1,7 @@
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: dis-2019 WordPress Theme\n" "Project-Id-Version: dis-2019 WordPress Theme\n"
"POT-Creation-Date: 2019-07-03 17:51+0200\n" "POT-Creation-Date: 2019-07-03 20:36+0200\n"
"PO-Revision-Date: \n" "PO-Revision-Date: \n"
"Last-Translator: Sallay Arnold <arnold@sallay.info>\n" "Last-Translator: Sallay Arnold <arnold@sallay.info>\n"
"Language-Team: \n" "Language-Team: \n"
@@ -24,7 +24,7 @@ msgstr "A keresett oldal nem található"
msgid "Return home?" msgid "Return home?"
msgstr "Vissza a főoldalra?" msgstr "Vissza a főoldalra?"
#: ../category-esemeny.php:74 ../loop.php:99 ../page.php:30 ../single.php:68 #: ../category-esemeny.php:74 ../loop.php:99 ../page.php:30 ../single.php:85
msgid "Sorry, nothing to display." msgid "Sorry, nothing to display."
msgstr "Nincs tartalom." msgstr "Nincs tartalom."
@@ -98,41 +98,97 @@ msgstr "Új formátum neve"
msgid "Formats" msgid "Formats"
msgstr "Formátumok" msgstr "Formátumok"
#: ../functions.php:699 #: ../functions.php:681
msgid "Search Authors" msgid "View Formats"
msgstr "Szerző keresése" msgstr "Formátumok megjelenítése"
#: ../functions.php:700 #: ../functions.php:682
msgid "All Authors" msgid "Popular Formats"
msgstr "Minden szerző" msgstr "Népszerű formátumok"
#: ../functions.php:701 #: ../functions.php:683
msgid "Parent Author" msgid "Separate formats with commas"
msgstr "Szülő szerző" msgstr "Formátumokat vesszővel válaszd el"
#: ../functions.php:702 #: ../functions.php:684
msgid "Parent Author:" msgid "Add or remove formats"
msgstr "Szülő szerző:" msgstr "Formátumok hozzáadása vagy eltávolítása"
#: ../functions.php:703 #: ../functions.php:685
msgid "Edit Author" msgid "Choose from most used formats"
msgstr "Szerző szerkesztése" msgstr "Választás a leggyakoribb formátumok közül"
#: ../functions.php:704 #: ../functions.php:686
msgid "Update Author" msgid "No formats found"
msgstr "Szerző frissítése" msgstr "Formátum nem található"
#: ../functions.php:705 #: ../functions.php:687
msgid "Add New Author" msgid "Back to formats"
msgstr "Új szerző hozzáadása" msgstr "Vissza a formátumokhoz"
#: ../functions.php:706 #: ../functions.php:708
msgid "New Author Name" msgid "Search Writers"
msgstr "Új szerző neve" msgstr "Cikkírók keresése"
#: ../functions.php:707 #: ../functions.php:709
msgid "Authors" msgid "All Writers"
msgstr "" msgstr "Minden cikkíró"
#: ../functions.php:710
msgid "Parent Writer"
msgstr "Szülő cikkíró"
#: ../functions.php:711
msgid "Parent Writer:"
msgstr "Szülő cikkíró:"
#: ../functions.php:712
msgid "Edit Writer"
msgstr "Cikkíró szerkesztése"
#: ../functions.php:713
msgid "Update Writer"
msgstr "Cikkíró frissítése"
#: ../functions.php:714
msgid "Add New Writer"
msgstr "Új cikkíró hozzáadása"
#: ../functions.php:715
msgid "New Writer Name"
msgstr "Új cikkíró neve"
#: ../functions.php:716
msgid "Writers"
msgstr "Cikkírók"
#: ../functions.php:718
msgid "View Writers"
msgstr "Cikkírók Megtekintése"
#: ../functions.php:719
msgid "Popular Writers"
msgstr "Népszerű cikkírók"
#: ../functions.php:720
msgid "Separate writers with commas"
msgstr "Cikkírókat vesszővel válaszd el"
#: ../functions.php:721
msgid "Add or remove writers"
msgstr "Cikkírók hozzáadása vagy eltávolítása"
#: ../functions.php:722
msgid "Choose from most used writer"
msgstr "Választás a leggyakoribb cikkírók közül"
#: ../functions.php:723
msgid "No writer found"
msgstr "Cikkíró nem található"
#: ../functions.php:724
msgid "Back to writers"
msgstr "Vissza a cikkírókhoz"
#: ../node_modules/yargs-parser/index.js:301 #: ../node_modules/yargs-parser/index.js:301
#, javascript-format #, javascript-format
@@ -146,12 +202,12 @@ msgstr "Érvénytelen JSON fájl: %s"
#: ../node_modules/yargs/lib/usage.js:169 #: ../node_modules/yargs/lib/usage.js:169
msgid "Commands:" msgid "Commands:"
msgstr "Parancsok" msgstr "Parancsok:"
#: ../node_modules/yargs/lib/usage.js:177 #: ../node_modules/yargs/lib/usage.js:177
#: ../node_modules/yargs/lib/usage.js:407 #: ../node_modules/yargs/lib/usage.js:407
msgid "default:" msgid "default:"
msgstr "Alapértelmezett:" msgstr "alapértelmezett:"
#: ../node_modules/yargs/lib/usage.js:179 #: ../node_modules/yargs/lib/usage.js:179
msgid "aliases:" msgid "aliases:"
@@ -238,6 +294,57 @@ msgstr ""
msgid "%s Search Results for " msgid "%s Search Results for "
msgstr "%s Találatok " msgstr "%s Találatok "
#~ 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" #~ msgid "Archives"
#~ msgstr "Archívum" #~ msgstr "Archívum"
@@ -330,6 +437,3 @@ msgstr "%s Találatok "
#~ msgid "Tag Archive: " #~ msgid "Tag Archive: "
#~ msgstr "Archívim: " #~ msgstr "Archívim: "
#~ msgid "%s results for "
#~ msgstr "%s Ergebnisse für "

View File

@@ -30,7 +30,7 @@
<?php if(is_home() and $qc < 3): ; //first two posts format only ?> <?php if(is_home() and $qc < 3): ; //first two posts format only ?>
<?php //get the post format <?php //get the post format
$terms = get_the_terms($post->ID, 'Format'); $terms = get_the_terms($post->ID, 'Format');
if ($terms) { if ($terms && ! is_wp_error( $terms )) {
foreach ($terms as $term) { foreach ($terms as $term) {
echo '| '; echo '| ';
echo $term->name; echo $term->name;

View File

@@ -299,7 +299,7 @@ $v-unit-6: 24rem;
flex-direction: row; flex-direction: row;
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
z-index: 3; z-index: 3000;
@media #{$smalldesktop} { @media #{$smalldesktop} {
height: 0; height: 0;
position: relative; position: relative;
@@ -1525,7 +1525,70 @@ body.category.category-esemeny {
} }
} }
} }
} /* -------------------------------- lightbox -------------------------------- */
#cboxOverlay {
width: 100%;
height: 100%;
position: fixed;
top: 0;
left: 0;
background-color: #000;
z-index: 10;
}
#colorbox {
z-index: 12;
&:focus{
border: none;
outline: none;
}
#cboxContent {
#cboxTitle {
padding: 1rem;
@include captiontext();
-webkit-text-stroke: #fff 1px;
color: transparent;
width: 100%;
text-align: center;
}
#cboxCurrent {
display: none !important;
}
button {
position: absolute;
background-repeat: no-repeat;
background-position: center;
background-size: 100%;
&#cboxPrevious,
&#cboxNext {
background-image: url(../img/curvy_arrow.svg);
width: 2rem;
height: 4rem;
bottom: -5rem;
filter: invert(100);
z-index: 14;
}
&#cboxPrevious{
left: 1rem;
@include transform(scaleX(-1))
}
&#cboxNext {
right: 1rem;
}
&#cboxClose{
background-image: url(../img/dis-plus.svg);
width: 2rem;
height: 2rem;
@include transform(rotate(45deg));
top: -3rem;
right: 1rem;
}
}
}
}
} //body.single end
/* -------------------------------------------------------------------------- */ /* -------------------------------------------------------------------------- */
/* TAG COLORS */ /* TAG COLORS */

View File

@@ -32,7 +32,7 @@
<div class="format"> <div class="format">
<?php <?php
$terms = get_the_terms( $post->ID, 'Format' ); $terms = get_the_terms( $post->ID, 'Format' );
if ($terms) { if ($terms && ! is_wp_error( $terms )) {
foreach($terms as $term) { foreach($terms as $term) {
echo $term->name; echo $term->name;
} }
@@ -50,6 +50,23 @@
<div class="single-content"> <div class="single-content">
<hr class="content-wrap content-begin"> <hr class="content-wrap content-begin">
<?php the_content(); // Dynamic Content ?> <?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"> <hr class="content-wrap content-end">
</div> </div>

View File

@@ -1,7 +1,7 @@
/* /*
Theme Name: dis-2019 Theme Name: dis-2019
Theme URI: https://git.gyetpet.dynu.net/infeeeee/dis-2019 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</a> | <a target="_blank" href="https://git.gyetpet.dynu.net/infeeeee/dis-2019/issues">Hibák, problémák jelentése</a> 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 Version: 0.1.0
Author: Gyetvai Péter Author: Gyetvai Péter
Author URI: https://gyetvai-peter.hu Author URI: https://gyetvai-peter.hu