Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ArtalkLite 2.7.3版本无法正常加载评论框 #740

Closed
aaro-n opened this issue Jan 9, 2024 · 4 comments
Closed

ArtalkLite 2.7.3版本无法正常加载评论框 #740

aaro-n opened this issue Jan 9, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@aaro-n
Copy link

aaro-n commented Jan 9, 2024

问题描述

ArtalkLite 2.7.3版本无法正常显示评论框,当使用正常版本时可以正常显示评论框。

系统

博客版本:ClassicPress 1.7.1,wordpress修改版
浏览器:Chrome 120.0.6099.200 ,Windows 10

ClassicPress 引用代码

修改comments.php如下,不能正常显示评论框,ArtalkLite

<!-- CSS -->
<link href="//cdn.staticfile.org/artalk/2.7.3/ArtalkLite.css" rel="stylesheet">

<!-- JS -->
<script src="//cdn.staticfile.org/artalk/2.7.3/ArtalkLite.js"></script>

<!-- Artalk -->
<div id="Comments"></div>
<script>
 Artalk.init ({
   el:         '#Comments',
   pageKey:     '<?= addslashes(get_permalink()) ?>',
   pageTitle:   '<?= addslashes(get_the_title()) ?>',
   server:      'https://talk.xxx.info',
   site:        '<?= addslashes(get_bloginfo('name')) ?>',
 })
</script

修改comments.php,能正常显示评论框,Artalk

<!-- CSS -->
<link href="//cdn.staticfile.org/artalk/2.7.3/Artalk.css" rel="stylesheet">

<!-- JS -->
<script src="//cdn.staticfile.org/artalk/2.7.3/Artalk.js"></script>

<!-- Artalk -->
<div id="Comments"></div>
<script>
 Artalk.init ({
   el:         '#Comments',
   pageKey:     '<?= addslashes(get_permalink()) ?>',
   pageTitle:   '<?= addslashes(get_the_title()) ?>',
   server:      'https://talk.xxx.info',
   site:        '<?= addslashes(get_bloginfo('name')) ?>',
 })
</script
@xiewei18
Copy link

ArtalkLite.js的时候,要相应改成ArtalkLite.init 😂

@qwqcode
Copy link
Member

qwqcode commented Jan 10, 2024

🤯 不好意思,这是个 Bug 下个版本将修复,感谢反馈!

@qwqcode qwqcode added the bug Something isn't working label Jan 10, 2024
@qwqcode
Copy link
Member

qwqcode commented Jan 26, 2024

新版本 v2.8.0 将包含这个问题的修复!感谢反馈

@aaro-n
Copy link
Author

aaro-n commented Feb 1, 2024

2.8.0版本问题已修复,关闭此问题。

@aaro-n aaro-n closed this as completed Feb 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants