Javascript 在博客设计器插件WordPress中,如何在摘录末尾添加3个点

Javascript 在博客设计器插件WordPress中,如何在摘录末尾添加3个点,javascript,php,jquery,wordpress,blogs,Javascript,Php,Jquery,Wordpress,Blogs,大家好,我用了博客deisgner插件。我只想在节选结束后加上3个点,意思是内容词在前面结束。请告诉我怎么做。谢谢默认情况下,末尾的摘录“read more”字符串设置为“…”。要使用Extrapt_more筛选器更改摘录“read more”字符串,请在主题的functions.php文件中添加以下代码: /** * Filter the excerpt "read more" string. * * @param string $more "Read more" excerpt str

大家好,我用了博客deisgner插件。我只想在节选结束后加上3个点,意思是内容词在前面结束。请告诉我怎么做。谢谢

默认情况下,末尾的摘录“read more”字符串设置为“…”。要使用Extrapt_more筛选器更改摘录“read more”字符串,请在主题的functions.php文件中添加以下代码:

/**
 * Filter the excerpt "read more" string.
 *
 * @param string $more "Read more" excerpt string.
 * @return string (Maybe) modified "read more" excerpt string.
 */
function wpdocs_excerpt_more( $more ) {
    return '[.....]';
}
add_filter('excerpt_more', 'wpdocs_excerpt_more');

来源:

@hassan你能告诉我怎么做吗?但我怎么能在博客设计器中使用它?从来没有使用过。也许你应该在他们的网站上提交支持票。