在PHP中添加被覆盖的超链接

在PHP中添加被覆盖的超链接,php,wordpress,hyperlink,Php,Wordpress,Hyperlink,我在WordPress主题中覆盖了includes/no-results.php,如下所示: <div class="entry"> <!--If no results are found--> <h2><?php esc_html_e('NO SUCCESS STORIES YET','Divi'); ?></h2> <p><?php esc_html_e('You could be the firs

我在WordPress主题中覆盖了includes/no-results.php,如下所示:

<div class="entry">
<!--If no results are found-->
    <h2><?php esc_html_e('NO SUCCESS STORIES YET','Divi'); ?></h2>
    <p><?php esc_html_e('You could be the first! Request an appointment today.','Divi'); ?></p>
</div>
<!--End if no results are found-->

我想将文本“今天请求约会”链接到请求约会页面的url,但不确定如何进行此操作


谢谢大家!

p
中使用
a
并使用
php
编写
href
,您只需将php从标记中取出,然后编写普通HTML即可。它只是在那里允许它是可翻译的。