, 'medium_large'); $has_title = false; foreach ($archive_order as $single_component) { if (! $single_component['enabled']) { continue; } if ($single_component['id'] === 'title') { $has_title = blocksy_default_akg('has_link', $single_component, 'yes') === 'yes'; } } $has_link = blocksy_default_akg('has_link', $featured_image_settings, 'yes') === 'yes'; $featured_image_args = [ 'attachment_id' => apply_filters( 'blocksy:archive:render-card-layers:featured_image:attachment_id', get_post_thumbnail_id() ), 'post_id' => get_the_ID(), 'ratio' => blocksy_default_akg('thumb_ratio', $featured_image_settings, '4/3'), 'tag_name' => $has_link ? 'a' : 'figure', 'size' => $featured_image_size, 'html_atts' => $has_link ? [ 'href' => esc_url(get_permalink()), 'aria-label' => wp_strip_all_tags(get_the_title()), ] : [], 'lazyload' => blocksy_get_theme_mod( 'has_lazy_load_archives_image', 'yes' ) === 'yes', 'display_video' => blocksy_default_akg('has_archive_video_thumbnail', $featured_image_settings, 'no') === 'yes' ]; $card_type = blocksy_get_theme_mod($args['prefix'] . '_card_type', 'boxed'); if ( $blog_post_structure === 'simple' && $card_type === 'cover' ) { $card_type = 'boxed'; } if ($card_type === 'cover') { $featured_image_args['ratio'] = 'original'; } $featured_image_args['class'] = ''; if ( $is_boundles === 'yes' && $card_type === 'boxed' && $blog_post_structure !== 'gutenberg' ) { $featured_image_args['class'] .= ' boundless-image'; } if ($image_hover_effect !== 'none') { $featured_image_args['class'] .= ' has-hover-effect'; } $featured_image_args['class'] = trim($featured_image_args['class']); $hover_effect = blocksy_get_theme_mod($args['prefix'] . '_card_type', 'boxed'); $read_more_text = blocksy_translate_dynamic(blocksy_default_akg( 'read_more_text', $read_more_settings, __('Read More', 'blocksy') ), $args['prefix'] . '_archive_read_more_text'); $read_more_arrow = ''; if (blocksy_default_akg( 'read_more_arrow', $read_more_settings, 'no' ) === 'yes') { $read_more_text .= $read_more_arrow; } $button_class = 'entry-button'; $button_type = blocksy_default_akg( 'button_type', $read_more_settings, 'background' ); if ($button_type === 'background') { $button_class .= ' wp-element-button ct-button'; } if ($button_type === 'outline') { $button_class .= ' wp-element-button ct-button-ghost'; } $outputs = null; $data_reveal_output = ''; if (blocksy_get_theme_mod( blocksy_manager()->screen->process_allowed_prefixes( $args['prefix'], [ 'allowed_prefixes' => ['blog', 'search'], 'default_prefix' => 'blog' ] ) . '_has_posts_reveal', 'no' ) === 'yes') { $data_reveal_output = 'data-reveal="bottom:no"'; } $card_content_classes = get_post_class('entry-card'); if ($blog_post_structure !== 'simple') { $card_content_classes = get_post_class('entry-card card-content'); } $entry_open = ''; } continue; } $post_meta_default = null; if ('post_meta' === $single_component['id']) { $total_metas = []; foreach ($archive_order as $nested_single_component) { if ($nested_single_component['id'] === 'post_meta') { $total_metas[] = $nested_single_component; } } if (count($total_metas) > 1 && !$had_a_meta) { $post_meta_default = blocksy_post_meta_defaults([ [ 'id' => 'categories', 'enabled' => true, ], ]); } else { $post_meta_default = blocksy_post_meta_defaults([ [ 'id' => 'author', 'enabled' => true, ], [ 'id' => 'post_date', 'enabled' => true, ], [ 'id' => 'comments', 'enabled' => true, ], ]); } $had_a_meta = true; } $output = ''; if ('post_meta' === $single_component['id']) { $has_term_accent_color = 'yes'; foreach (blocksy_akg('meta_elements', $single_component, $post_meta_default) as $meta_element) { if ($meta_element['id'] === 'categories') { $has_term_accent_color = blocksy_akg('has_term_accent_color', $meta_element, 'yes'); } } $id = substr(isset($single_component["__id"]) ? $single_component["__id"] : 'default', 0, 6); $output = blocksy_post_meta( blocksy_akg( 'meta_elements', $single_component, $post_meta_default ), [ 'meta_type' => blocksy_akg('meta_type', $single_component, 'simple'), 'meta_divider' => blocksy_akg('meta_divider', $single_component, 'slash'), 'has_term_class' => $has_term_accent_color === 'yes', 'attr' => [ 'data-id' => $id ] ] ); } if ('divider' === $single_component['id']) { $id = substr(isset($single_component["__id"]) ? $single_component["__id"] : 'default', 0, 6); $output = blocksy_html_tag( 'div', [ 'class' => 'entry-divider', 'data-id' => $id ], '' ); } if ('read_more' === $single_component['id']) { $output = blocksy_html_tag( 'a', [ 'class' => $button_class, // 'data-type' => $button_type, 'href' => esc_url( get_permalink() ) ], $read_more_text . blocksy_html_tag( 'span', [ 'class' => 'screen-reader-text' ], get_the_title() ) ); if ($blog_post_structure === 'gutenberg') { $output = blocksy_html_tag( 'div', [ 'class' => 'entry-button-container' ], $output ); } } if (! $outputs) { $featured_image_output = ''; if ( get_the_post_thumbnail($featured_image_args['attachment_id']) || wp_get_attachment_image_url($featured_image_args['attachment_id']) ) { $featured_image_output = blocksy_media($featured_image_args); } $outputs = apply_filters('blocksy:archive:render-card-layers', [ 'title' => blocksy_entry_title( blocksy_default_akg('heading_tag', $title_settings, 'h2'), blocksy_default_akg('has_link', $title_settings, 'yes') === 'yes' ), 'featured_image' => apply_filters( 'post_thumbnail_html', $featured_image_output, get_the_ID(), $featured_image_args['attachment_id'], $featured_image_args['size'], '' ), 'excerpt' => blocksy_entry_excerpt([ 'length' => intval( blocksy_default_akg( 'excerpt_length', $excerpt_settings, '40' ) ), 'source' => blocksy_default_akg( 'excerpt_source', $excerpt_settings, 'excerpt' ) ]), ], $args['prefix'], $featured_image_args); } if (isset($outputs[$single_component['id']])) { $output = $outputs[$single_component['id']]; } $output = apply_filters( 'blocksy:archive:render-card-layer', $output, $single_component ); if (! isset($single_component['__id'])) { $single_component['__id'] = ''; } // if ( // $enabled_components_count > 1 // && // $card_type !== 'cover' // && // $last_enabled_component === $single_component['id'] . $single_component['__id'] && ( // strpos($last_enabled_component, 'post_meta') !== false // || // strpos($last_enabled_component, 'featured_image') !== false // ) // ) { // echo '
'; // } /** * Note to code reviewers: This line doesn't need to be escaped. * Variabile $output used here escapes the value properly. */ echo $output; if ( $blog_post_structure === 'simple' && $single_component['id'] === 'featured_image' ) { echo '
'; } if ( $blog_post_structure === 'simple' && $last_enabled_component === $single_component[ 'id' ] . $single_component['__id'] ) { echo '
'; } } do_action('blocksy:loop:card:end'); echo ''; do_action('blocksy:loop:card:after'); } } Left Sidebar - Autozubehör - Fußmatten
  • 3D Gummi-Kofferraumwanne passend für Renault Megane Grandtour IV ab 9/2016 (unterer Boden)

    3D Gummi-Kofferraumwanne passend für Renault Megane Grandtour IV ab 9/2016 (unterer Boden)

    74,00 CHF In den Warenkorb
  • 3D Gummi-Kofferraumwanne passend für Renault Megane IV Schrägheck ab 3/2016

    3D Gummi-Kofferraumwanne passend für Renault Megane IV Schrägheck ab 3/2016

    74,00 CHF In den Warenkorb
  • 3D Gummi-Kofferraumwanne passend für Renault Scenic II ab 2003

    3D Gummi-Kofferraumwanne passend für Renault Scenic II ab 2003

    74,00 CHF In den Warenkorb
  • 3D Gummi-Kofferraumwanne passend für Renault Scenic III ab 4/2009

    3D Gummi-Kofferraumwanne passend für Renault Scenic III ab 4/2009

    74,00 CHF In den Warenkorb
  • 3D Gummi-Kofferraumwanne passend für Renault Scenic IV ab 11/2016 (oberer Boden)

    3D Gummi-Kofferraumwanne passend für Renault Scenic IV ab 11/2016 (oberer Boden)

    74,00 CHF In den Warenkorb
  • 3D Gummi-Kofferraumwanne passend für Renault Scenic IV ab 11/2016 (unterer Boden)

    3D Gummi-Kofferraumwanne passend für Renault Scenic IV ab 11/2016 (unterer Boden)

    74,00 CHF In den Warenkorb
  • 3D Gummi-Kofferraumwanne passend für Renault Talisman ab 2016

    3D Gummi-Kofferraumwanne passend für Renault Talisman ab 2016

    74,00 CHF In den Warenkorb
  • 3D Gummi-Kofferraumwanne passend für Renault Twingo ab 2014

    3D Gummi-Kofferraumwanne passend für Renault Twingo ab 2014

    74,00 CHF In den Warenkorb
  • 3D Gummi-Kofferraumwanne passend für Seat Arona ab 2017 (variabler Boden oben)

    3D Gummi-Kofferraumwanne passend für Seat Arona ab 2017 (variabler Boden oben)

    74,00 CHF In den Warenkorb
  • 3D Gummi-Kofferraumwanne passend für Seat Ateca ab 2016 (mit hohem Boden)

    3D Gummi-Kofferraumwanne passend für Seat Ateca ab 2016 (mit hohem Boden)

    74,00 CHF In den Warenkorb
  • 3D Gummi-Kofferraumwanne passend für Seat Ateca ab 2016 (variabler Boden unten)

    3D Gummi-Kofferraumwanne passend für Seat Ateca ab 2016 (variabler Boden unten)

    74,00 CHF In den Warenkorb
  • 3D Gummi-Kofferraumwanne passend für Seat Ateca ab 2016/Skoda Karoq ab 2017 (variabler Boden oben)

    3D Gummi-Kofferraumwanne passend für Seat Ateca ab 2016/Skoda Karoq ab 2017 (variabler Boden oben)

    74,00 CHF In den Warenkorb