Posted on by ', 'artblogazine' ), esc_url( get_permalink() ), esc_attr( get_the_time() ), esc_attr( get_the_date( 'c' ) ), esc_html( get_the_date() ), esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ), sprintf( esc_attr__( 'View all posts by %s', 'artblogazine' ), get_the_author() ), esc_html( get_the_author() ) ); } $options = get_option('artblogazine_theme_options'); define('HEADER_TEXTCOLOR', ''); define('HEADER_IMAGE', '%s/images/default-logo.png'); // %s is the template dir uri define('HEADER_IMAGE_WIDTH', 300); // use width and height appropriate for your theme define('HEADER_IMAGE_HEIGHT', 100); define('NO_HEADER_TEXT', true); function artblogazine_admin_header_style() { ?>', $data."\n", $artd_buffer); return $artd_buffer; } function artblogazine_inline($data) { global $post, $global_styles, $single_styles; if(is_single() or is_page()) $single_styles .= str_replace( '#postid', $post->ID, get_post_meta($post->ID, 'artblogazine_ideamdhas_single', true) )."\n"; return $data; } function artblogazine_save_postdata( $post_id ) { if ( !wp_verify_nonce( $_POST['artblogazine-ideamdhas-nonce'], basename(__FILE__) ) ) return $post_id; if ( 'page' == $_POST['post_type'] ) { if ( !current_user_can( 'edit_page', $post_id ) ) return $post_id; } else { if ( !current_user_can( 'edit_post', $post_id ) ) return $post_id; } delete_post_meta( $post_id, 'artblogazine_ideamdhas_single' ); if(trim($_POST['single-code']) != '') add_post_meta( $post_id, 'artblogazine_ideamdhas_single', ($_POST['single-code'])); return true; } function artblogazine_admin_head() { ?>
'; ?>

__('footer left','artblogazine'), 'description' => __('footer left area', 'artblogazine'), 'before_widget' => '', 'after_widget' => '', 'before_title' => '

', 'after_title' => '

' )); register_sidebar(array( 'name' => __('footer midlle','artblogazine'), 'description' => __('footer midle area', 'artblogazine'), 'before_widget' => '', 'after_widget' => '', 'before_title' => '

', 'after_title' => '

' )); register_sidebar(array( 'name' => __('footer right','artblogazine'), 'description' => __('fotter right area', 'artblogazine'), 'before_widget' => '', 'after_widget' => '', 'before_title' => '

', 'after_title' => '

' )); } function artblogazine_excerpt_length( $length ) { return 100; } function artblogazine_continue_reading_link() { return '' . __( 'Read more »', 'artblogazine' ) . ''; } function artblogazine_excerpt_more( $more ) { return ' …' . artblogazine_continue_reading_link(); } function artblogazine_enqueue_scripts_styles( ) { wp_enqueue_style( 'default', get_template_directory_uri() . '/style.css', array(), '0.0.6'); } function artblogazine_enqueue_comment_reply() { if ( is_singular() && comments_open() && get_option('thread_comments')) { wp_enqueue_script('comment-reply'); } }