' . "\n"; while ( have_posts() ) { the_post(); if ( function_exists('post_class') ) { echo '
' . "\n"; } else echo '
' . "\n"; $title = get_the_title(); if (empty($title)) $title = ' '; echo '

' . $title . '

' . "\n"; echo '

' . __('Posted in: ', 'german_newspaper') . ' '; the_category(', ', 'single'); _e(' | '); comments_popup_link(__('Comments (0)', 'german_newspaper'), __('Comments (1)', 'german_newspaper'), __('Comments (%)', 'german_newspaper')); echo '

' . "\n"; if ( is_category() || is_archive() ) { the_excerpt('Read the rest of this entry »', 'german_newspaper'); } else { $next_page = $gn_theme_options['gn_next_page']; $next_page_txt = $gn_theme_options['gn_next_page_txt']; if ( $next_page == 'on' ) { the_content('' . __($next_page_txt, 'german_newspaper') . ""); } else { the_content('' . __('More on page ', 'german_newspaper') . $post->ID . ""); } } echo '
' . "\n"; echo ' ' . "\n"; echo '
' . "\n"; if ( $gn_theme_options['gn_facebook_btn'] == 'on' ) { echo ' ' . "\n"; } echo '

' . "\n"; the_author(); echo ' @ ' . get_the_date() . '

' . "\n"; echo '
' . "\n"; echo '
' . "\n\n"; } echo ' ' . "\n"; echo '
' . "\n\n"; } else { echo '
' . "\n\n"; echo '

' . __('Not found', 'german_newspaper') . '

' . "\n"; echo '

' . __('Sorry, no posts matched your criteria.', 'german_newspaper') . '

' . "\n"; echo '
' . "\n\n"; } get_footer(); ?>