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
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:
@@ -44,6 +44,18 @@ 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
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

View File

@@ -23,3 +23,8 @@ nagy képek, metadata ipad: nem férnek be a rublikába ha hosszúak, mi legy, e
## bedo magasság:
margin: $v-unit-1 => 4rem
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
## mobil nézet
képek magassága és maszk
# Kategória oldalak

View File

@@ -100,7 +100,7 @@ object {
flex-direction: row;
justify-content: space-between;
align-items: center;
z-index: 3;
z-index: 3000;
/* -------------------------------------------------------------------------- */
/* header elements */
/* -------------------------------------------------------------------------- */
@@ -1571,7 +1571,8 @@ body.category.category-esemeny main {
/* single */
/* -------------------------------------------------------------------------- */
.single {
/* ---------------------------- single on mobile ---------------------------- */ }
/* ---------------------------- single on mobile ---------------------------- */
/* -------------------------------- lightbox -------------------------------- */ }
@media (min-width: 769px) {
.single .wrapper {
height: unset;
@@ -1809,6 +1810,62 @@ body.category.category-esemeny main {
border-top: 5rem solid #fff;
position: absolute;
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 */

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_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_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_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('dis2019scripts', get_template_directory_uri() . '/js/scripts.js', array(
@@ -153,7 +153,7 @@ function dis2019_header_scripts()
'modernizr',
'simpler-sidebar',
'snap-scroll',
//'jquery.corner',
'jquery.colorbox',
'lettering',
), '1.0.0'); // Custom scripts
wp_enqueue_script('dis2019scripts'); // Enqueue it!
@@ -666,17 +666,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)
@@ -684,27 +692,38 @@ 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_author()
function dis2019_register_taxonomy_writer()
{
$labels = [
'name' => _x('Author', 'taxonomy general name'),
'singular_name' => _x('Author', 'taxonomy singular name'),
'search_items' => __('Search Authors'),
'all_items' => __('All Authors'),
'parent_item' => __('Parent Author'),
'parent_item_colon' => __('Parent Author:'),
'edit_item' => __('Edit Author'),
'update_item' => __('Update Author'),
'add_new_item' => __('Add New Author'),
'new_item_name' => __('New Author Name'),
'menu_name' => __('Authors'),
'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)
@@ -712,11 +731,12 @@ function dis2019_register_taxonomy_author()
'show_ui' => true,
'show_admin_column' => true,
'query_var' => true,
'rewrite' => ['slug' => 'Author'],
'rewrite' => ['slug' => 'writer'],
'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
const isHome = (_ => {
if ($('body').hasClass("home")) {
// checks if body has a class
function bodyHasClass(classname, notclassname){
if ($('body').hasClass(classname)) {
if (notclassname) {
if ($('body').hasClass(notclassname)) {
return false
}else{
return true
}
} else{
return true
}
} else {
return false
}
})()
}
//isHome
const isHome = bodyHasClass('home')
//isArchive
const isArchive = (_ => {
if ($('body').hasClass("archive") & !$('body').hasClass("category-esemeny")) {
return true
} else {
return false
}
})()
const isArchive = bodyHasClass('archive','category-esemeny')
//isEsemeny
const isEsemeny = (_ => {
if ($('body').hasClass("category-esemeny")) {
return true
} else {
return false
}
})()
const isEsemeny = bodyHasClass('category-esemeny')
//isSingle
const isSingle = bodyHasClass('single')
@@ -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 ""
msgstr ""
"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"
"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"
#: ../404.php:9
#: ../404.php:10
msgid "Page not found"
msgstr ""
#: ../404.php:11
#: ../404.php:12
msgid "Return 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:74 ../loop.php:99 ../page.php:30 ../single.php:85
msgid "Sorry, nothing to display."
msgstr ""
#: ../category.php:6
msgid "Categories for"
#: ../functions.php:229
msgid "Main menu left"
msgstr ""
#: ../comments.php:3
msgid "Post is password protected. Enter the password to view any comments."
#: ../functions.php:230
msgid "Main menu right"
msgstr ""
#: ../comments.php:18
msgid "Comments are closed here."
#: ../functions.php:232
msgid "Circular tags"
msgstr ""
#: ../footer.php:6
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
#: ../functions.php:358
msgid "View Article"
msgstr ""
#: ../functions.php:319
#: ../functions.php:422
#, php-format
msgid "<cite class=\"fn\">%s</cite> <span class=\"says\">says:</span>"
msgstr ""
#: ../functions.php:322
#: ../functions.php:425
msgid "Your comment is awaiting moderation."
msgstr ""
#: ../functions.php:328
#: ../functions.php:431
#, php-format
msgid "%1$s at %2$s"
msgstr ""
#: ../functions.php:328
#: ../functions.php:431
msgid "(Edit)"
msgstr ""
#: ../functions.php:411 ../functions.php:412
msgid "dis-2019 Custom Post"
#: ../functions.php:671
msgid "Search Formats"
msgstr ""
#: ../functions.php:413
msgid "Add New"
#: ../functions.php:672
msgid "All Formats"
msgstr ""
#: ../functions.php:414
msgid "Add New dis-2019 Custom Post"
#: ../functions.php:673
msgid "Parent Format"
msgstr ""
#: ../functions.php:415
msgid "Edit"
#: ../functions.php:674
msgid "Parent Format:"
msgstr ""
#: ../functions.php:416
msgid "Edit dis-2019 Custom Post"
#: ../functions.php:675
msgid "Edit Format"
msgstr ""
#: ../functions.php:417
msgid "New dis-2019 Custom Post"
#: ../functions.php:676
msgid "Update Format"
msgstr ""
#: ../functions.php:418 ../functions.php:419
msgid "View dis-2019 Custom Post"
#: ../functions.php:677
msgid "Add New Format"
msgstr ""
#: ../functions.php:420
msgid "Search dis-2019 Custom Post"
#: ../functions.php:678
msgid "New Format Name"
msgstr ""
#: ../functions.php:421
msgid "No dis-2019 Custom Posts found"
#: ../functions.php:679
msgid "Formats"
msgstr ""
#: ../functions.php:422
msgid "No dis-2019 Custom Posts found in Trash"
#: ../functions.php:681
msgid "View Formats"
msgstr ""
#: ../index.php:6
msgid "Latest Posts"
#: ../functions.php:682
msgid "Popular Formats"
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
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."
msgstr ""
#~ msgid "%s results for "
#~ msgstr "%s Ergebnisse für "

Binary file not shown.

View File

@@ -1,7 +1,7 @@
msgid ""
msgstr ""
"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"
"Last-Translator: Sallay Arnold <arnold@sallay.info>\n"
"Language-Team: \n"
@@ -24,7 +24,7 @@ msgstr "A keresett oldal nem található"
msgid "Return home?"
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."
msgstr "Nincs tartalom."
@@ -98,41 +98,97 @@ msgstr "Új formátum neve"
msgid "Formats"
msgstr "Formátumok"
#: ../functions.php:699
msgid "Search Authors"
msgstr "Szerző keresése"
#: ../functions.php:681
msgid "View Formats"
msgstr "Formátumok megjelenítése"
#: ../functions.php:700
msgid "All Authors"
msgstr "Minden szerző"
#: ../functions.php:682
msgid "Popular Formats"
msgstr "Népszerű formátumok"
#: ../functions.php:701
msgid "Parent Author"
msgstr "Szülő szerző"
#: ../functions.php:683
msgid "Separate formats with commas"
msgstr "Formátumokat vesszővel válaszd el"
#: ../functions.php:702
msgid "Parent Author:"
msgstr "Szülő szerző:"
#: ../functions.php:684
msgid "Add or remove formats"
msgstr "Formátumok hozzáadása vagy eltávolítása"
#: ../functions.php:703
msgid "Edit Author"
msgstr "Szerző szerkesztése"
#: ../functions.php:685
msgid "Choose from most used formats"
msgstr "Választás a leggyakoribb formátumok közül"
#: ../functions.php:704
msgid "Update Author"
msgstr "Szerző frissítése"
#: ../functions.php:686
msgid "No formats found"
msgstr "Formátum nem található"
#: ../functions.php:705
msgid "Add New Author"
msgstr "Új szerző hozzáadása"
#: ../functions.php:687
msgid "Back to formats"
msgstr "Vissza a formátumokhoz"
#: ../functions.php:706
msgid "New Author Name"
msgstr "Új szerző neve"
#: ../functions.php:708
msgid "Search Writers"
msgstr "Cikkírók keresése"
#: ../functions.php:707
msgid "Authors"
msgstr ""
#: ../functions.php:709
msgid "All Writers"
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
#, javascript-format
@@ -146,12 +202,12 @@ msgstr "Érvénytelen JSON fájl: %s"
#: ../node_modules/yargs/lib/usage.js:169
msgid "Commands:"
msgstr "Parancsok"
msgstr "Parancsok:"
#: ../node_modules/yargs/lib/usage.js:177
#: ../node_modules/yargs/lib/usage.js:407
msgid "default:"
msgstr "Alapértelmezett:"
msgstr "alapértelmezett:"
#: ../node_modules/yargs/lib/usage.js:179
msgid "aliases:"
@@ -238,6 +294,57 @@ msgstr ""
msgid "%s Search Results for "
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"
#~ msgstr "Archívum"
@@ -330,6 +437,3 @@ msgstr "%s Találatok "
#~ msgid "Tag Archive: "
#~ 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 //get the post format
$terms = get_the_terms($post->ID, 'Format');
if ($terms) {
if ($terms && ! is_wp_error( $terms )) {
foreach ($terms as $term) {
echo '| ';
echo $term->name;

View File

@@ -299,7 +299,7 @@ $v-unit-6: 24rem;
flex-direction: row;
justify-content: space-between;
align-items: center;
z-index: 3;
z-index: 3000;
@media #{$smalldesktop} {
height: 0;
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 */

View File

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

View File

@@ -1,7 +1,7 @@
/*
Theme Name: 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
Author: Gyetvai Péter
Author URI: https://gyetvai-peter.hu