View instraction.txt
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 |
View 22.css
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; | |
} | |
} | |
View single.php
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; | |
?> |
View function.php
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 | |
*/ |
View functuion.php
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') ) { |
View index.php
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'); |
View function.php
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); |
View index.php
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>'; ?> |
View index.php
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> | |
View function.php
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
// Breadcrumbs Custom Function | |
function domain_get_breadcrumbs() { | |
$text['home'] = esc_html__('Home','domain'); | |
$text['category'] = esc_html__('Archive','domain').' "%s"'; | |
$text['search'] = esc_html__('Search results','domain').' "%s"'; | |
$text['tag'] = esc_html__('Tag','domain').' "%s"'; | |
$text['author'] = esc_html__('Author','domain').' %s'; |
NewerOlder