3 Commits

Author SHA1 Message Date
infeeeee
1b6cb710f5 single thumbnail 2019-09-11 15:35:46 +02:00
infeeeee
ce39fbe8eb single thumbnail, youtube 2019-09-11 15:27:59 +02:00
infeeeee
98665b9e9a single img height, fb only, related hr color 2019-09-11 14:44:55 +02:00
6 changed files with 34 additions and 16 deletions

View File

@@ -2,8 +2,8 @@
og: tag: pluginnal! og: tag: pluginnal!
Facebook like gomb
# egyéb # egyéb
`@media print{}` `@media print{}`
képaláírás régi

File diff suppressed because one or more lines are too long

View File

@@ -42,6 +42,7 @@ if (function_exists('add_theme_support')) {
add_image_size('home-big-thumbnail', 1024, 1024, true); // Custom Thumbnail Size call using the_post_thumbnail('home-thumbnail'); add_image_size('home-big-thumbnail', 1024, 1024, true); // Custom Thumbnail Size call using the_post_thumbnail('home-thumbnail');
add_image_size('home-small-thumbnail', 256, 256, true); // Custom Thumbnail Size call using the_post_thumbnail('home-thumbnail'); add_image_size('home-small-thumbnail', 256, 256, true); // Custom Thumbnail Size call using the_post_thumbnail('home-thumbnail');
add_image_size('home-event-thumbnail', 1024, 537, true); add_image_size('home-event-thumbnail', 1024, 537, true);
add_image_size('single-thumbnail', 1280, 1280, true);
// Add Support for Custom Backgrounds - Uncomment below if you're going to use // Add Support for Custom Backgrounds - Uncomment below if you're going to use
/*add_theme_support('custom-background', array( /*add_theme_support('custom-background', array(

View File

@@ -1968,7 +1968,7 @@ $padd: 2rem;
bottom: 0; bottom: 0;
width: 100%; width: 100%;
img.attachment-post-thumbnail { img.attachment-single-thumbnail {
// post thumbnail on home // post thumbnail on home
object-fit: cover; object-fit: cover;
@@ -2091,6 +2091,10 @@ $padd: 2rem;
font-weight: 900; font-weight: 900;
} }
iframe{
width: 100%;
}
blockquote { blockquote {
@include single-quote(); @include single-quote();
margin: 3rem 0; margin: 3rem 0;
@@ -2136,6 +2140,10 @@ $padd: 2rem;
// ---------------------------- images on single ---------------------------- */ // ---------------------------- images on single ---------------------------- */
img {
height: auto;
}
.wp-block-image { .wp-block-image {
margin: $padd 0; margin: $padd 0;
position: relative !important; position: relative !important;
@@ -2384,7 +2392,6 @@ $padd: 2rem;
display: block !important; display: block !important;
padding: $padd 0; padding: $padd 0;
} }
} //body.single, page end } //body.single, page end
// ------------------------------ related posts ----------------------------- */ // ------------------------------ related posts ----------------------------- */
@@ -2821,6 +2828,9 @@ body.page {
} }
} }
} }
hr.related-wrap {
background-color: $color;
}
} }
$color-be: #fdff00; $color-be: #fdff00;
$color-do: #3c00ff; $color-do: #3c00ff;

View File

@@ -12,7 +12,7 @@
<!-- post thumbnail --> <!-- post thumbnail -->
<?php if (has_post_thumbnail()): // Check if Thumbnail exists ?> <?php if (has_post_thumbnail()): // Check if Thumbnail exists ?>
<div class="thumbnailwrapper"> <div class="thumbnailwrapper">
<?php the_post_thumbnail(); // Fullsize image for the single post ?> <?php the_post_thumbnail('single-thumbnail'); ?>
</div> </div>
<?php endif;?> <?php endif;?>
@@ -74,8 +74,15 @@
} ?> } ?>
<!-- Facebook --> <!-- Facebook -->
<?php
if ($categories) {
?>
<div class="fb-like" data-href="<?php the_permalink();?>" data-width="" data-layout="button_count" data-action="like" data-size="small" data-show-faces="false" data-share="true"></div> <div class="fb-like" data-href="<?php the_permalink();?>" data-width="" data-layout="button_count" data-action="like" data-size="small" data-show-faces="false" data-share="true"></div>
<div class="fb-page" data-href="https://www.facebook.com/designisso/" data-tabs="" data-width="" data-height="" data-small-header="true" data-adapt-container-width="true" data-hide-cover="false" data-show-facepile="false"><blockquote cite="https://www.facebook.com/designisso/" class="fb-xfbml-parse-ignore"><a href="https://www.facebook.com/designisso/">designisso</a></blockquote></div> <div class="fb-page" data-href="https://www.facebook.com/designisso/" data-tabs="" data-width="" data-height="" data-small-header="true" data-adapt-container-width="true" data-hide-cover="false" data-show-facepile="false"><blockquote cite="https://www.facebook.com/designisso/" class="fb-xfbml-parse-ignore"><a href="https://www.facebook.com/designisso/">designisso</a></blockquote></div>
<?php
};
?>
<hr class="content-wrap content-end"> <hr class="content-wrap content-end">
</div> </div>

View File

@@ -2,7 +2,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 magyarul</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: 1.0.0 Version: 1.0.3
Author: Gyetvai Péter Author: Gyetvai Péter
Author URI: https://gyetvai-peter.hu Author URI: https://gyetvai-peter.hu
Tags: Designisso Tags: Designisso