Add a Button to the Single Listing Hero Actions

To add a custom button in the same place as the "Submit a Review" and booking buttons, you can add the following code to your child theme's functions.php file:

If you have existing code in your functions.php be sure to omit the first line ( <?php) when adding the code to your file.

If you need to make this link listing-specific, you can fetch your information such as

If you have existing code in your functions.php be sure to omit the first line ( <?php) when adding the code to your file.