<?php esc_attr_e('site-advertisement', 'creativ-news'); ?>
Creativ Themes' ); ?>
0 ) { $length = absint( $excerpt_length ); } return $length; } endif; add_filter( 'excerpt_length', 'creativ_news_excerpt_length', 999 ); if( ! function_exists( 'creativ_news_banner_header' ) ) : /** * Page Header */ function creativ_news_banner_header() { if ( is_front_page() && ! is_home() ) return; $header_image = get_header_image(); if ( is_singular() ) : $header_image = has_post_thumbnail() ? get_the_post_thumbnail_url( get_the_id(), 'full' ) : $header_image; endif; ?>
'; } endif; add_action( 'creativ_news_banner_header', 'creativ_news_banner_header', 10 ); if( ! function_exists( 'creativ_news_banner_title' ) ) : /** * Page Header */ function creativ_news_banner_title(){ if ( ( is_front_page() && is_home() ) || is_home() ){ $your_latest_posts_title = creativ_news_get_option( 'your_latest_posts_title' );?>

', '' ); } if( is_archive() ){ the_archive_description( '
', '
' ); the_archive_title( '

', '

' ); } if( is_search() ){ ?>

' . get_search_query() . '' ); ?>

' . esc_html__( 'Error 404', 'creativ-news' ) . ''; } } endif; if ( ! function_exists( 'creativ_news_posts_tags' ) ) : /** * Prints HTML with meta information for the current post-date/time and author. */ function creativ_news_posts_tags() { // Hide category and tag text for pages. if ( 'post' === get_post_type() && has_tag() ) { ?> '; echo ''; echo ''; }