function fix123($location, $input) { if ($location === 'footer' && $input) { $lang = strtolower(substr(get_locale(), 0, 2)); if ($lang === 'de') { return 6304; } } return $input; } if ( ! function_exists( 'porto_check_builder_condition' ) ) : function porto_check_builder_condition( $location = 'header' ) { global $porto_block_template; if ( ! empty( $porto_block_template ) ) { return fix123($location, false); } global $porto_settings; if ( 'header' == $location && 'header_builder_p' != $porto_settings['header-type-select'] ) { return fix123($location, false); } if ( isset( $porto_settings['conditions'], $porto_settings['conditions'][ $location ] ) ) { return fix123($location, $porto_settings['conditions'][ $location ]); } global $porto_settings_optimize; if ( ! empty( $porto_settings_optimize['disabled_pbs'] ) && is_array( $porto_settings_optimize['disabled_pbs'] ) && in_array( $location, $porto_settings_optimize['disabled_pbs'] ) ) { $porto_settings['conditions'][ $location ] = false; return fix123($location, false); } // ajax category filter if ( ( 'archive' == $location || 'shop' == $location ) && porto_is_ajax() && ! empty( $_REQUEST['builder_id'] ) ) { $porto_settings['conditions'][ $location ] = (int) $_REQUEST['builder_id']; return fix123($location, (int) $_REQUEST['builder_id']); } if ( ! isset( $porto_settings['conditions'] ) ) { $porto_settings['conditions'] = array(); } if ( is_singular() ) { $builder_id = get_post_meta( get_the_ID(), '_porto_builder_' . $location, true ); if ( $builder_id && get_post( $builder_id ) ) { $porto_settings['conditions'][ $location ] = (int) $builder_id; return fix123($location, (int) $builder_id); } if ( ! is_page() ) { $taxonomies = get_object_taxonomies( get_post_type(), 'objects' ); $taxonomies = wp_filter_object_list( $taxonomies, array( 'public' => true, 'show_in_nav_menus' => true, ) ); if ( ! empty( $taxonomies ) ) { foreach ( $taxonomies as $tax ) { $terms = wp_get_post_terms( get_the_ID(), $tax->name, array( 'fields' => 'ids' ) ); foreach ( $terms as $term_id ) { $builder_id = get_term_meta( $term_id, '_porto_builder_single_' . $location, true ); if ( $builder_id && get_post( $builder_id ) ) { $porto_settings['conditions'][ $location ] = (int) $builder_id; return fix123($location, (int) $builder_id); } } } } } } elseif ( is_archive() && ! is_author() && ! is_date() && ! is_search() ) { $queried_obj = get_queried_object(); if ( $queried_obj && property_exists( $queried_obj, 'term_id' ) ) { $term_id = $queried_obj->term_id; $builder_id = get_term_meta( $term_id, '_porto_builder_' . $location, true ); if ( $builder_id && get_post( $builder_id ) ) { $porto_settings['conditions'][ $location ] = (int) $builder_id; return fix123($location, (int) $builder_id); } } } $builder_conditions = get_theme_mod( 'builder_conditions', array() ); if ( ! empty( $builder_conditions[ $location ] ) ) { if ( is_404() && ! empty( $builder_conditions[ $location ]['single/404'] ) && get_post( $builder_conditions[ $location ]['single/404'] ) ) { $porto_settings['conditions'][ $location ] = (int) $builder_conditions[ $location ]['single/404']; return fix123($location, (int) $builder_conditions[ $location ]['single/404']); } elseif ( is_page() && ! empty( $builder_conditions[ $location ]['single/page'] ) && get_post( $builder_conditions[ $location ]['single/page'] ) ) { $porto_settings['conditions'][ $location ] = (int) $builder_conditions[ $location ]['single/page']; return fix123($location, (int) $builder_conditions[ $location ]['single/page']); } elseif ( is_date() && ! empty( $builder_conditions[ $location ]['archive/date'] ) && get_post( $builder_conditions[ $location ]['archive/date'] ) ) { $porto_settings['conditions'][ $location ] = (int) $builder_conditions[ $location ]['archive/date']; return fix123($location, (int) $builder_conditions[ $location ]['archive/date']); } elseif ( is_search() && ! empty( $builder_conditions[ $location ]['archive/search'] ) && get_post( $builder_conditions[ $location ]['archive/search'] ) ) { $porto_settings['conditions'][ $location ] = (int) $builder_conditions[ $location ]['archive/search']; return fix123($location, (int) $builder_conditions[ $location ]['archive/search']); } elseif ( is_author() && ! empty( $builder_conditions[ $location ]['archive/author'] ) && get_post( $builder_conditions[ $location ]['archive/author'] ) ) { $porto_settings['conditions'][ $location ] = (int) $builder_conditions[ $location ]['archive/author']; return fix123($location, (int) $builder_conditions[ $location ]['archive/author']); } else { $archive_post_type = ''; if ( is_archive() ) { global $wp_query; $archive_post_type = isset( $wp_query->query_vars ) && ! empty( $wp_query->query_vars['post_type'] ) ? $wp_query->query_vars['post_type'] : ''; if ( ! $archive_post_type ) { $archive_post_type = get_post_type(); } } foreach ( $builder_conditions[ $location ] as $c => $object_id ) { if ( ! $object_id || ( false === strpos( $c, 'single/' ) && false === strpos( $c, 'taxonomy/' ) && false === strpos( $c, 'archive/' ) ) || ! get_post( $object_id ) ) { continue; } if ( false === strpos( $c, 'single/' ) ) { $c = str_replace( 'taxonomy/', '', $c ); } if ( 0 === strpos( $c, 'single/' ) ) { $c = str_replace( 'single/', '', $c ); if ( 0 === strpos( $c, 'taxonomy/' ) ) { $c = str_replace( 'taxonomy/', '', $c ); if ( is_singular() ) { $terms = wp_get_post_terms( get_the_ID(), $c, array( 'fields' => 'names' ) ); if ( ! empty( $terms ) ) { $porto_settings['conditions'][ $location ] = (int) $object_id; return fix123($location, (int) $object_id); } } } elseif ( is_singular( $c ) ) { $porto_settings['conditions'][ $location ] = (int) $object_id; return fix123($location, (int) $object_id); } } elseif ( ( 'category' == $c && is_category() ) || ( 'post_tag' == $c && is_tag() ) || ( 'archive/post' == $c && is_home() ) ) { $porto_settings['conditions'][ $location ] = (int) $object_id; return fix123($location, (int) $object_id); } elseif ( 'archive/allpost' == $c && ( is_home() || is_category() || is_tag() || ( is_archive() && 'post' == $archive_post_type ) ) ) { $porto_settings['conditions'][ $location ] = (int) $object_id; return fix123($location, (int) $object_id); } elseif ( class_exists( 'Woocommerce' ) && ( ( 'product_cat' == $c && is_product_category() ) || ( 'product_tag' == $c && is_product_tag() ) || ( 'archive/product' == $c && is_shop() ) ) ) { $porto_settings['conditions'][ $location ] = (int) $object_id; return fix123($location, (int) $object_id); } elseif ( class_exists( 'Woocommerce' ) && ( 'archive/allproduct' == $c && ( is_shop() || is_product_category() || is_product_tag() || ( is_archive() && 'product' == $archive_post_type ) ) ) ) { $porto_settings['conditions'][ $location ] = (int) $object_id; return fix123($location, (int) $object_id); } elseif ( false === strpos( $c, 'archive/' ) && is_tax( $c ) ) { $porto_settings['conditions'][ $location ] = (int) $object_id; return fix123($location, (int) $object_id); } elseif ( 0 === strpos( $c, 'archive/all' ) ) { $c = str_replace( 'archive/all', '', $c ); $f = 'is_porto_' . $c . 's_page'; if ( ( function_exists( $f ) && $f() ) || is_post_type_archive( $c ) || ( is_archive() && $c == $archive_post_type ) ) { $porto_settings['conditions'][ $location ] = (int) $object_id; return fix123($location, (int) $object_id); } if ( is_tax() ) { // taxonomy page $taxonomy_post_type = get_taxonomy( get_queried_object()->taxonomy )->object_type; if ( isset( $taxonomy_post_type ) ) { if ( is_array( $taxonomy_post_type ) ) { $taxonomy_post_type = $taxonomy_post_type[0]; } if ( $c == $taxonomy_post_type ) { // All member archives page => member_cat like $porto_settings['conditions'][ $location ] = (int) $object_id; return fix123($location, (int) $object_id); } } } } elseif ( 0 === strpos( $c, 'archive/' ) ) { $c = str_replace( 'archive/', '', $c ); $f = 'is_porto_' . $c . 's_page'; if ( ( function_exists( $f ) && $f() ) || is_post_type_archive( $c ) ) { $porto_settings['conditions'][ $location ] = (int) $object_id; return fix123($location, (int) $object_id); } } } } if ( is_singular() ) { if ( ! empty( $builder_conditions[ $location ]['single'] ) && get_post( $builder_conditions[ $location ]['single'] ) ) { $porto_settings['conditions'][ $location ] = (int) $builder_conditions[ $location ]['single']; return fix123($location, (int) $builder_conditions[ $location ]['single']); } } elseif ( is_archive() ) { if ( ! empty( $builder_conditions[ $location ]['archive'] ) && get_post( $builder_conditions[ $location ]['archive'] ) ) { $porto_settings['conditions'][ $location ] = (int) $builder_conditions[ $location ]['archive']; return fix123($location, (int) $builder_conditions[ $location ]['archive']); } } if ( ! empty( $builder_conditions[ $location ]['all'] ) && get_post( $builder_conditions[ $location ]['all'] ) ) { $porto_settings['conditions'][ $location ] = (int) $builder_conditions[ $location ]['all']; return fix123($location, (int) $builder_conditions[ $location ]['all']); } } $porto_settings['conditions'][ $location ] = false; return fix123($location, false); } endif; 1.0Samlexhttps://samlex.comMarcel van Veenhttps://samlex.com/author/marcel/BDL 24 (01)rich600338<blockquote class="wp-embedded-content" data-secret="jTPPlFarXp"><a href="https://samlex.com/de/product/bdl-01/">BDL 24 (01)</a></blockquote><iframe sandbox="allow-scripts" security="restricted" src="https://samlex.com/de/product/bdl-01/embed/#?secret=jTPPlFarXp" width="600" height="338" title="“BDL 24 (01)” — Samlex" data-secret="jTPPlFarXp" frameborder="0" marginwidth="0" marginheight="0" scrolling="no" class="wp-embedded-content"></iframe><script> /*! This file is auto-generated */ !function(d,l){"use strict";l.querySelector&&d.addEventListener&&"undefined"!=typeof URL&&(d.wp=d.wp||{},d.wp.receiveEmbedMessage||(d.wp.receiveEmbedMessage=function(e){var t=e.data;if((t||t.secret||t.message||t.value)&&!/[^a-zA-Z0-9]/.test(t.secret)){for(var s,r,n,a=l.querySelectorAll('iframe[data-secret="'+t.secret+'"]'),o=l.querySelectorAll('blockquote[data-secret="'+t.secret+'"]'),c=new RegExp("^https?:$","i"),i=0;i<o.length;i++)o[i].style.display="none";for(i=0;i<a.length;i++)s=a[i],e.source===s.contentWindow&&(s.removeAttribute("style"),"height"===t.message?(1e3<(r=parseInt(t.value,10))?r=1e3:~~r<200&&(r=200),s.height=r):"link"===t.message&&(r=new URL(s.getAttribute("src")),n=new URL(t.value),c.test(n.protocol))&&n.host===r.host&&l.activeElement===s&&(d.top.location.href=t.value))}},d.addEventListener("message",d.wp.receiveEmbedMessage,!1),l.addEventListener("DOMContentLoaded",function(){for(var e,t,s=l.querySelectorAll("iframe.wp-embedded-content"),r=0;r<s.length;r++)(t=(e=s[r]).getAttribute("data-secret"))||(t=Math.random().toString(36).substring(2,12),e.src+="#?secret="+t,e.setAttribute("data-secret",t)),e.contentWindow.postMessage({message:"ready",secret:t},"*")},!1)))}(window,document); </script> https://samlex.com/app/uploads/2021/12/BDL-24-1024x1018.png10241018Der BDL 24 ist der ultimative Batterie-Datenlogger, mit dem Sie Ihre Batterie(n) auf einfache Weise im Auge behalten können. Durch einstellbare Messintervalle wird die Spannung und Temperatur Ihrer Batterie/Batterien vom BDL gespeichert, mit der BDL Smart View Software können Sie die Daten von Ihrem BDL herunterladen, um diese Daten auf Ihrem Computer für mehrere Jahre zu analysieren und auch die Möglichkeit, die Dateninfo nach EXCEL zu exportieren.