<?php $categories = get_categories( array(
    'orderby' => 'name',
    'order'   =&gt; 'ASC'
) );
 
foreach( $categories as $category ) {
    $category_link = sprintf( 
        '<a href="%1%24s" alt="%2$s">%3$s</a>',
        esc_url( get_category_link( $category-&gt;term_id ) ),
        esc_attr( sprintf( __( 'View all posts in %s', 'textdomain' ), $category-&gt;name ) ),
        esc_html( $category-&gt;name )
    );
     
    echo '<p>' . sprintf( esc_html__( 'Category: %s', 'textdomain' ), $category_link ) . '</p> ';
    echo '<p>' . sprintf( esc_html__( 'Description: %s', 'textdomain' ), $category-&gt;description ) . '</p>';
    echo '<p>' . sprintf( esc_html__( 'Post Count: %s', 'textdomain' ), $category-&gt;count ) . '</p>';
} ?&gt;
				
			
[my_elementor_php_output]