{"id":2459,"date":"2008-02-02T15:28:55","date_gmt":"2008-02-02T15:28:55","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/wpmc\/"},"modified":"2008-02-03T23:47:50","modified_gmt":"2008-02-03T23:47:50","slug":"wpmc","status":"publish","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/wpmc\/","author":325966,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1","stable_tag":"1","tested":"2.3.2","requires":"2.3.2","requires_php":"","requires_plugins":"","header_name":"WPMC","header_author":"Karsten Eichentopf, comm-press GmbH & Co KG","header_description":"","assets_banners_color":"","last_updated":"2008-02-03 23:47:50","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/www.paypal.com\/cgi-bin\/webscr?cmd=_donations&business=Karsten%40plamo%2ede&item_name=Wordpress%20Plugins&no_shipping=0&no_note=1&tax=0&currency_code=EUR&lc=EN&bn=PP%2dDonationsBF&charset=UTF%2d8","header_plugin_uri":"http:\/\/www.towerdefensehq.de\/2008\/01\/15\/word-press-mini-city-plugin\/","header_author_uri":"http:\/\/www.comm-press.net","rating":0,"author_block_rating":0,"active_installs":0,"downloads":1490,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.98","1"],"block_files":[],"assets_screenshots":[],"screenshots":{"1":"\/tags\/1\/wpmc.jpg"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[248,17121,72286,72285],"plugin_category":[],"plugin_contributors":[],"plugin_business_model":[],"class_list":["post-2459","plugin","type-plugin","status-publish","hentry","plugin_tags-city","plugin_tags-mini","plugin_tags-mini-city","plugin_tags-myminicity","plugin_committers-kars-t"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/wpmc.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>Plugin that creates <em>automatic links<\/em> to you <em>MyMiniCity<\/em> and displays its data. <em>Many settings and editable output.<\/em><\/p>\n <p>The link to you city will be altered in regards of the city needs. Those needs are configurated by the thresholds. For example: If you set an industry threshold of 5 unemployment up to 5% will be tolerated. But after this the industry link will be used to direct people to your city.<\/p>\n <p>The html output for content pages can be custimised in anyway you want. Just use the variables and build the html as you like.<\/p>\n <p>The varaibles available can be found in the backend.<\/p>\n <p>This plugin caches your cities XML. It will update <em>only every 5 minutes<\/em>. This is a caching mechanism to avoid calling to a different webpage everytime a page from your blog is loaded.<\/p>\n <p>If you just want a simple link to your city you can use:<\/p>\n <p><strong>{minicity_link}<\/strong><\/p>\n <p>If you want the full html output use:<\/p>\n <p><strong>{minicity}<\/strong><\/p>\n <p>For php integration use:<\/p>\n <p><strong><code>WPMC_getLink()<\/code><\/strong><\/p>\n <p>This function will return the link to you city. Do something like this:<\/p>\n <pre><code>if(function_exists('WPMC_getLink')){     echo '&lt;a href=\"'.WPMC_getLink().'\"&gt;MyCity&lt;\/a&gt;'; } <\/code><\/pre>\n <p><strong><code>WPMC_displayCity()<\/code><\/strong><\/p>\n <p>This function will output the whole html. Use it like this:<\/p>\n <pre><code>if(function_exists('WPMC_displayCity')){     echo WPMC_displayCity(); } <\/code><\/pre>\n <p>You can pass a different custom html to this function like this:<\/p>\n <pre><code>if(function_exists('WPMC_displayCity')){     echo WPMC_displayCity('&lt;h1&gt;%name%&lt;\/h1&gt;'); } <\/code><\/pre>\n\n<!--section=installation-->\n<ol>\n<li>Upload <code>plugin-name.php<\/code> to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<li>Go to the options section. Take a look at the settings and enter at least your MyMiniCity Name.<\/li>\n<li>Place <strong>{minicity}<\/strong> in your pages or posts<\/li>\n<\/ol>\n\n<!--section=faq-->\n<p>None right now<\/p>","raw_excerpt":"Plugin that creates automatic links to you MyMiniCity and displays its data.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/2459","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=2459"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/kars-t"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=2459"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=2459"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=2459"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=2459"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=2459"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=2459"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}