Creamos el campo con el tipo de campo archivo

2. Cargamos el archivo en nuesto post

3. Creamos el ShotCode para Elementor en el archivo function
// Shortcode to output custom PHP in Elementor
function wpc_acf_file_shortcode( $atts ) {
$file = get_field('curricula');
if( $file ){
echo '<a href="'. $file['url'].'" target="_blank" class="button-32"> Itinerario Formativo </a>';
}
}
add_shortcode( 'elementor_acf_file', 'wpc_acf_file_shortcode');
4. Insertamos el widget tipo shorcode de elementor en nuestro single post

5. Aplicamos un estilo al widget
/* CSS */
.button-32 {
background-color: #fff000;
border-radius: 8px;
color: #000;
cursor: pointer;
font-weight: bold;
padding: 10px 15px;
text-align: center;
transition: 200ms;
width: 100%;
box-sizing: border-box;
border: 0;
font-size: 16px;
user-select: none;
-webkit-user-select: none;
touch-action: manipulation;
}
.button-32:not(:disabled):hover,
.button-32:not(:disabled):focus {
outline: 0;
background: #f4e603;
box-shadow: 0 0 0 2px rgba(0,0,0,.2), 0 3px 8px 0 rgba(0,0,0,.15);
}
.button-32:disabled {
filter: saturate(0.2) opacity(0.5);
-webkit-filter: saturate(0.2) opacity(0.5);
cursor: not-allowed;
}
Deja una respuesta