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://h4ck.org.cn/ * 本文标题: 《Simple microblogging [增强版]-WordPress说说插件》 * 本文链接:https://h4ck.org.cn/2023/03/simple-microblogging-%e5%a2%9e%e5%bc%ba%e7%89%88/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值