2025年5月28日

不需安装插件,解决WooCommerce不能加载语言包问题

摘要: 以下以斯洛伐克语言为例 检查 WooCommerce 当前语言包加载状态add_action('admin_notices', 'check_woocommerce_translation_status');function check_woocommerce_translation_status( 阅读全文

posted @ 2025-05-28 13:11 断掌 阅读(49) 评论(0) 推荐(0)

2024年10月4日

wordpress升级php报致命错误,Fatal error:call to undefined function putenv()

摘要: WordPress升级php版本出现以上错误提示 Call to undefined function putenv(),这句话的意思调用了一个未定义的函数,名字叫做putenv 解决方法: 接下来看一下,在宝塔面板的环境下,如何添加或删除“被禁用的函数”—— 阅读全文

posted @ 2024-10-04 10:29 断掌 阅读(634) 评论(0) 推荐(0)

2023年6月16日

谷歌账户被封如何解决?

摘要: 被禁用英文原文: It looks like this account was associated with multiple other accounts, or created by a program, and used to violate Google’s policies. Learn 阅读全文

posted @ 2023-06-16 09:48 断掌 阅读(2200) 评论(0) 推荐(0)

2022年3月14日

at least one pool section must be specified in config file

摘要: PHP启动不了,提示:ERROR: No pool defined. at least one pool section must be specified in config file[21-Feb-2022 11:30:43] ERROR: failed to post process the 阅读全文

posted @ 2022-03-14 09:59 断掌 阅读(218) 评论(0) 推荐(0)

2021年4月1日

SEO工具ahrefs各参数详解

摘要: Ahrefs Rank(ahrefs排名):网站在ahrefs的排名,这个排名以外链为依据,你的外链质量越高、数量越多、来源越广,网站ahrefs rank越靠前。UR(页面评级):这个数据跟网页排名关系最大,越高越好,对于一般网页来说,UR达到40就可以很轻松的排到谷歌首页。UR根据你页面获得的外 阅读全文

posted @ 2021-04-01 08:28 断掌 阅读(418) 评论(0) 推荐(0)

2021年3月13日

如何让谷歌索引你的页面

摘要: 你的网站或者页面没有被谷歌索引?试下这些:进入Google Search Console。进入URL检测工具。将需要索引的URL粘贴到搜索框中。等待谷歌检测URL。点击“请求编入索引”按钮。当你发布新帖子或页面时,最好这么操作。你实际上是在告诉Google,你已经在网站上添加了一些新内容,它们应该去 阅读全文

posted @ 2021-03-13 17:19 断掌 阅读(158) 评论(0) 推荐(0)

2021年2月2日

命令导入大数据库

摘要: 使用工具Xshell 5连接之后,登录mysql>mysql -u root -p>password:(你的密码)然后mysql>use yourdatabasename;(你的数据库名)mysql>source /tmp/database.sql;(这是你的存储的文件夹的地址路径,database 阅读全文

posted @ 2021-02-02 11:07 断掌 阅读(35) 评论(0) 推荐(0)

2019年8月2日

Woocommerce修改货币符号

摘要: function change_existing_currency_symbol( $currency_symbol, $currency ) { switch( $currency ) { case 'AUD': $currency_symbol = 'AUD$'; break; } return 阅读全文

posted @ 2019-08-02 10:55 断掌 阅读(673) 评论(0) 推荐(0)

Woocommerce修改相关产品列表每行产品数量

摘要: 用重新定义woocommerce_output_related_products函数的方法改变相关产品数量,同样只是改变换行的位置,需要配合适当的css设定宽度才能实现最终效果。 /* Change number of relapted products */function woocommerce 阅读全文

posted @ 2019-08-02 10:53 断掌 阅读(614) 评论(0) 推荐(0)

禁用WooCommerce默认样式

摘要: // Disable WooCommerce stylesdefine('WOOCOMMERCE_USE_CSS', false);禁用默认样式,就要引入自己的样式,可以直接写在style.css中,也可以另外写一个样式表 function wp_enqueue_woocommerce_style( 阅读全文

posted @ 2019-08-02 10:51 断掌 阅读(362) 评论(0) 推荐(0)

导航