This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<nav> | |
<ul class="topmenu"> | |
<li><a href="#">munu 1 levels</a> | |
<ul class="submenu"> | |
<li><a href="#">menu 2 level</a></li> | |
<li><a href="#">menu 2 level</a> | |
<ul class="submenu"> | |
<li><a href="#">menu 3 level</a></li> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Нейроносеть | |
Перед этими промтами нужно вставить команду imagine prompt через / и описание изображения, которое хочешь получить от бота, на английском языке | |
photorealistic, cinematic composition, cinematic high detail, ultra realistic, cinematic lighting, Shot on 50mm lense, Ultra- Wide Angle, Depth of Field, hyper-detailed, beautifully color-coded, beautifully color graded, Unreal Engine, Cinematic, Color Grading, Editorial Photography, Photography, Photoshoot, Shot on 70mm lense, Depth of Field, DOF, Tilt Blur, Shutter Speed 1/1000, F/22, White Balance, 32k, Super-Resolution, Megapixel, ProPhoto RGB, VR, Lonely, Good, Massive, Halfrear Lighting, Backlight, Natural Lighting, Incandescent, Optical Fiber, Moody Lighting, Cinematic Lighting, Studio Lighting, Soft Lighting, Volumetric, Contre-Jour, Beautiful Lighting, Accent Lighting, Global Illumination, Screen Space Global Illumination, Ray Tracing Global Illumination, Optics, Scattering, Glowing, Shadows, Rough, Shimmering, Ray Tracing Reflections, Lumen |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@media(min-width:576px) { | |
.container { | |
max-width: 100%; | |
padding-left:0.75rem; | |
padding-right:0.75rem; | |
} | |
} | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
if( comments_open() || get_comments_number() ) : | |
comments_template(); | |
endif; | |
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function ale_share($type = 'fb') { | |
echo ale_get_share($type); | |
} | |
/** | |
* Get link for sharing | |
* | |
* @param string $type | |
* @return string | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function domain_set_posts_per_page($query) { | |
$domein_custom_post_page = ''; | |
// отримати значення кількості постів з адмінки | |
if(domain_get_option('domein_posts_per_page') ) { | |
$domein_custom_post_page = domain_get_option('domein_get_option'); | |
} | |
if( !empty($domein_custom_post_page) ) { | |
if(!is_admin() && $query->is_main_query() && is_post_type_archive('name_custom_post_type') ) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
if( get_the_post_thumbnail($post->ID, 'post-featured') ) { ?> | |
<div class="featured_image"> | |
<?php | |
$domain_post_format = get_post_format(); | |
if( $domain_post_format == 'video' ) { | |
echo get_the_post_thumbnail($post->ID, 'post-featured'); | |
get_template_part('partials/format/video'); | |
} elseif( $domain_post_format == 'gallery' ) { | |
get_template_part('partials/format/gallery', '', 'post-featured'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function domain_trim_excerpt($length) { | |
global $post; | |
$explicit_excerpt = $post->post_excerpt; | |
if ( '' == $explicit_excerpt ) { | |
$text = get_the_content(''); | |
$text = apply_filters('the_content', $text); | |
$text = str_replace(']]>', ']]>', $text); | |
} | |
else { | |
$text = apply_filters('the_content', $explicit_excerpt); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$archive_year = get_the_time('Y'); | |
$archive_month = get_the_time('m'); | |
$archive_day = get_the_time('d'); | |
<?php echo '<a href=" ' . esc_attr(get_day_link($archive_year; $archive_month; $archive_day; )) .' ">' . get_the_date() . '</a>'; ?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<a href='<?php echo get_author_posts_url(get_the_author_meta('ID')); ?>'> <?php the_author(); ?></a> | |
NewerOlder