' . esc_attr( $azera_shop_copyright ) . ''; } elseif ( isset( $wp_customize ) ) { echo ''; } /* OPTIONAL FOOTER LINKS */ echo '
'; echo '

' . esc_html__( 'Secondary Menu', 'azera-shop' ) . '

'; wp_nav_menu( array( 'theme_location' => 'azera_shop_footer_menu', 'container' => false, 'menu_class' => 'footer-links small-text', 'depth' => 1, 'fallback_cb' => false, ) ); echo '
'; /* SOCIAL ICONS */ $azera_shop_social_icons = get_theme_mod( 'azera_shop_social_icons' ); if ( ! empty( $azera_shop_social_icons ) ) { $azera_shop_social_icons_decoded = json_decode( $azera_shop_social_icons ); if ( ! empty( $azera_shop_social_icons_decoded ) ) { echo '
    '; foreach ( $azera_shop_social_icons_decoded as $azera_shop_social_icon ) { $id = ''; $link = ''; $icon = ''; if ( ! empty( $azera_shop_social_icon->id ) ) { $id = esc_attr( $azera_shop_social_icon->id ); } if ( ! empty( $azera_shop_social_icon->link ) ) { if ( function_exists( 'pll__' ) ) { $link = pll__( $azera_shop_social_icon->link ); } else { $link = apply_filters( 'wpml_translate_single_string', $azera_shop_social_icon->link, 'Azera Shop -> Footer', 'Footer social link ' . $id ); } } if ( ! empty( $azera_shop_social_icon->icon_value ) ) { if ( function_exists( 'pll__' ) ) { $icon = pll__( $azera_shop_social_icon->icon_value ); } else { $icon = apply_filters( 'wpml_translate_single_string', $azera_shop_social_icon->icon_value, 'Azera Shop -> Footer', 'Footer social icon ' . $id ); } } if ( ! empty( $icon ) ) { $ic = explode( '-',$icon ); if ( ! empty( $ic[1] ) ) { echo '
  • ' . esc_attr( $ic[1] ) . '
  • '; } } } echo '
'; } } ?>