Code Monkey home page Code Monkey logo

adams's People

Contributors

dousha avatar keinx avatar liumingye avatar meetawahab avatar oosl avatar repoog avatar tokinx avatar w4o avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

adams's Issues

无法添加社交链接

版本1.2.5
新建一个菜单,将社交链接设为此菜单。往此菜单中添加链接并设置 css 后没能在首页显示出此菜单
应如何设置?

加密文章

在主页为最近文章时,加密文章内容会被显示出来。并且输入加密文章的输入表单没有进行美化。

建议不要引用loli.net的资源库

loli.net的备案已经掉了很久了,服务器也从之前的香港阿里云换到了更便宜的线路

基本上谈不上加速了,而且在特定环境下是大幅的减速,他家的香港IPv6境内三网均绕美/绕欧

比如他家谷歌字体,连IPv4都切德国去了
8Qj0Re.png
8QjrMd.png

字体建议考虑360的静态资源库
https://cdn.baomitu.com/index/fonts

列出目录的插件不兼容

尝试很多生成文章目录的插件,以 Table of Contents Pllus 为例,出现如下情况:

  • 点击文章目录链接会在新窗口打开(正常情况下应该平滑移动到指定标题位置);
  • 文章目录设定的样式会很奇怪,并且 hide/show 按钮消失……

尝试了几个类似功能的插件都有类似情况,使用默认主题或其他主题时一切正常……所以我认为是这个主题的兼容性问题。
关闭其他所有插件,问题仍然存在。
出现问题的页面示例:https://skywt.cn/posts/slope/ 文章目录(content)部分。

社交链接图片无法显示

不知道是不是我设置错了,我是直接在自定义中添加菜单,设置为社交
设置以及实际显示
社交图片在1.3.11、1.4.19、1.4.2版本中都无法正确显示,如上图
wordpress版本 5.3.2–zh_CN
PHP版本 72

按回退键后页面没有回退

大佬,我用您的主题后发现有个问题,就是当按下回退键后地址栏中的url变成了上一个页面的url,但是页面并没有返回,还是当前页面,要主动去点击下刷新才行。 而且pc段和移动端我都试过,都是这个问题。 请问有什么解决方案吗? https://wqnmd.net

请问社交链接怎么设置?需要依赖什么插件妈?

我看到core.de.php中是需要从链接item中获取classes属性,但在wordpress增加链接时没有地方填写这个属性,请问是需要依赖某个插件吗?

$classes = empty($item->classes) ? array() : (array)$item->classes;
$class_names = join(' ', apply_filters('nav_menu_css_class', array_filter($classes), $item));

评论重复提交

环境:CDN,插件全部关闭。
复现:

  1. 清除浏览器缓存,首次提交评论,评论重复提交,继续提交评论,仍重复提交。
  2. 刷新后再提交评论不再重复提交。

markdown五级标题没有行高,会重叠

markdown五级标题没有行高,会重叠

/* Connent */
.post_article img {max-width:100%;display:block;margin:auto;height:auto;}
.post_article embed {max-width:100%;margin:10px auto;display:block;}
.post_article a {text-decoration: underline;}
.post_article p {margin:4% 0;line-height:2.4rem;}
.post_article p a,.post_article p a span{padding:0;color:#3274ff;}a
.post_article h1,.post_article h2,.post_article h3,.post_article h4,#comments{margin:2rem 0;font-weight:bold;position:relative;}
.post_article h1 {font-size:1.8rem;line-height:1.8rem;}
.post_article h2 {font-size:1.6rem;line-height:1.6rem;}
.post_article h3 {font-size:1.4rem;line-height:1.4rem;}
.post_article h4,#comments {font-size:1.2rem;line-height:1.2rem;}
/* 这个地方应该要处理到H7 */

图片不能正常显示的问题

博客里面的图片都不能正常显示了,文章的预览还是可以看到的,但是发布以后图片就看不到了, 只能看到为图片预留出来的空白,如果双击这个空白也是可以看到图片的放大版本,请问这是什么问题呢?

看到了之前的issue, 问题应该是一样,关闭PJAX 也不能解决, 图片路径也没有中文的

升级1.4.25后所有文章页均打不开

MySQL:8.0.19
PHP:7.4.5
debug信息:
[27-Apr-2020 10:52:44 UTC] PHP Deprecated: Function create_function() is deprecated in /www/wwwroot/blog.bohrium.org/wp-content/themes/Adams-1.4.25/functions.php on line 77
[27-Apr-2020 10:52:48 UTC] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 1376256 bytes) in /www/wwwroot/blog.bohrium.org/wp-content/themes/Adams-1.4.25/comments.php on line 1
[27-Apr-2020 10:53:07 UTC] PHP Deprecated: Function create_function() is deprecated in /www/wwwroot/blog.bohrium.org/wp-content/themes/Adams-1.4.25/functions.php on line 77
[27-Apr-2020 10:53:11 UTC] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes) in /www/wwwroot/blog.bohrium.org/wp-includes/functions.php on line 4425
[27-Apr-2020 10:53:11 UTC] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 1343488 bytes) in /www/wwwroot/blog.bohrium.org/wp-includes/functions.php on line 4609
[27-Apr-2020 10:53:11 UTC] PHP Fatal error: Unknown: Cannot use output buffering in output buffering display handlers in Unknown on line 0
[27-Apr-2020 10:53:13 UTC] PHP Deprecated: Function create_function() is deprecated in /www/wwwroot/blog.bohrium.org/wp-content/themes/Adams-1.4.25/functions.php on line 77

