Beiträge von egyptianmaublog
-
-
Mein Header Slider verlinkt plötzlich nicht mehr auf die jeweils angezeigten Beitrage.
Habe keine Ahnung wo die Ursache liegt und ob der PHP-Code so überhaupt passt, bisher funktionierte es jedenfalls.Vielleicht könnte jemand netterweise mal drübersehen.
HP: egyptianmaublog.atHabe die Seite lange nicht gepflegt und wollte sie jetzt mit neuen Theme wieder relaunchen (es ist derzeit nicht alles perfekt - nicht wundern).
Bin für jedes Kommentar dankbar - herzliche Grüße!
PHP
Alles anzeigen<?php $concept_blog_home_slider_class = ''; if ( esc_html__('on', 'concept-blog' ) == get_option('FR_SLIDER_AUTO') ) $concept_blog_home_slider_class .= esc_html__(' slider_auto slider_speed_', 'concept-blog') . get_option('FR_SLIDER_AUTOSPEED') ;?> <div <?php if ( get_option('FR_MENUS_STYLE') !== esc_html__('Left Menu', 'concept-blog') ){?> class="<?php echo esc_attr('container'); ?>" <?php } ?>> <div id="header_featured" class="row-fluid flexslider<?php echo esc_attr($concept_blog_home_slider_class); ?>"> <ul class="slides"> <?php $concept_blog_home_slider_cat = get_option('HOME_SLIDER_CATEGORY'); $concept_blog_home_slider_num = get_option('HOME_SLIDES_COUNT'); query_posts("showposts=$concept_blog_home_slider_num&cat=".concept_blog_get_catId($concept_blog_home_slider_cat)); while (have_posts()) : the_post(); $title = get_the_title(); $description = concept_blog_excerpt(0); ?> <li class="slide fr_slide_image"> <div class="slide_wrap sizers"> <?php $home_slider_description = wp_kses('<h2 class="title"><a href="' . esc_url( get_permalink() ) . '">' . $title . '</a></h2>' . '<p>' . $description . '</p>', array('a' => array(),'h2' => array(),'p' => array(),'strong' => array())); ?> <div class="featured_box"> <a href="<?php esc_url( get_permalink() ); ?>"> <?php if ( has_post_thumbnail() ) { the_post_thumbnail( 1200, 675 ); } ?> </a> <div class="fr_image_description"> <div class="fr_inner_description"> <span class="fr_category"> <?php the_category(', ') ?> </span> <?php echo wp_kses($home_slider_description, array('a' => array(),'h2' => array(),'p' => array(),'strong' => array())) ;?> <p class="meta"> <span> <?php esc_html_e('by', 'concept-blog'); ?> <?php the_author_posts_link(); ?> </span> <?php echo esc_html('• ', 'concept-blog'); ?> <span> <?php esc_html_e('on ', 'concept-blog'); ?> <?php the_time( get_option( 'date_format' ) ); ?> </span> <?php echo esc_html('• ', 'concept-blog'); ?> <i class="fa fa-comment-o"></i> <span> <?php comments_popup_link(esc_html__('0','concept-blog'), esc_html__('1','concept-blog'), '% '.esc_html__(' ','concept-blog')); ?> </span> <?php echo esc_html('•', 'concept-blog'); ?> <span> <?php if( function_exists('dot_irecommendthis') ) dot_irecommendthis(); ?> </span> </p> </div> <!-- end .inner_description --> </div> </div> <!-- end .featured_box --> </div> <!-- end .slide_wrap --> </li> <?php endwhile; wp_reset_query(); ?> </ul> <button id="left-arrow"> <i class="fa fa-caret-left"></i> </button> <button id="right-arrow"> <i class="fa fa-caret-right"></i> </button> </div> <!-- end #header_featured --> </div> <!-- end .container -->