2012-02-13 176 views
-1

我在这个WordPress网站的帖子列表中的顶部链接不工作(http://hautedishwi.com/category/recipes/)。樱桃甜甜圈后有一些文字说“获取食谱”,但它不是一个链接。其他人都工作。该代码,通过萤火虫,显示了这个:链接不工作

<br&hellip; class="read_more" href="http://hautedishwi.com/2011/06/03/cherry-doughnuts/" <a="">Get the recipe</br&hellip;> 

我也觉得在functions.php中被拧它的代码是:

function twentyten_auto_excerpt_more($more) { 
    return '&hellip;' . twentyten_continue_reading_link(); 
} 
add_filter('excerpt_more', 'twentyten_auto_excerpt_more'); 

,但我不知道因为我不是程序员。任何想法如何让这个链接工作?一如既往地感谢您的帮助!

+1

您忘记了一个大于号的符号,因此您最终得到了<?hellip;'而不是'
'。 – Borealid 2012-02-13 19:48:08

+0

@Borealid有答案。检查你的食谱文本,并确保你关闭了'
'标签。 – seanbreeden 2012-02-13 20:06:39

回答

1

我想你需要

&gt; &hellip; 

而不是

&hellip; 

因为它缺少 “>” 换行符的。