Linux 软件免费装
Banner图

Genesis Dashboard News

开发者 daveshine
deckerweb
更新时间 2012年11月25日 21:29
捐献地址: 去捐款
PHP版本: 3.3 及以上
WordPress版本: 3.5
版权: GPLv2 or later
版权网址: 版权信息

标签

rss dashboard news community genesis studiopress dashboard widget genesiswp deckerweb genesis framework planet

下载

1.1 1.2 1.2.1 1.4 1.5 1.6.0 1.6.1

详情介绍:

Latest Genesis News - official plus community This small and lightweight plugin adds a new dashboard widget to your WordPress Admin Dashboard that pulls in the some recent (worldwide) news about the Genesis Theme Framework and its community/ecosystem. You can configure how many items are displayed (between 3 and 20 items). Only the headlines of the various blog posts will be shown. The news items come from a custom news planet source combined of different Genesis related sources around the world. Currently we have mostly English-language sources though :) Just be informed about Genesis. Know what's going on in the community, and the ecosystem - new child theme releases, extension plugins, tutorials, code snippets... Enjoy :) Turn it into Your custom/ branded dashboard widget - great for clients! Since version 1.5.0 of the plugin you can customize the widget title, URL of feed source as well as the footer line to your liking via the new filters. This comes in really handy for branding/ customizing the dashboard, for clients or other purposes... See the FAQ section here for more info on that.() Please note: The plugin DOESN'T require the use of the Genesis Framework but I recommend to use it anyway :-). Localization Feedback More

安装:

  1. Upload genesis-dashboard-news folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the 'Plugins' menu in WordPress
  3. Visit your WordPress Dashboard to enjoy the Genesis News widget.
  4. Optionally configure the number of news items by clicking the configure link the top right corner of the widget.
Own translation/wording: For custom and update-secure language files please upload them to /wp-content/languages/genesis-dashboard-news/ (just create this folder) - This enables you to use fully custom translations that won't be overridden on plugin updates. Also, complete custom English wording is possible with that, just use a language file like genesis-dashboard-news-en_US.mo/.po to achieve that (for creating one see the tools on "Other Notes").

屏幕截图:

  • Genesis Dashboard News: Dashboard widget with 5 news items ([Click here for larger version of screenshot](https://www.dropbox.com/s/p0f8lamq262whrx/screenshot-1.png))
  • Genesis Dashboard News: Configure the Dashboard widget ([Click here for larger version of screenshot](https://www.dropbox.com/s/ay45kqg4paajkrp/screenshot-2.png))
  • Genesis Dashboard News: Dashboard widget with help tab open (plugin hooks in at the bottom of the help section) ([Click here for larger version of screenshot](https://www.dropbox.com/s/sh7916xw8kwwuwz/screenshot-3.png))

升级注意事项:

1.6.1 Maintenance release: Added widget capability support, including a filter. Minor code/documentation updates & improvements. Also uptated .pot file for translators together with German translations. 1.6.0 Maintenance release: Added widget capability support, including a filter. Minor code/documentation updates & improvements. Also uptated .pot file for translators together with German translations. 1.5.0 Major changes & improvements: Performance & code optimization. Updated to help tab system, added dashboard & settings links to plugin page. Also uptated .pot file for translators together with German translations. 1.4.0 Several changes - Added activation checks, localization/translations to the plugin, improved overall coding and documentation. 1.2.1 Minor changes - Updated screenshots for WordPress 3.2.1, minor style improvements. 1.2.0 Minor changes - added link tips to footer of dashboard widget. 1.1.0 Minor changes - Made the number of news feed items configurable. 1.0.0 Just released into the wild.

常见问题:

How can I add another news or blog source to the Genesis News Planet?

Just drop me a note at my Twitter @deckerweb

Can I view this news planet source in a standalone modus?

Yes, you can! Just step up to Genesis News Planet @friendfeed -- or subscribe via RSS/ATM feed in your feed reader :)

How can I change the RSS cache lifetime in WordPress which also effects this plugin's dashboard widget?

Sure, you can change that. You need to add the following code to your child theme's functions.php file, the "Custom Code" section in Prose 1.5+ or to a functionality plugin. Please note: BACKUP the functions.php file before doing so! And please also note this: Changing that value will effect ALL other usages/appearances of RSS cache lifetime, so for example the built-in WordPress RSS widget and the other default dashboard widgets importing feed content. So use at your own risk! The number at the end is the time in seconds. So 300 means actually 5 minutes. - Got it? It's that simple, yes :) /** RSS cache lifetime */ add_filter( 'wp_feed_cache_transient_lifetime', create_function( '$a', 'return 300;' ) );

Can I set which user role/ capability can see the dashboard widget?

Yes, this is possible since plugin version 1.6.0! The default capability is 'read' (= 'Subscriber' user role). You can change that via the follwing filter: add_filter( 'gdbn_filter_capability_all', 'custom_gdbn_capability' ); /** Genesis Dashboard News: Custom Dashboard Widget Capability */ function custom_gdbn_capability() { return 'edit_posts'; } --> The above example code will only display the dashboard widget & the plugin's Dashboard help tab to users which have the capability of edit_posts.

Can I customize the dashboard widget?

Sure thing. I've included some filters since plugin version 1.5 so you can customize/brand it to your liking! I list the filter names in bold and then add more details on each of them: gdbn_filter_widget_title

  • Dashboard Widget/Meta Box title
  • Default value: "Genesis News Planet"
  • To add your own widget title here, use this code: add_filter( 'gdbn_filter_widget_title', 'gdbn_custom_widget_title' ); /** Genesis Dashboard News: Custom Widget Title */ function gdbn_custom_widget_title() { return __( 'Custom Widget Title', 'your-textdomain' ); }
gdbn_filter_feed_source_url gdbn_filter_widget_footer_info
  • The small info line
  • Default value: feed link, plus various resource links
  • To remove this line completely, add this code: /** Genesis Dashboard News: Remove Widget Footer Info */ add_filter( 'gdbn_filter_widget_footer_info', '__return_null' );
To add your own content here, use this code: add_filter( 'gdbn_filter_widget_footer_info', 'gdbn_custom_footer_widget_info' ); /** Genesis Dashboard News: Custom Widget Footer Info */ function gdbn_custom_footer_widget_info() { return __( 'Your custom widget footer info here...', 'your-textdomain' ); } gdbn_filter_help_tab_title
  • The title of the left-hand help tab title
  • Default value: "Genesis Dashboard News"
  • To add your own help tab title here, use this code: add_filter( 'gdbn_filter_help_tab_title', 'gdbn_custom_help_tab_title' ); /** Genesis Dashboard News: Custom Help Tab Title */ function gdbn_custom_help_tab_title() { return __( 'Custom Help Tab Title', 'your-textdomain' ); }
gdbn_filter_help_tab_content
  • The actual help tab content
  • Default value: the help content text...
  • Customize as with the same principles shown above...
All the custom, branding and developer stuff code above can also be found as a Gist on GitHub: https://gist.github.com/2597190 (you can also add your questions/ feedback there :)

更新日志:

1.6.1 (2012-11-25) 1.6.0 (2012-11-20) 1.5.0 (2012-05-03) 1.4.0 (2011-10-02) 1.3.0 (2011-08/09) 1.2.1 (2011-08-08) 1.2.0 (2011-08-04) 1.1.0 (2011-07-04) 1.0.0 (2011-07-04)