error, no result pages
This commit is contained in:
12
404.php
12
404.php
@@ -6,12 +6,14 @@
|
||||
|
||||
<!-- article -->
|
||||
<article id="post-404">
|
||||
|
||||
<div class="archivetitle 404-title">
|
||||
<h1><?php _e( 'Page not found', 'dis2019' ); ?></h1>
|
||||
<h2>
|
||||
<a href="<?php echo home_url(); ?>"><?php _e( 'Return home?', 'dis2019' ); ?></a>
|
||||
</h2>
|
||||
|
||||
<div class="toHome">
|
||||
<a href="<?php echo esc_url( home_url( '/' ) ); ?>">
|
||||
← <?php _e('Back to home:', 'dis2019');?>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<!-- /article -->
|
||||
|
||||
|
||||
@@ -1,5 +1,11 @@
|
||||
# Felhasználói kézikönyv
|
||||
|
||||
## Tesztoldal elérhetősége
|
||||
|
||||
[dis.gyetpet.dynu.net](https://dis.gyetpet.dynu.net)
|
||||
|
||||
Ez általában ugynaz a verzió mint itt git-en, de előfordulhat, hogy a git le van maradva.
|
||||
|
||||
## Különböző elemek szerkesztése
|
||||
|
||||
### Bejegyzések
|
||||
@@ -103,5 +109,6 @@ nvm install 11
|
||||
nvm use 11
|
||||
sudo apt install python
|
||||
npm install gulp-cli -g
|
||||
nvm install dev
|
||||
npm install dev
|
||||
```
|
||||
`gulp watch`
|
||||
|
||||
10
_teendők.md
10
_teendők.md
@@ -13,8 +13,6 @@ felgördülő alcím -> pozíciója a kép alsó éléhez igazodik
|
||||
|
||||
Nyitócikkek felgördülő lead hosszát pontosítani
|
||||
|
||||
Nagycímes címek, még feljebb
|
||||
|
||||
semmiképpen ne lógjon a cím elé a felgördölő cucc
|
||||
|
||||
Max karakterszám alcímnél, hogy hova menjen
|
||||
@@ -28,19 +26,15 @@ Kezdőlap:
|
||||
|
||||
# Kategória oldalak
|
||||
|
||||
reszponzivitás több oldalméreten megnézni
|
||||
vonalak néhol túlvékonyodik, vastagodik - egyenletlen
|
||||
|
||||
# menü
|
||||
|
||||
# Oldal
|
||||
|
||||
!Nincs találat oldal, pl keresésnél
|
||||
|
||||
404 oldal
|
||||
|
||||
Menü oldalakat átnézni, mi hiányzik még, miről van adat egyáltalán
|
||||
|
||||
# keresési eredmények
|
||||
|
||||
# egyéb
|
||||
|
||||
Cookie értesítés
|
||||
|
||||
2165
css/base.css
2165
css/base.css
File diff suppressed because it is too large
Load Diff
@@ -52,6 +52,17 @@ function dis2019_customizer_settings($wp_customize)
|
||||
'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',
|
||||
)));
|
||||
|
||||
//__('Choose from most used writer', 'dis2019')
|
||||
// get_theme_mod( 'dis-2019-posts-on-home' );
|
||||
}
|
||||
|
||||
@@ -124,8 +124,8 @@ function dis2019_header_scripts()
|
||||
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('clamp', get_template_directory_uri() . '/js/lib/clamp.min.js', array(), '1.5.1'); //
|
||||
wp_enqueue_script('clamp'); // Enqueue it!
|
||||
|
||||
wp_register_script('dis2019scripts', get_template_directory_uri() . '/js/scripts.js', array(
|
||||
'jquery',
|
||||
@@ -323,7 +323,8 @@ function remove_thumbnail_dimensions($html)
|
||||
}
|
||||
|
||||
//Wrap aligned images to a div
|
||||
function wrap_aligned_images($content){
|
||||
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');
|
||||
@@ -435,7 +436,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');
|
||||
}
|
||||
if ($args['s']) {
|
||||
// console_debug('search query');
|
||||
$offset = get_theme_mod('dis-2019-posts-on-archive');
|
||||
}
|
||||
|
||||
if ($args['tag']) {
|
||||
// console_debug('tag query');
|
||||
$offset = get_theme_mod('dis-2019-posts-on-tag');
|
||||
}
|
||||
|
||||
//Next, determine how many posts per page you want (we'll use WordPress's settings)
|
||||
$ppp = get_option('posts_per_page');
|
||||
@@ -493,8 +509,9 @@ 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;
|
||||
}
|
||||
|
||||
@@ -509,6 +526,10 @@ function dis_2019_more_posts_on_home(&$query)
|
||||
$pposts = get_theme_mod('dis-2019-posts-on-home');
|
||||
} elseif ($query->is_tag()) {
|
||||
$pposts = get_theme_mod('dis-2019-posts-on-tag');
|
||||
} elseif ($query->is_archive()) {
|
||||
$pposts = get_theme_mod('dis-2019-posts-on-archive');
|
||||
} elseif ($query->is_search()) {
|
||||
$pposts = get_theme_mod('dis-2019-posts-on-archive');
|
||||
} elseif (!$query->in_the_loop()) {
|
||||
return;
|
||||
} else {
|
||||
|
||||
146
js/scripts.js
146
js/scripts.js
@@ -60,7 +60,7 @@
|
||||
}
|
||||
})()
|
||||
|
||||
const isTablet = (!isMobile && (wow < 1024 || wiw < 1024)) ? true : false
|
||||
const isTablet = (!isMobile && (wow < 1024 && wiw < 1024)) ? true : false
|
||||
|
||||
/**
|
||||
* Checks if body has a class
|
||||
@@ -93,6 +93,9 @@
|
||||
//isSearch
|
||||
const isSearch = bodyHasClass('search-results')
|
||||
|
||||
//isSearchNoResults
|
||||
const isSearchNoResults = bodyHasClass('search-no-results')
|
||||
|
||||
//isEsemeny
|
||||
const isEsemeny = bodyHasClass('category-esemeny')
|
||||
|
||||
@@ -100,7 +103,7 @@
|
||||
const isSingle = bodyHasClass('single')
|
||||
|
||||
// Masonrypage: archive, home or search results
|
||||
var isMasonryPage = isArchive || isHome || isSearch
|
||||
var isMasonryPage = isArchive || isHome || isSearch || isSearchNoResults
|
||||
|
||||
|
||||
/* ========================================================================== */
|
||||
@@ -164,12 +167,13 @@
|
||||
/* ========================================================================== */
|
||||
|
||||
var menuWidth = wow
|
||||
if (!isMobile) {
|
||||
menuWidth = 500
|
||||
}
|
||||
|
||||
if (isTablet) {
|
||||
menuWidth = 350
|
||||
}
|
||||
if (!isMobile && !isTablet) {
|
||||
menuWidth = 500
|
||||
}
|
||||
|
||||
$("#sidebar").simplerSidebar({
|
||||
|
||||
@@ -212,9 +216,22 @@
|
||||
/* -------------------------------------------------------------------------- */
|
||||
|
||||
|
||||
/* ------------------------------- no results ------------------------------- */
|
||||
|
||||
|
||||
if (isMasonryPage && $("article").hasClass('no-result')) {
|
||||
$('body').addClass("no-result")
|
||||
if (!isMobile) {
|
||||
$('article.no-result h2').appendTo('.archivetitle')
|
||||
$('article.no-result').hide()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/* ----------------------------- css on desktop ----------------------------- */
|
||||
|
||||
/* ------------------------------ wrap articles ----------------------------- */
|
||||
|
||||
if (!isMobile) {
|
||||
if (isMasonryPage) {
|
||||
//no overflowY
|
||||
@@ -268,6 +285,8 @@
|
||||
}
|
||||
}
|
||||
|
||||
/* -------------------------------- other css ------------------------------- */
|
||||
|
||||
//add bottom scrollbar to div on bottom:
|
||||
if (bottomScrollHeight > 0) {
|
||||
$(".home_wrapper-big .metadata").css({ bottom: bottomScrollHeight })
|
||||
@@ -276,12 +295,17 @@
|
||||
}
|
||||
|
||||
//fit title
|
||||
$(".archivetitle h1").fitText(0.6)
|
||||
$("body:not(.no-result) .archivetitle h1").fitText(0.7)
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}//isMasonryPage end
|
||||
}// !isMobile end
|
||||
|
||||
/* ----------------------------- random cutouts ----------------------------- */
|
||||
|
||||
function random2() {
|
||||
const choices = [
|
||||
[1, 3],
|
||||
@@ -332,6 +356,12 @@
|
||||
$('html, body').stop().animate({ scrollTop: 0 }, 800);
|
||||
})
|
||||
|
||||
//hide totop if not needed
|
||||
if (!($("main").height() > $(window).height()) && isMobile) {
|
||||
$(".totop").hide()
|
||||
}
|
||||
|
||||
|
||||
/* ---------------------------- Scroll on desktop --------------------------- */
|
||||
|
||||
/**
|
||||
@@ -607,16 +637,18 @@
|
||||
},
|
||||
success: function (data) {
|
||||
if (data) {
|
||||
if (data.length < 100) {
|
||||
if (data.length < 102) {
|
||||
button.children().remove(); // if last page, remove the button
|
||||
noMoreAjax = true
|
||||
return false
|
||||
}
|
||||
|
||||
// console.log(data.length)
|
||||
|
||||
button.html('<a>Mutass többet</a>').before(data); // insert new posts
|
||||
misha_loadmore_params.current_page++;
|
||||
button.trigger("moreload-finish", scroll)
|
||||
console.log("loading:", data.length)
|
||||
// console.log("loading:", data.length)
|
||||
|
||||
// you can also fire the "post-load" event here if you use a plugin that requires it
|
||||
// $( document.body ).trigger( 'post-load' );
|
||||
@@ -624,7 +656,7 @@
|
||||
} else {
|
||||
button.children().remove(); // if no data, remove the button as well
|
||||
noMoreAjax = true
|
||||
console.log("no data")
|
||||
// console.log("no data")
|
||||
}
|
||||
}
|
||||
});
|
||||
@@ -639,17 +671,34 @@
|
||||
|
||||
/* ------------------------------ hover on home ----------------------------- */
|
||||
|
||||
var bigMetadataHeight
|
||||
var defaultMetadataHeight
|
||||
var openedMetadataHeight
|
||||
|
||||
//hover on big articles
|
||||
$(".home-big h2 a").hover(function () {
|
||||
let cc = $(this)
|
||||
let cArticle = cc.parents("article")
|
||||
let cMetadata = cArticle.children(".metadata")
|
||||
if (!bigMetadataHeight) {
|
||||
bigMetadataHeight = cMetadata[0].getBoundingClientRect().height
|
||||
let cBevezeto = cMetadata.children(".bevezeto")[0]
|
||||
|
||||
// calculate default height
|
||||
if (!defaultMetadataHeight) {
|
||||
defaultMetadataHeight = cMetadata[0].getBoundingClientRect().height
|
||||
}
|
||||
|
||||
//calculate opened height
|
||||
if (!openedMetadataHeight) {
|
||||
let h2H = 0
|
||||
$(".home-big h2").each(function () {
|
||||
if ($(this)[0].getBoundingClientRect().height > h2H) {
|
||||
h2H = $(this)[0].getBoundingClientRect().height
|
||||
}
|
||||
})
|
||||
let artH = cArticle[0].getBoundingClientRect().height
|
||||
openedMetadataHeight = artH - bottomScrollHeight - h2H
|
||||
// $('.alcim').css({width: openedMetadataHeight})
|
||||
$('.bevezeto').css({height: openedMetadataHeight})
|
||||
}
|
||||
|
||||
//add hovered class
|
||||
cArticle.addClass("hovered")
|
||||
@@ -663,10 +712,13 @@
|
||||
cMetadata.children(".categories, .postedon").addClass("transparent")
|
||||
|
||||
//animate border
|
||||
cMetadata.stop().animate({ height: "25rem" }, 400, _ => {
|
||||
cMetadata.stop().animate({ height: openedMetadataHeight }, 400, _ => {
|
||||
//hide metadata
|
||||
cMetadata.children(".categories, .postedon").hide().removeClass("transparent")
|
||||
cMetadata.children(".alcim, .bevezeto").show().removeClass("transparent")
|
||||
|
||||
//clamp bevezető
|
||||
$clamp(cBevezeto, { clamp: 'auto' });
|
||||
})
|
||||
|
||||
|
||||
@@ -687,14 +739,65 @@
|
||||
cMetadata.children(".alcim, .bevezeto").addClass("transparent")
|
||||
|
||||
//animate height change
|
||||
cMetadata.stop().animate({ height: bigMetadataHeight }, 400, _ => {
|
||||
cMetadata.stop().animate({ height: defaultMetadataHeight }, 400, _ => {
|
||||
//hide and show metadata
|
||||
cMetadata.children(".alcim, .bevezeto").hide().removeClass("transparent")
|
||||
cMetadata.children(".categories, .postedon").removeClass("transparent").show()
|
||||
})
|
||||
|
||||
})
|
||||
|
||||
|
||||
// for testing:
|
||||
var bighovertest = (function () {
|
||||
let cc = $(".home_wrapper-1 .home-big h2 a")
|
||||
let cArticle = cc.parents("article")
|
||||
let cMetadata = cArticle.children(".metadata")
|
||||
let cBevezeto = cMetadata.children(".bevezeto")[0]
|
||||
|
||||
// calculate default height
|
||||
if (!defaultMetadataHeight) {
|
||||
defaultMetadataHeight = cMetadata[0].getBoundingClientRect().height
|
||||
}
|
||||
|
||||
//calculate opened height
|
||||
if (!openedMetadataHeight) {
|
||||
let h2H = 0
|
||||
$(".home-big h2").each(function () {
|
||||
if ($(this)[0].getBoundingClientRect().height > h2H) {
|
||||
h2H = $(this)[0].getBoundingClientRect().height
|
||||
}
|
||||
})
|
||||
let artH = cArticle[0].getBoundingClientRect().height
|
||||
openedMetadataHeight = artH - bottomScrollHeight - h2H
|
||||
// cMetadata.children('.alcim').css({width: openedMetadataHeight})
|
||||
$('.bevezeto').css({height: openedMetadataHeight})
|
||||
}
|
||||
|
||||
|
||||
|
||||
//add hovered class
|
||||
cArticle.addClass("hovered")
|
||||
|
||||
//add tag to header for bg
|
||||
let artClasses = cArticle.attr("class").split(" ")
|
||||
let theTag = findClassByStart(artClasses, "tag")
|
||||
$("body, .header-1, .header-2").addClass("hover-" + theTag)
|
||||
|
||||
//transparent metadata
|
||||
cMetadata.children(".categories, .postedon").addClass("transparent")
|
||||
|
||||
//animate border
|
||||
cMetadata.stop().animate({ height: openedMetadataHeight }, 400, _ => {
|
||||
//hide metadata
|
||||
cMetadata.children(".categories, .postedon").hide().removeClass("transparent")
|
||||
cMetadata.children(".alcim, .bevezeto").show().removeClass("transparent")
|
||||
|
||||
//clamp bevezető
|
||||
$clamp(cBevezeto, { clamp: 'auto' });
|
||||
})
|
||||
})()
|
||||
|
||||
|
||||
/**
|
||||
* finds a name of a class, from the first element
|
||||
* @param {Array} classlist the list of classes to search from as an array
|
||||
@@ -714,15 +817,21 @@
|
||||
|
||||
//hover on small articles
|
||||
function showTitle(th) {
|
||||
if (!$('body').hasClass('no-result')) {
|
||||
$(th).children("h2").show()
|
||||
$(th).children(".metadata").addClass("vis")
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
function hideTitle(th) {
|
||||
if (!$('body').hasClass('no-result')) {
|
||||
$(th).children("h2").hide()
|
||||
$(th).children(".metadata").removeClass("vis")
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
$(document).on({
|
||||
mouseenter: function () {
|
||||
if (!Modernizr.touchevents) {
|
||||
@@ -752,13 +861,6 @@
|
||||
}, ".home-small a.thumbnailwrapper")
|
||||
|
||||
|
||||
/* ------------------------------- no results ------------------------------- */
|
||||
|
||||
|
||||
if (isMasonryPage && $("article").hasClass('no-result')) {
|
||||
$('body').addClass("no-result")
|
||||
}
|
||||
|
||||
/* -------------------------------------------------------------------------- */
|
||||
/* EVENTS - ESEMÉNYEK */
|
||||
/* -------------------------------------------------------------------------- */
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: dis-2019 WordPress Theme\n"
|
||||
"POT-Creation-Date: 2019-08-02 20:50+0200\n"
|
||||
"POT-Creation-Date: 2019-08-13 17:02+0200\n"
|
||||
"PO-Revision-Date: \n"
|
||||
"Last-Translator: Jürgen Rabe | www.egado.de <rabe@egado.de>\n"
|
||||
"Language-Team: \n"
|
||||
@@ -25,7 +25,7 @@ msgstr ""
|
||||
msgid "Return home?"
|
||||
msgstr ""
|
||||
|
||||
#: ../category-esemeny.php:74 ../loop.php:99 ../singular.php:163
|
||||
#: ../category-esemeny.php:76 ../loop.php:16 ../singular.php:144
|
||||
msgid "Sorry, nothing to display."
|
||||
msgstr ""
|
||||
|
||||
@@ -61,165 +61,165 @@ msgstr ""
|
||||
msgid "Be, do, think, love pages. Use 6*n-2 numbers, e.g. 4, 10, 16, 22... "
|
||||
msgstr ""
|
||||
|
||||
#: ../functions.php:239
|
||||
#: ../functions.php:174
|
||||
msgid "Main menu left"
|
||||
msgstr ""
|
||||
|
||||
#: ../functions.php:240
|
||||
#: ../functions.php:175
|
||||
msgid "Main menu right"
|
||||
msgstr ""
|
||||
|
||||
#: ../functions.php:242
|
||||
#: ../functions.php:177
|
||||
msgid "Circular tags"
|
||||
msgstr ""
|
||||
|
||||
#: ../functions.php:368
|
||||
#: ../functions.php:303
|
||||
msgid "View Article"
|
||||
msgstr ""
|
||||
|
||||
#: ../functions.php:432
|
||||
#: ../functions.php:373
|
||||
#, php-format
|
||||
msgid "<cite class=\"fn\">%s</cite> <span class=\"says\">says:</span>"
|
||||
msgstr ""
|
||||
|
||||
#: ../functions.php:435
|
||||
#: ../functions.php:376
|
||||
msgid "Your comment is awaiting moderation."
|
||||
msgstr ""
|
||||
|
||||
#: ../functions.php:441
|
||||
#: ../functions.php:382
|
||||
#, php-format
|
||||
msgid "%1$s at %2$s"
|
||||
msgstr ""
|
||||
|
||||
#: ../functions.php:441
|
||||
#: ../functions.php:382
|
||||
msgid "(Edit)"
|
||||
msgstr ""
|
||||
|
||||
#: ../functions.php:684
|
||||
#: ../functions.php:665
|
||||
msgid "Search Formats"
|
||||
msgstr ""
|
||||
|
||||
#: ../functions.php:685
|
||||
#: ../functions.php:666
|
||||
msgid "All Formats"
|
||||
msgstr ""
|
||||
|
||||
#: ../functions.php:686
|
||||
#: ../functions.php:667
|
||||
msgid "Parent Format"
|
||||
msgstr ""
|
||||
|
||||
#: ../functions.php:687
|
||||
#: ../functions.php:668
|
||||
msgid "Parent Format:"
|
||||
msgstr ""
|
||||
|
||||
#: ../functions.php:688
|
||||
#: ../functions.php:669
|
||||
msgid "Edit Format"
|
||||
msgstr ""
|
||||
|
||||
#: ../functions.php:689
|
||||
#: ../functions.php:670
|
||||
msgid "Update Format"
|
||||
msgstr ""
|
||||
|
||||
#: ../functions.php:690
|
||||
#: ../functions.php:671
|
||||
msgid "Add New Format"
|
||||
msgstr ""
|
||||
|
||||
#: ../functions.php:691
|
||||
#: ../functions.php:672
|
||||
msgid "New Format Name"
|
||||
msgstr ""
|
||||
|
||||
#: ../functions.php:692
|
||||
#: ../functions.php:673
|
||||
msgid "Formats"
|
||||
msgstr ""
|
||||
|
||||
#: ../functions.php:694
|
||||
#: ../functions.php:675
|
||||
msgid "View Formats"
|
||||
msgstr ""
|
||||
|
||||
#: ../functions.php:695
|
||||
#: ../functions.php:676
|
||||
msgid "Popular Formats"
|
||||
msgstr ""
|
||||
|
||||
#: ../functions.php:696
|
||||
#: ../functions.php:677
|
||||
msgid "Separate formats with commas"
|
||||
msgstr ""
|
||||
|
||||
#: ../functions.php:697
|
||||
#: ../functions.php:678
|
||||
msgid "Add or remove formats"
|
||||
msgstr ""
|
||||
|
||||
#: ../functions.php:698
|
||||
#: ../functions.php:679
|
||||
msgid "Choose from most used formats"
|
||||
msgstr ""
|
||||
|
||||
#: ../functions.php:699
|
||||
#: ../functions.php:680
|
||||
msgid "No formats found"
|
||||
msgstr ""
|
||||
|
||||
#: ../functions.php:700
|
||||
#: ../functions.php:681
|
||||
msgid "Back to formats"
|
||||
msgstr ""
|
||||
|
||||
#: ../functions.php:721
|
||||
#: ../functions.php:702
|
||||
msgid "Search Writers"
|
||||
msgstr ""
|
||||
|
||||
#: ../functions.php:722
|
||||
#: ../functions.php:703
|
||||
msgid "All Writers"
|
||||
msgstr ""
|
||||
|
||||
#: ../functions.php:723
|
||||
#: ../functions.php:704
|
||||
msgid "Parent Writer"
|
||||
msgstr ""
|
||||
|
||||
#: ../functions.php:724
|
||||
#: ../functions.php:705
|
||||
msgid "Parent Writer:"
|
||||
msgstr ""
|
||||
|
||||
#: ../functions.php:725
|
||||
#: ../functions.php:706
|
||||
msgid "Edit Writer"
|
||||
msgstr ""
|
||||
|
||||
#: ../functions.php:726
|
||||
#: ../functions.php:707
|
||||
msgid "Update Writer"
|
||||
msgstr ""
|
||||
|
||||
#: ../functions.php:727
|
||||
#: ../functions.php:708
|
||||
msgid "Add New Writer"
|
||||
msgstr ""
|
||||
|
||||
#: ../functions.php:728
|
||||
#: ../functions.php:709
|
||||
msgid "New Writer Name"
|
||||
msgstr ""
|
||||
|
||||
#: ../functions.php:729
|
||||
#: ../functions.php:710
|
||||
msgid "Writers"
|
||||
msgstr ""
|
||||
|
||||
#: ../functions.php:731
|
||||
#: ../functions.php:712
|
||||
msgid "View Writers"
|
||||
msgstr ""
|
||||
|
||||
#: ../functions.php:732
|
||||
#: ../functions.php:713
|
||||
msgid "Popular Writers"
|
||||
msgstr ""
|
||||
|
||||
#: ../functions.php:733
|
||||
#: ../functions.php:714
|
||||
msgid "Separate writers with commas"
|
||||
msgstr ""
|
||||
|
||||
#: ../functions.php:734
|
||||
#: ../functions.php:715
|
||||
msgid "Add or remove writers"
|
||||
msgstr ""
|
||||
|
||||
#: ../functions.php:735
|
||||
#: ../functions.php:716
|
||||
msgid "Choose from most used writer"
|
||||
msgstr ""
|
||||
|
||||
#: ../functions.php:736
|
||||
#: ../functions.php:717
|
||||
msgid "No writer found"
|
||||
msgstr ""
|
||||
|
||||
#: ../functions.php:737
|
||||
#: ../functions.php:718
|
||||
msgid "Back to writers"
|
||||
msgstr ""
|
||||
|
||||
@@ -228,11 +228,11 @@ msgstr ""
|
||||
msgid "%s search results for"
|
||||
msgstr ""
|
||||
|
||||
#: ../singular.php:97
|
||||
#: ../singular.php:100
|
||||
msgid "More posts:"
|
||||
msgstr ""
|
||||
|
||||
#: ../singular.php:142
|
||||
#: ../singular.php:123
|
||||
msgid "Back to home:"
|
||||
msgstr ""
|
||||
|
||||
|
||||
Binary file not shown.
@@ -1,7 +1,7 @@
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: dis-2019 WordPress Theme\n"
|
||||
"POT-Creation-Date: 2019-08-02 20:50+0200\n"
|
||||
"POT-Creation-Date: 2019-08-13 17:03+0200\n"
|
||||
"PO-Revision-Date: \n"
|
||||
"Last-Translator: Péter Gyetvai <gyetpet@mailbox.org>\n"
|
||||
"Language-Team: \n"
|
||||
@@ -25,9 +25,9 @@ msgstr "A keresett oldal nem található"
|
||||
msgid "Return home?"
|
||||
msgstr "Vissza a főoldalra?"
|
||||
|
||||
#: ../category-esemeny.php:74 ../loop.php:99 ../singular.php:163
|
||||
#: ../category-esemeny.php:76 ../loop.php:16 ../singular.php:144
|
||||
msgid "Sorry, nothing to display."
|
||||
msgstr "Nincs tartalom."
|
||||
msgstr "Nincs találat"
|
||||
|
||||
#: ../customizer.php:16
|
||||
msgid "Event category id"
|
||||
@@ -65,165 +65,165 @@ msgstr ""
|
||||
"Be, do, think, love listák. Használj 6*n-2 számokat, például 4, 10, 16, "
|
||||
"22... "
|
||||
|
||||
#: ../functions.php:239
|
||||
#: ../functions.php:174
|
||||
msgid "Main menu left"
|
||||
msgstr "Főmenü bal"
|
||||
|
||||
#: ../functions.php:240
|
||||
#: ../functions.php:175
|
||||
msgid "Main menu right"
|
||||
msgstr "Főmenü jobb"
|
||||
|
||||
#: ../functions.php:242
|
||||
#: ../functions.php:177
|
||||
msgid "Circular tags"
|
||||
msgstr "Kör címkék"
|
||||
|
||||
#: ../functions.php:368
|
||||
#: ../functions.php:303
|
||||
msgid "View Article"
|
||||
msgstr "Tartalom Megtekintése"
|
||||
|
||||
#: ../functions.php:432
|
||||
#: ../functions.php:373
|
||||
#, 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:435
|
||||
#: ../functions.php:376
|
||||
msgid "Your comment is awaiting moderation."
|
||||
msgstr "A hozzászólás moderálásra vár."
|
||||
|
||||
#: ../functions.php:441
|
||||
#: ../functions.php:382
|
||||
#, php-format
|
||||
msgid "%1$s at %2$s"
|
||||
msgstr "%1$s - %2$s"
|
||||
|
||||
#: ../functions.php:441
|
||||
#: ../functions.php:382
|
||||
msgid "(Edit)"
|
||||
msgstr "(Szerkesztés)"
|
||||
|
||||
#: ../functions.php:684
|
||||
#: ../functions.php:665
|
||||
msgid "Search Formats"
|
||||
msgstr "Formátumok keresése"
|
||||
|
||||
#: ../functions.php:685
|
||||
#: ../functions.php:666
|
||||
msgid "All Formats"
|
||||
msgstr "Minden formátum"
|
||||
|
||||
#: ../functions.php:686
|
||||
#: ../functions.php:667
|
||||
msgid "Parent Format"
|
||||
msgstr "Szülő formátum"
|
||||
|
||||
#: ../functions.php:687
|
||||
#: ../functions.php:668
|
||||
msgid "Parent Format:"
|
||||
msgstr "Szülő formátum:"
|
||||
|
||||
#: ../functions.php:688
|
||||
#: ../functions.php:669
|
||||
msgid "Edit Format"
|
||||
msgstr "Formátum szerkesztése"
|
||||
|
||||
#: ../functions.php:689
|
||||
#: ../functions.php:670
|
||||
msgid "Update Format"
|
||||
msgstr "Formátum frissítése"
|
||||
|
||||
#: ../functions.php:690
|
||||
#: ../functions.php:671
|
||||
msgid "Add New Format"
|
||||
msgstr "Új formátum hozzáadása"
|
||||
|
||||
#: ../functions.php:691
|
||||
#: ../functions.php:672
|
||||
msgid "New Format Name"
|
||||
msgstr "Új formátum neve"
|
||||
|
||||
#: ../functions.php:692
|
||||
#: ../functions.php:673
|
||||
msgid "Formats"
|
||||
msgstr "Formátumok"
|
||||
|
||||
#: ../functions.php:694
|
||||
#: ../functions.php:675
|
||||
msgid "View Formats"
|
||||
msgstr "Formátumok megjelenítése"
|
||||
|
||||
#: ../functions.php:695
|
||||
#: ../functions.php:676
|
||||
msgid "Popular Formats"
|
||||
msgstr "Népszerű formátumok"
|
||||
|
||||
#: ../functions.php:696
|
||||
#: ../functions.php:677
|
||||
msgid "Separate formats with commas"
|
||||
msgstr "Formátumokat vesszővel válaszd el"
|
||||
|
||||
#: ../functions.php:697
|
||||
#: ../functions.php:678
|
||||
msgid "Add or remove formats"
|
||||
msgstr "Formátumok hozzáadása vagy eltávolítása"
|
||||
|
||||
#: ../functions.php:698
|
||||
#: ../functions.php:679
|
||||
msgid "Choose from most used formats"
|
||||
msgstr "Választás a leggyakoribb formátumok közül"
|
||||
|
||||
#: ../functions.php:699
|
||||
#: ../functions.php:680
|
||||
msgid "No formats found"
|
||||
msgstr "Formátum nem található"
|
||||
|
||||
#: ../functions.php:700
|
||||
#: ../functions.php:681
|
||||
msgid "Back to formats"
|
||||
msgstr "Vissza a formátumokhoz"
|
||||
|
||||
#: ../functions.php:721
|
||||
#: ../functions.php:702
|
||||
msgid "Search Writers"
|
||||
msgstr "Cikkírók keresése"
|
||||
|
||||
#: ../functions.php:722
|
||||
#: ../functions.php:703
|
||||
msgid "All Writers"
|
||||
msgstr "Minden cikkíró"
|
||||
|
||||
#: ../functions.php:723
|
||||
#: ../functions.php:704
|
||||
msgid "Parent Writer"
|
||||
msgstr "Szülő cikkíró"
|
||||
|
||||
#: ../functions.php:724
|
||||
#: ../functions.php:705
|
||||
msgid "Parent Writer:"
|
||||
msgstr "Szülő cikkíró:"
|
||||
|
||||
#: ../functions.php:725
|
||||
#: ../functions.php:706
|
||||
msgid "Edit Writer"
|
||||
msgstr "Cikkíró szerkesztése"
|
||||
|
||||
#: ../functions.php:726
|
||||
#: ../functions.php:707
|
||||
msgid "Update Writer"
|
||||
msgstr "Cikkíró frissítése"
|
||||
|
||||
#: ../functions.php:727
|
||||
#: ../functions.php:708
|
||||
msgid "Add New Writer"
|
||||
msgstr "Új cikkíró hozzáadása"
|
||||
|
||||
#: ../functions.php:728
|
||||
#: ../functions.php:709
|
||||
msgid "New Writer Name"
|
||||
msgstr "Új cikkíró neve"
|
||||
|
||||
#: ../functions.php:729
|
||||
#: ../functions.php:710
|
||||
msgid "Writers"
|
||||
msgstr "Cikkírók"
|
||||
|
||||
#: ../functions.php:731
|
||||
#: ../functions.php:712
|
||||
msgid "View Writers"
|
||||
msgstr "Cikkírók Megtekintése"
|
||||
|
||||
#: ../functions.php:732
|
||||
#: ../functions.php:713
|
||||
msgid "Popular Writers"
|
||||
msgstr "Népszerű cikkírók"
|
||||
|
||||
#: ../functions.php:733
|
||||
#: ../functions.php:714
|
||||
msgid "Separate writers with commas"
|
||||
msgstr "Cikkírókat vesszővel válaszd el"
|
||||
|
||||
#: ../functions.php:734
|
||||
#: ../functions.php:715
|
||||
msgid "Add or remove writers"
|
||||
msgstr "Cikkírók hozzáadása vagy eltávolítása"
|
||||
|
||||
#: ../functions.php:735
|
||||
#: ../functions.php:716
|
||||
msgid "Choose from most used writer"
|
||||
msgstr "Választás a leggyakoribb cikkírók közül"
|
||||
|
||||
#: ../functions.php:736
|
||||
#: ../functions.php:717
|
||||
msgid "No writer found"
|
||||
msgstr "Cikkíró nem található"
|
||||
|
||||
#: ../functions.php:737
|
||||
#: ../functions.php:718
|
||||
msgid "Back to writers"
|
||||
msgstr "Vissza a cikkírókhoz"
|
||||
|
||||
@@ -232,11 +232,11 @@ msgstr "Vissza a cikkírókhoz"
|
||||
msgid "%s search results for"
|
||||
msgstr "%s találat"
|
||||
|
||||
#: ../singular.php:97
|
||||
#: ../singular.php:100
|
||||
msgid "More posts:"
|
||||
msgstr "További cikkeink:"
|
||||
|
||||
#: ../singular.php:142
|
||||
#: ../singular.php:123
|
||||
msgid "Back to home:"
|
||||
msgstr "Vissza a főoldalra"
|
||||
|
||||
|
||||
@@ -39,6 +39,9 @@ print implode(' | ', $echos);
|
||||
<?php endif;?>
|
||||
</div><!-- categories end-->
|
||||
<?php if (is_home() and $qc < 3): ; //first two posts subtitle and excerpt ?>
|
||||
<!-- <div class="alcimWrapper"> -->
|
||||
|
||||
|
||||
<div class="alcim">
|
||||
<?php
|
||||
$dis_alcim_value = get_post_meta(get_the_ID(), 'dis-alcim', true);
|
||||
@@ -48,6 +51,7 @@ print implode(' | ', $echos);
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
<!-- </div> -->
|
||||
<?php endif;?>
|
||||
<div class="vr"></div>
|
||||
<div class="postedon">
|
||||
|
||||
153
sass/base.scss
153
sass/base.scss
@@ -750,7 +750,9 @@ $v-unit-6: 24rem;
|
||||
|
||||
.archive,
|
||||
.home,
|
||||
.search-results {
|
||||
.search-results,
|
||||
.search-no-results,
|
||||
.error404 {
|
||||
@media #{$tablet} {
|
||||
// overflow-y: hidden;
|
||||
}
|
||||
@@ -878,7 +880,7 @@ $v-unit-6: 24rem;
|
||||
}
|
||||
|
||||
.bevezeto,
|
||||
.alcim,
|
||||
.alcimWrapper,
|
||||
.curvyArrow {
|
||||
display: none;
|
||||
}
|
||||
@@ -928,9 +930,19 @@ $v-unit-6: 24rem;
|
||||
height: unset;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
padding: 4rem;
|
||||
padding-right: 2rem;
|
||||
|
||||
padding: 2rem;
|
||||
padding-left: $v-unit-1;
|
||||
|
||||
width: calc(100vw - #{$h-unit-1-5 * 2.5});
|
||||
@media #{$smalldesktop} {
|
||||
width: calc(100vw - #{$h-unit-5});
|
||||
padding-top: 4rem;
|
||||
}
|
||||
|
||||
a {
|
||||
padding-top: 2rem;
|
||||
}
|
||||
}
|
||||
|
||||
/* -------------------------- home article metadata big------------------------- */
|
||||
@@ -974,29 +986,10 @@ $v-unit-6: 24rem;
|
||||
}
|
||||
|
||||
.bevezeto,
|
||||
.alcim {
|
||||
color: #000 !important;
|
||||
.alcimWrapper {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.alcim {
|
||||
@include transform(rotate(270deg));
|
||||
transform-origin: top bottom;
|
||||
text-align: left;
|
||||
flex: 0 0 auto;
|
||||
height: $h-unit-1;
|
||||
width: 20rem;
|
||||
margin: 0 -3rem;
|
||||
}
|
||||
|
||||
.bevezeto {
|
||||
width: 50%;
|
||||
flex: 0 1 auto;
|
||||
text-align: left;
|
||||
padding: $h-unit-1;
|
||||
@include home-metadata-bevezeto();
|
||||
}
|
||||
|
||||
.transparent,
|
||||
.transparent a {
|
||||
color: transparent !important;
|
||||
@@ -1035,6 +1028,31 @@ $v-unit-6: 24rem;
|
||||
|
||||
/* --------------------- home article desktop big hover --------------------- */
|
||||
&.hovered {
|
||||
.bevezeto,
|
||||
.alcim {
|
||||
color: #000 !important;
|
||||
// flex: 0 0 auto;
|
||||
}
|
||||
|
||||
.alcim {
|
||||
@include transform(rotate(180deg));
|
||||
|
||||
text-align: right;
|
||||
writing-mode: vertical-lr;
|
||||
margin: $v-unit-1 / 2;
|
||||
}
|
||||
|
||||
.bevezeto {
|
||||
height: 100%;
|
||||
max-height: 100%;
|
||||
text-align: left;
|
||||
margin: 0 $v-unit-1 / 2;
|
||||
padding: $v-unit-1 / 2 0;
|
||||
align-self: flex-start;
|
||||
|
||||
@include home-metadata-bevezeto();
|
||||
}
|
||||
|
||||
h2 > a {
|
||||
color: #000;
|
||||
}
|
||||
@@ -1082,7 +1100,8 @@ $v-unit-6: 24rem;
|
||||
/* ----------------------- home articles desktop small ----------------------- */
|
||||
|
||||
@media #{$tablet} {
|
||||
.home_wrapper-small {
|
||||
.home_wrapper-small,
|
||||
#post-404 {
|
||||
height: calc(100vh - #{$v-unit-2});
|
||||
width: calc((100vh - #{$v-unit-2}) / 2 * 3);
|
||||
max-width: calc(100vw - (#{$h-unit-1-5} * 3));
|
||||
@@ -1102,7 +1121,8 @@ $v-unit-6: 24rem;
|
||||
margin-left: $h-unit-1;
|
||||
}
|
||||
}
|
||||
&.home_wrapper-s1.home_wrapper-small.home_wrapper-1 {
|
||||
&.home_wrapper-s1.home_wrapper-small.home_wrapper-1,
|
||||
&#post-404 {
|
||||
margin-left: $h-unit-1-5;
|
||||
@media #{$smalldesktop} {
|
||||
margin-left: $h-unit-2;
|
||||
@@ -1251,7 +1271,7 @@ $v-unit-6: 24rem;
|
||||
}
|
||||
|
||||
.archivetitle {
|
||||
margin: 0 auto;
|
||||
margin: 0;
|
||||
width: calc(100% / 3);
|
||||
position: relative;
|
||||
bottom: 0;
|
||||
@@ -1311,20 +1331,24 @@ $v-unit-6: 24rem;
|
||||
|
||||
/* -------------------------- no results on mobile -------------------------- */
|
||||
|
||||
&.no-result {
|
||||
&.no-result,
|
||||
&.error404,
|
||||
&.search-no-results {
|
||||
.wrapper {
|
||||
height: unset;
|
||||
header {
|
||||
background-color: #000;
|
||||
}
|
||||
#content {
|
||||
.archivetitle {
|
||||
section .archivetitle {
|
||||
padding: 8rem 2rem 0;
|
||||
}
|
||||
|
||||
article.no-result {
|
||||
height: unset;
|
||||
#post-404 {
|
||||
text-align: center;
|
||||
line-height: 1.4;
|
||||
}
|
||||
#content article.no-result {
|
||||
height: unset;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1332,11 +1356,15 @@ $v-unit-6: 24rem;
|
||||
@media #{$tablet} {
|
||||
main {
|
||||
width: 100vw;
|
||||
section#content {
|
||||
section {
|
||||
width: 100%;
|
||||
.home_wrapper-1 {
|
||||
.home_wrapper-1,
|
||||
article#post-404 {
|
||||
position: relative;
|
||||
width: calc(100% - #{$h-unit-1-5 * 2});
|
||||
@media #{$smalldesktop} {
|
||||
width: calc(100% - #{$h-unit-2 * 2});
|
||||
}
|
||||
max-width: unset;
|
||||
.archivetitle {
|
||||
border-bottom: 1px #000 solid;
|
||||
@@ -1347,16 +1375,38 @@ $v-unit-6: 24rem;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
left: 0;
|
||||
top: 0;
|
||||
// top: 0;
|
||||
|
||||
background-color: transparent;
|
||||
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: flex-end;
|
||||
h1 {
|
||||
display: inline-block;
|
||||
position: relative;
|
||||
width: unset;
|
||||
}
|
||||
h2 {
|
||||
@include home-title();
|
||||
display: inline-block;
|
||||
height: unset;
|
||||
top: unset;
|
||||
position: relative;
|
||||
margin: 0;
|
||||
// bottom: 0;
|
||||
}
|
||||
|
||||
.toHome {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
} //home, archive, search end
|
||||
}
|
||||
} //home, archive, search, 404 end
|
||||
|
||||
/* -------------------------------------------------------------------------- */
|
||||
/* Search results */
|
||||
@@ -1374,13 +1424,26 @@ $v-unit-6: 24rem;
|
||||
}
|
||||
|
||||
.search-no-results {
|
||||
main {
|
||||
@media #{$tablet} {
|
||||
padding: 0 $h-unit-4;
|
||||
.wrapper {
|
||||
height: unset;
|
||||
header {
|
||||
background-color: #000;
|
||||
}
|
||||
|
||||
// .archivetitle h1,
|
||||
// article h2 {
|
||||
// }
|
||||
main {
|
||||
section {
|
||||
.archivetitle {
|
||||
padding: 8rem 2rem 0;
|
||||
h1 {
|
||||
text-overflow: ellipsis;
|
||||
overflow: hidden;
|
||||
max-width: 100%;
|
||||
}
|
||||
}
|
||||
.no-result {
|
||||
padding: 2rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1544,6 +1607,8 @@ body.category.category-esemeny {
|
||||
max-width: calc(1024px + #{$h-unit-4});
|
||||
}
|
||||
|
||||
$padd: 2rem;
|
||||
|
||||
.single,
|
||||
.page {
|
||||
//no menus on single
|
||||
@@ -1566,7 +1631,6 @@ body.category.category-esemeny {
|
||||
}
|
||||
}
|
||||
|
||||
$padd: 2rem;
|
||||
/* ---------------------------- single on mobile ---------------------------- */
|
||||
article {
|
||||
padding-bottom: $h-unit-1;
|
||||
@@ -2024,7 +2088,7 @@ body.category.category-esemeny {
|
||||
}
|
||||
}
|
||||
} //#colorbox end
|
||||
|
||||
} //body.single, page end
|
||||
/* ------------------------------ related posts ----------------------------- */
|
||||
|
||||
.toHome,
|
||||
@@ -2264,7 +2328,6 @@ body.category.category-esemeny {
|
||||
}
|
||||
}
|
||||
}
|
||||
} //body.single, page end
|
||||
|
||||
/* -------------------------------- page only------------------------------- */
|
||||
body.page {
|
||||
|
||||
Reference in New Issue
Block a user