Hi, i’ve set like your example but i don’t view subcategories
I think i’ve got to add something here where i get the title?
$html .= '<li><a href="' . wp_get_attachment_url( get_post_meta( get_the_ID(), 'documento_allegato', true ) ) . '" target="_blank">' . get_the_title() . '</a></li>';