Need some help here. I need to add an external page url to a wordpress theme. I don’t want to use the menu option, as i just need to swap out the url, which currently points to an internal page.
Here’s the code:
<a href="<?php echo esc_url(get_post_type_archive_link( 'give_forms' )); ?>" class="btn btn-dark btn-donate"><?php esc_html_e('donate now','huza') ?></a>