插件演示: 绿框 红框 黄框 灰框 蓝框 黑框 虚线框 红边框 绿边框 橙色框 需要密码访问提交 请输入验证码查看内容 验证码: 扫码回复关键字“92wp”获取验证码 内容即将开放将于 2...
2023-05-22ajax是wordpress中比较常用的功能,下面小雨实战分享如何通过短代码的方式进行分类文章的筛选 首先是创建一个短代码,短代码的好处是可以复用,不需要一大片一大片重复的代码 add_shortcode( 'wpsite_posts', 'wpsite_ajax_posts_filter'); function wp...
2020-09-02还在为添加各种短代码烦恼?今天陌小雨介绍给大家的就是一款WordPress插件终极简码Shortcodes Ultimate,集合了很多常用的短代码功能。 Shortcodes Ultimate is WordPress plugin that provides mega pack of shortcodes. With this plugin you can easil...
2016-01-26效果: 效果预览 功能代码: 1、js 加入到body之前 <script>jQuery(document).ready( function(jQuery){ jQuery('.collapseButton').click(function(){ jQuery(this).parent().parent().find('.xContent').slideToggle('slow'); }); });&l...
2015-04-24今天陌小雨告诉大家如何添加一个下载按钮,可以在编辑文章的时候很方便的调用,部分代码来至网络: 1、同样是在functions.php中添加如下代码,不过代码稍微有点不同。 //添加下载按钮 function appthemes_add_quicktags() { ?>//
2014-12-17