En realidad no es muy difícil de hacerlo, pero tendrás que modificar el loop del archive, dentro del while puedes usar la función get_the_title()
y concatenarlo con tu enlace de whatsapp, debería de ser mas o menos asi.
while ( have_posts() ) : the_post();
$whatsappLink = 'https://api.whatsapp.com/send?phone=+571234567890&text=Hola%2C%20me%20interesa%20averiguar%20sobre%20el%20producto%20' . get_the_title();
echo '<a href="' . $whatsappLink . '">Link de whatsapp</a>';
endwhile;
Eso debería de imprimir tu enlace con el nombre del post
Otra forma seria hacerlo con un shortcode, no uso page builders por lo que si estas usando uno no sabria decirte si esto funcionara, pero puedes probar con esto.
function whatsappMessage() {
$whatsappLink = 'https://api.whatsapp.com/send?phone=+571234567890&text=Hola%2C%20me%20interesa%20averiguar%20sobre%20el%20producto%20' . get_the_title();
return '<a href="' . $whatsappLink . '">Link de whatsapp</a>';
}
add_shortcode( 'ws_button', 'whatsappMessage');
Solo tienes que usar el shortcode [ws_button] pero esto es asumiendo que el page builder deje al shortcode ingresar al while, si no funciona puedes probar a agregar el id manualmente, con algo como esto
function whatsappMessage( $atts ) {
$whatsappLink = 'https://api.whatsapp.com/send?phone=+571234567890&text=Hola%2C%20me%20interesa%20averiguar%20sobre%20el%20producto%20' . get_the_title( $atts['id'] );
return '<a href="' . $whatsappLink . '">Link de whatsapp</a>';
}
add_shortcode( 'ws_button', 'whatsappMessage');
Entonces el shortcode quedaría así: [ws_button id="55"], cambias el 55 por el id de tu post.
El código debes de agregarlo a el archivo functions.php o bien en un plugins de snippets.