'; $absolutte_shop_pre_page_obj = get_post( intval( $absolutte_shop_pre_page ) ); $absolutte_shop_pre_page_content = apply_filters( 'the_content', $absolutte_shop_pre_page_obj->post_content ); echo $absolutte_shop_pre_page_content; //Already sanitized via the filter the_content echo ''; } ?>
'; the_archive_title( '

', '

' ); echo ''; } ?>
    ' . esc_html__( 'All', 'absolutte' ) . ''; foreach ( $absolutte_shop_categories as $slug ) { $term = get_term_by( 'slug', $slug, 'product_cat' ); // The $term is an object, so we don't need to specify the $taxonomy. $term_link = get_term_link( $slug, 'product_cat' ); // If there was an error, continue to the next term. if ( is_wp_error( $term_link ) ) { continue; } $current_cat = is_product_category( $slug ) ? 'current' : ''; // We successfully got a link. Print it out. echo '
  • ' . esc_html( $term->name ) . '
  • '; } ?>