', esc_url( get_bloginfo( 'pingback_url' ) ) ); } } add_action( 'wp_head', 'consted_pingback_header' ); if ( ! function_exists( 'consted_alowed_tags' ) ) : /** * @see diet_shop_alowed_tags(). */ function consted_alowed_tags() { $wp_post_allow_tag = wp_kses_allowed_html( 'post' ); $allowed_tags = array( 'a' => array( 'class' => array(), 'href' => array(), 'rel' => array(), 'title' => array(), 'id' => array(), 'target'=> array(), ), 'abbr' => array( 'title' => array(), ), 'b' => array(), 'blockquote' => array( 'cite' => array(), ), 'cite' => array( 'title' => array(), ), 'code' => array(), 'del' => array( 'datetime' => array(), 'title' => array(), ), 'dd' => array(), 'div' => array( 'class' => array(), 'title' => array(), 'style' => array(), 'id' => array(), ), 'dl' => array( 'class' => array(), 'style' => array(), 'id' => array(), ), 'dt' => array( 'class' => array(), 'style' => array(), 'id' => array(), ), 'em' => array( 'class' => array(), 'style' => array(), 'id' => array(), ), 'h1' => array( 'class' => array(), 'title' => array(), 'style' => array(), 'id' => array(), ), 'h2' => array( 'class' => array(), 'style' => array(), 'id' => array(), ), 'h3' => array( 'class' => array(), 'style' => array(), 'id' => array(), ), 'h4' => array( 'class' => array(), 'style' => array(), 'id' => array(), ), 'h5' => array( 'class' => array(), 'style' => array(), 'id' => array(), ), 'h6' => array( 'class' => array(), 'style' => array(), 'id' => array(), ), 'i' => array( 'class' => array(), 'style' => array(), 'id' => array(), ), 'img' => array( 'alt' => array(), 'class' => array(), 'height' => array(), 'src' => array(), 'width' => array(), ), 'li' => array( 'class' => array(), 'style' => array(), 'id' => array(), ), 'i' => array( 'class' => array(), 'style' => array(), 'id' => array(), ), 'ol' => array( 'class' => array(), 'style' => array(), 'id' => array(), ), 'p' => array( 'class' => array(), 'style' => array(), 'id' => array(), ), 'q' => array( 'cite' => array(), 'title' => array(), ), 'span' => array( 'class' => array(), 'style' => array(), 'id' => array(), ), 'strike' => array(), 'strong' => array(), 'ul' => array( 'class' => array(), 'style' => array(), 'id' => array(), ), 'iframe' => array( 'src' => array(), 'height' => array(), 'width' => array(), 'frameborder' => array(), 'allowfullscreen' => array(), ), 'time' => array( 'class' => array(), 'title' => array(), 'style' => array(), 'datetime' => array(), 'content' => array(), ), 'main' => array( 'class' => array(), 'id' => array(), 'style' => array(), ), 'br' => array(), 'strong' => array( 'class' => array(), 'id' => array(), 'style' => array(), ), 'em' => array( 'class' => array(), 'id' => array(), 'style' => array(), ), 'b' => array( 'class' => array(), 'id' => array(), 'style' => array(), ), 'i' => array( 'class' => array(), 'id' => array(), 'style' => array(), ), ); $tags = array_merge( $wp_post_allow_tag, $allowed_tags ); return apply_filters( 'consted_alowed_tags', $tags ); } endif; if ( ! function_exists( 'consted_walker_comment' ) ) : /** * Implement Custom Comment template. * * @since 1.0.0 * * @param $comment, $args, $depth * @return $html */ function consted_walker_comment($comment, $args, $depth) { if ( 'div' === $args['style'] ) { $tag = 'div'; $add_below = 'comment'; } else { $tag = 'li'; $add_below = 'div-comment'; } ?>
  • id="comment-">
    'float-left') ); ?>
    $depth, 'max_depth' => $args['max_depth'] ) ) ); ?>
  • 1, 'menu_class' => 'menu rd-navbar-nav', 'container' => 'ul', 'theme_location' => 'fallback_menu' ) ); } } if( !function_exists('consted_elementor_editor_simplify') ){ function consted_elementor_editor_simplify(){ add_action( 'wp_head', function () { echo ''; } ); } add_action( 'elementor/editor/init', 'consted_elementor_editor_simplify'); } if ( ! function_exists( 'consted_shop_walker_comment' ) ) : /** * Implement Custom Comment template. * * @since 1.0.0 * * @param $comment, $args, $depth * @return $html */ function consted_shop_walker_comment($comment, $args, $depth) { if ( 'div' === $args['style'] ) { $tag = 'div'; $add_below = 'comment'; } else { $tag = 'li'; $add_below = 'div-comment'; } ?>
    id="comment-">
    'float-left') ); ?>
    $depth, 'max_depth' => $args['max_depth'] ) ) ); ?>
    #elementor-panel-category-pro-elements, #elementor-panel-category-theme-elements, #elementor-panel-category-woocommerce-elements, #elementor-panel-get-pro-elements{ display:none!important; } '; } ); } add_action( 'elementor/editor/init', 'consted_shop_elementor_editor_simplify'); } if ( ! function_exists( 'consted_shop_get_option' ) ) : /** * Get theme option. * * @since 1.0.0 * * @param string $key Option key. * @return mixed Option value. */ function consted_shop_get_option( $key ) { if ( empty( $key ) ) { return; } $value = ''; $default = array(); $default_value = null; if ( is_array( $default ) && isset( $default[ $key ] ) ) { $default_value = $default[ $key ]; } if ( null !== $default_value ) { $value = get_theme_mod( $key, $default_value ); } else { $value = get_theme_mod( $key ); } return $value; } endif;