Hi @SwissArmyKnife,
Thanks for reaching out.
That’s doable with hooks, example, please add this code to the child theme’s functions.php
add_action('x_before_view_global__index', 'display_button_here');
function display_button_here () { if ( !is_home() ) return false; ?>
place your button here
<?php }
Then place your button codes there, but if you want to edit the buttons through the admin or even by using the builder then I recommend utilizing the global block. Please check this https://theme.co/apex/forum/t/global-blocks/24723
You can simply create your buttons within the global block builder and use its shortcode along with the above code. Example,
add_action('x_before_view_global__index', 'display_button_here');
function display_button_here () {
if ( is_home() ) {
echo do_shortcode( '[cs_gb id=654]' );
}
}
Hope this helps.