Get Wikipedia article summary for a keyword in any language, inline with your posts and pages, with a simple shortcode and/or function.
Installation is the same routine as most WP plugins:
wp-wikibox folder to the /wp-content/plugins/ directoryPlugins menu in WordPressOptions menu in your WordPress to change plugin settings.Notice: Please enable gzip compression in plugin options page if you have the support on your server. Wikipedia servers have heavy bandwidth usage and they appreciate less packet data very much. This is during data request on your page from Wikipedia servers and has nothing to do with how you provide your page content to visitors.
[wikibox lang="{Wiki Language}"]{Your Keyword}[/wikibox] in your posts, pages, and/or as text widget in your sidebar.
The lang attribute is optional and if not set, the default language from plugin settings will be used.
Example: [wikibox lang="en"]Pink Floyd[/wikibox]wikibox_summary( {$keyword}, {$lang = 'en'}, {$echo = true} ); inside your template to add article box anywhere. Optional arguments $lang and $echo can be provided for customization.
Examples: <?php if ( function_exists( 'wikibox_summary' ) ) wikibox_summary( 'Pink Floyd' ); ?> <?php if ( function_exists( 'wikibox_summary' ) ) wikibox_summary( single_tag_title('', false) ); ?> <?php if ( function_exists( 'wikibox_summary' ) ) wikibox_summary( single_cat_title('', false) ); ?>
Requires: 2.9.2 or higher
Compatible up to: 3.0.5
Last Updated: 2010-10-6
Downloads: 2,020