小图标加载失败的问题

尝试很多不同的办法,但是右侧的小图标都加载失败,用的是海外vultr的主机,这个库有办法替换成别的吗?
如下图
截屏2020-05-25 下午2 16 38

标题有一定的问题

感谢你分享的主题,这个主题非常简洁,但是好像有一点问题,就是标题H1和正文的排版好像有点问题,H1标题很容易和上面的部分发生错位
image

待优化文章长标题下一篇文章右箭头消失...

1.单篇POST正文下面 上一篇下一篇文章处 如果2个主题标题均过长,下一篇标题后面的右箭头消失。
2.主题自定义中,追加自定义JS调用(例如百度站长的主动推送调用),会影响灯箱不正常或失效。
3.任意第三方相册插件,插入短代码无效(文章或页面)。
建议:如果有时间可以考虑加入无图片文章随机特色图像(例如上传某一文件夹/rpic,若干图片,随机调用作为特色头像显示在列表页)。

dangopress_esc_callback

Warning: Use of undefined constant dangopress_esc_callback - assumed 'dangopress_esc_callback' (this will throw an Error in a future version of PHP) in
/wp-content/themes/Adams-1.3.7/functions.php on line 162

评论异常

wp版本: 5.2.2
Adams版本:1.3.7,最新Release版
xampp版本:3.2.4
异常现象:
image

代码块部分的小建议

  1. 行内代码高亮的部分好像有点问题,有些代码字体会变成 courier new,和正常的不一样;
  2. 比较长的代码块会出现竖滚动条,对于查看代码不方便,建议只保留水平滚动条。

护眼模式/夜晚模式 评论区竖线对不齐

如图,只有默认模式正常。
image
image
image

(没错,又是我。不够作者做的这个主题真的是非常非常完美!我从其他主题换过来,就只有这个出的bug最少,插件全部不出毛病)

error

Warning: Declaration of description_walker::start_el(&$output, $item, $depth, $args) should be compatible with Walker_Nav_Menu::start_el(&$output, $item, $depth = 0, $args = Array, $id = 0) in /www/wwwroot/www.monoto.ml/wordpress/wp-content/themes/adams/inc/core.de.php on line 43
上传安装启用

Wordpress启用缓存后点赞功能计数失效

Wordpress启用缓存后点赞功能计数失效。
作者能否更新个通过AJAX获取点赞数的功能?谢谢。
可以在功能选项中添加一个开启AJAX更新的开关,让开启缓存的用户启用。

Chrome 上页面顶部空白较大

主题在 Chrome 63 上页面顶部空白较大,控制台出现 Failed to load resource: the server responded with a status of 500 (Internal Server Error) 错误。在 Firefox 上没有问题。PS: 是在本地树莓派运行 (Raspbian LNMP)。

Chrome (Console):
screen shot 2018-02-12 at 20 06 48


Chrome (Network):
screen shot 2018-02-12 at 20 12 27


Firefox:
screen shot 2018-02-12 at 20 14 12 1

关于标题的一个小建议

在移动端这边较长的标题换行后,行间距比较小,看起来会有些不自然,希望能适当将标题的行间距调大一点。感谢作者和相关贡献者,这部作品真的是WP免费主题里的一股清流

文章中不显示图片。

编辑完后预览文章能看到图片,但是发布后在文章中看不到图片?这个要怎么解决,谢谢。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.