Quantcast
Channel: C++博客-所有随笔
Viewing all articles
Browse latest Browse all 7882

介绍WP通用的项目管理工具

$
0
0
WordPress项目管理插件是一个通用的项目管理工具。

项目描述;

可设置项目Logo;

项目开始时间/项目截止时间;

兼容任意主题,响应式设计;

追踪项目的总体进展;

定义项目进展中的关键事件为里程碑(3个或者4个);

项目文档(无限个项目文档);

访问控制(可禁止搜索引擎抓取,可指定某些用户可访问,可指定访问密码);

项目进展阶段(无限个)以及各个阶段的任务完成情况(可根据各个阶段在总体凸轮转子泵项目中的百分比以及下属任务完成情况自动更新项目总体完成情况);

多语言支持;

截图(可点击小图看大图):
Wordpress project tool


在新窗口打开 这个页面 查看前台完整凸轮转子泵页面
This post will talk about adding your content(such as:license notice,update notice and so on) after a wordpress plugin row on your wordpress plugin management page. the following screenshot will tell you what is it.
Adding your content after wordpress plugin row

Adding your content after a wordpress plugin row

yes, the content "Activate your license for automatic upgrades. Need a license? Purchase one" is  what we want to display after a wordpress plugin.

    /**
    *Add your content after wordpress plugin row
    *在插件列表插件项目后增加升级/输入、购买许可证的提示
    */
    function cwp_add_notice_after_row(){
        $license_key = trim( get_option ('my_plugin_license_key'));/*getting the plugin license */
        $license_key_setting_page = admin_url('options-general.php?page=my-plugin-license-setting-page-slug' );/*define your license setting page link*/

        if(!$license_key)/*if the license is null or false,display the following plugin meta after this plugin row*/
            echo '</tr><tr class="plugin-update-tr"><td colspan="3"><div class="update-message"><a href="'.$license_key_setting_page.'">'.__('Activate your license','cwpsl').'</a> '.__('for automatic upgrades. Need a license?','cwpsl').' <a href="http://www.nx.gov.cn/" target="_new">'.__('Purchase one','cwpsl').'</a></div></td>';
    }
    add_action('after_plugin_row_'.plugin_basename(__FILE__), 'cwp_add_notice_after_row');


老何 2014-05-07 10:48 发表评论

Viewing all articles
Browse latest Browse all 7882

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>