'name',
'order' => 'ASC'
) );
foreach( $categories as $category ) {
$category_link = sprintf(
'%3$s',
esc_url( get_category_link( $category->term_id ) ),
esc_attr( sprintf( __( 'View all posts in %s', 'textdomain' ), $category->name ) ),
esc_html( $category->name )
);
echo '' . sprintf( esc_html__( 'Category: %s', 'textdomain' ), $category_link ) . '
';
echo '' . sprintf( esc_html__( 'Description: %s', 'textdomain' ), $category->description ) . '
';
echo '' . sprintf( esc_html__( 'Post Count: %s', 'textdomain' ), $category->count ) . '
';
} ?>
[my_elementor_php_output]
No event found!
No event found!
No event found!