[wordpress插件] Collapsing Objects折叠物体

wordpress 插件 文章 2020-03-27 13:01 465 0 全屏看文

AI助手支持GPT4.0

评分
0
描述

Collapsing objects wraps anything enclosed in expand tags into a collapsible div.

折叠对象将扩展标签中包含的所有内容包装到可折叠的div中。

This is a work in progress and may be a little bit messy due to me not having done much with PHP in a while and being new to wordpress.

这是一项正在进行中的工作,由于我一段时间未使用PHP且对wordpress还是陌生的,因此可能有点混乱。

Please note that this requires javascript, if you expect visitors with javascript disabled please do NOT use this plugin!

请注意,这需要javascript,如果您希望禁用javascript的访问者,请不要使用此插件!

I made a couple of mistakes before when submitting such as leaving a wrong hardcoded path in the script and messing up the versioning due to not knowing how WordPress plugin indexing worked.

在提交之前,我犯了一些错误,例如在脚本中留下了错误的硬编码路径,并且由于不知道WordPress插件索引的工作方式而弄乱了版本控制。

This is now fixed and I have added a working example on my blog.

现在,此问题已解决,我在博客上添加了一个工作示例。

Sorry for any inconvenience, please inform me if there are still issues

造成不便之处,敬请见谅。

Usage

用法

Wrap your text/content in [expand] tags with a title eg:

在[expand]标记中用标题包裹文本/内容,例如:

[expand title=hello]This is my expanding content[/expand]

[expand title = hello]这是我的扩展内容[/ expand]

You MUST specify a title!

您必须指定标题!

Example

示例

http://tinyurl.com/3vjavq

http://tinyurl.com/3vjavq

Changes

更改

22nd May 2008:

2008年5月22日:

Fixed expanding or collapsing pushing back to the top of page

修正了展开或折叠后返回页面顶部的问题

21st May 2008:

2008年5月21日:

Fixed problems with readme

修复自述文件问题

安装步骤

Copy the collapsing objects folder into wp-content/plugins and activate in the plugins section of the admin panel.

将折叠的对象文件夹复制到wp-content / plugins并在管理面板的“插件”部分中激活。

下载地址
https://downloads.wordpress.org/plugin/collapsing-objects.0.2.zip
-EOF-

AI助手支持GPT4.0


国内超级便宜服务器

摸鱼人热门新闻聚合

钻级赞助商 我要加入

开发者在线工具

第三方支付技术请加QQ群

相关文章
[wordpress插件] BackupPress GENIUSBackupPress天才
[wordpress插件] All Due Credit所有到期信用
[wordpress插件] ATR advanced menuATR高级菜单
[wordpress插件] Blog Copier博客副本
[wordpress插件] Advance Social Sharer进阶社交分享者
随便看看
公众号显示“该公众号提供的服务出现故障,请稍后再试” 原因是没收到微信的通知请求,这个是什么情况? 566
晚上19:30开始 第三方平台授权事件接收URL突然接收不到推送了? 408
支付的时候这个上边的公司名称怎么去掉/更改啊? 503
公众号客户端发消息,一直提示“该公众号提供的服务出现故障,请稍后再试”, 650
今天突然公众号提示"该公众号提供的服务出现故障,请稍后再试",什么也没动啊? 453
第三方平台component_verify_ticket没有推送?现在所有的服务都不能正常使用了 422
公众号收不到事件推送,麻烦尽快处理,好几个小时过去了,什么时候能好? 394
公众号第三方开发,正常运行了好几年,今天突然接收不到微信的推送通知? 426
报警群收不到异常通知 426
2021年3月31日下午6点后微信公众号突然提示服务出现故障 525