Simple microblogging [增强版]-WordPress说说插件

更新记录 0.2 
1.优化文章显示
2.增加分页功能
3.替换图标
4.修改菜单名称

简介:

=== Simple microblogging ===

Contributors: sgcoskey, vgitman, VegetarianZombie,obaby
Donate link: https://boolesrings.org
Tags: tweet, tweets, microblog, microblogging, micropost
Requires at least: 3.0
Tested up to: 6.1.1
Stable tag: 0.1
增强版支持网站:http://oba.by

Add a microblog to your site; display the microposts in a widget or using a shortcode. 增强版优化页面显示,增加分页功能。

== Description ==

This simple plugin allows you to easily post short messages such as thoughts and updates.  These messages will not appear in your stream of posts; instead you can display them in a widget in yours sidebar.  You can also display them in any post or page by using the `[m i c r o b l o g ](使用时去掉空格)` shortcode.

To get started, just look for the new `Microposts` administration panel in your dashboard.  Click `Add new` and then compose a short message in the same way that you normally compose your posts.  If you give the micropost a title, then it will be displayed in bold and used as the first few words of the micropost.

Then, either add the widget to your sidebar or add the `[m i c r o b l o g ](使用时去掉空格)` shortcode into your site, and that's it!

The `[m i c r o b l o g ](使用时去掉空格)` shortcode supports several options:

* **num**: The number of microposts to show.  Defaults to `5`.  Use `-1` to show all microposts.

* **null_text**: If no results are returned, shows this text.  Defaults to `(none)`.

* **show_date**: If defined, the creation date will precede the microposts.

* **date_format**: If showing the date, this php date format will be used.  The default is the Date Format value from the General Settings page.  I recommend `"F j"`, which displays as "May 12".

* **use_excerpt**: If defined, use the post excerpt instead of the entire contents.  We recommend writing short microposts, but if you prefer to write longer ones, this can be used to truncate them.  Unfortunately, WordPress excerpts don't allow links or other html, use the plugin [Advanced Excerpt](http://wordpress.org/extend/plugins/advanced-excerpt/) to remedy this!

* **q**: Arbitrary &-separated arguments to add to the query.  See the [WP_Query](http://codex.wordpress.org/Class_Reference/WP_Query/#Parameters) page for available syntax.  For example, to show only posts from author `sam` in ascending instead of descending order, you would write `[m i c r o b l o g  q="author_name=sam&order=ASC"]`(使用时去掉空格).

The output can then be further formatted using CSS.  We recommend the plugin [Improved Simpler CSS](http://wordpress.org/extend/plugins/imporved-simpler-css/) for quickly styling your post list (and your site)!

Report bugs, give feedback, or fork this plugin on [GitHub](http://github.com/scoskey/Simple-microblogging-wordpress-plugin).

== Installation ==

Nothing unusual here!

== Screenshots ==

1. A rendered widget containing my two microposts
2. The widget configuration box

== Other notes ==

If you are having trouble viewing your microposts, try visiting your permalinks preference pane and clicking `Save changes`.

It is a known issue that some permalink structures do not work with Simple microblogging when the plugin `Salmon for wordpress` is installed.

== Changelog ==
0.2 
1.优化文章显示
2.增加分页功能
3.替换图标
4.修改菜单名称

0.1 Added support for authors.  Added use_excerpt option to the shortcode

0.0 initial releasec

插件效果:

实例演示:https://h4ck.org.cn/talk/

插件下载地址:

温馨提示: 此处隐藏内容需要发表评论,并且审核通过后才能查看。
(发表评论请勾选 在此浏览器中保存我的显示名称、邮箱地址和网站地址,以便下次评论时使用。
(请仔细检查自己的昵称和评论内容,以免被识别为垃圾评论而导致无法正常审核。)

代码地址:

温馨提示: 此处隐藏内容需要发表评论,并且审核通过后才能查看。
(发表评论请勾选 在此浏览器中保存我的显示名称、邮箱地址和网站地址,以便下次评论时使用。
(请仔细检查自己的昵称和评论内容,以免被识别为垃圾评论而导致无法正常审核。)

 

☆版权☆

* 网站名称:obaby@mars
* 网址:https://oba.by/
* 个性:https://oba.by/
* 本文标题: 《Simple microblogging [增强版]-WordPress说说插件》
* 本文链接:https://oba.by/2023/03/11678
* 短链接:https://oba.by/?p=11678
* 转载文章请标明文章来源,原文标题以及原文链接。请遵从 《署名-非商业性使用-相同方式共享 2.5 中国大陆 (CC BY-NC-SA 2.5 CN) 》许可协议。


分享文章:

猜你喜欢:

17 comments

  1. Microsoft Edge 111 Microsoft Edge 111 Windows 10 Windows 10 cn四川省成都市 移动

    今天有图了,昨晚上是发生了啥大事,云加速崩了吗?

    1.  
      Google Chrome 102 Google Chrome 102 Mac OS X 10.15 Mac OS X 10.15 cn山东省济南市 移动

      嗯呢,百度云加速直接挂了,他们主站都跟着挂了。可能出问题的不仅仅是百度,微信 qq也有登录不了的。
      不知道发生了什么问题,导致整个网络产生了波动。后续百度匀加速的ssl配置全部出错了,直到今天上午我重新部署了才恢复。

    1.  
      Google Chrome 102 Google Chrome 102 Mac OS X 10.15 Mac OS X 10.15 cn山东省青岛市 移动

      应该没什么问题,适配只能自己修改代码。通过shortcode插入的,本身没有定制样式的功能。

  2. Google Chrome 111 Google Chrome 111 Windows 10 Windows 10 cnAsia/Shanghai

    昨天的化码,今天就集成到插件了,牛。

    1.  
      Google Chrome 116 Google Chrome 116 Windows 10 Windows 10 cn山东省临沂市 联通

      本身就是基于wp实现的,就是个说说插件,不是说说评论插件。

      1. Microsoft Edge 117 Microsoft Edge 117 Windows 10 Windows 10 cn湖南省娄底市 联通

        感觉要是再不回复,已经搜索到你其他平台的公开下载地址了,2333

        1.  
          Google Chrome 116 Google Chrome 116 Windows 10 Windows 10 cn山东省临沂市 联通

          哈哈哈,不知道啊。你掉到审核漩涡里了。有时候会这样。

          1. Microsoft Edge 117 Microsoft Edge 117 Windows 10 Windows 10 cn湖南省娄底市 联通

            使用了一下,感觉还可以(我突然意识到,其实单独建一个分类,也可以自定义一个说说页面,哈哈哈哈哈),主要没有适配的手机端,这一点就不如Memos,只能等Memos更新评论功能了。

            1.  
              Google Chrome 116 Google Chrome 116 Windows 10 Windows 10 cn山东省临沂市 联通

              嗯嗯,这个东西其实就是自定义文章类型实现的。功能没那么复杂,自建分类也是可以的,不过就是会和其他的文章混合到一起~~ kiss

  3. Microsoft Edge 117 Microsoft Edge 117 Windows 10 Windows 10 cn湖南省娄底市 联通

    为什么我现在的评论要审核了,是因为设置了什么吗,还是不爱了吗 laugh1

发表回复

您的电子邮箱地址不会被公开。 必填项已用*标注