{"id":19864,"date":"2012-09-14T14:36:33","date_gmt":"2012-09-14T14:36:33","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/ip-only\/"},"modified":"2012-09-14T14:36:33","modified_gmt":"2012-09-14T14:36:33","slug":"ip-only","status":"publish","type":"plugin","link":"https:\/\/tw.wordpress.org\/plugins\/ip-only\/","author":147698,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"0.1","stable_tag":"trunk","tested":"2.1","requires":"2.0.2","requires_php":"","requires_plugins":"","header_name":"IP Only","header_author":"Jian Shuo Wang","header_description":"","assets_banners_color":"","last_updated":"2012-09-14 14:36:33","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/home.wangjianshuo.com\/","header_plugin_uri":"http:\/\/home.wangjianshuo.com\/archives\/20120903_ip_only.htm","header_author_uri":"http:\/\/home.wangjianshuo.com","rating":0,"author_block_rating":0,"active_installs":0,"downloads":1411,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":[],"screenshots":[]},"plugin_section":[],"plugin_tags":[1493,3919,1505],"plugin_category":[],"plugin_contributors":[],"plugin_business_model":[],"class_list":["post-19864","plugin","type-plugin","status-publish","hentry","plugin_tags-ip","plugin_tags-ip-address","plugin_tags-restriction","plugin_committers-jianshuo"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/ip-only.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>I created my first plugin when I created my CEO Blog. The problem is obvious: I am going to have a CEO blog where I can share my thoughts with the team frequently. I tried to write a different blog, and I found it is just impossible to maintain two. So I decided to put it on to my own personal blog.<\/p>\n <p>Although most of the articles are public in nature, I do have something that I hope to disclose to the general public later. I don't want to have complicated OAuth based verification. A simple IP based restriction is good enough. There is no simple solution so I wrote one myself.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload <code>iponly.php<\/code> to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<\/ol>\n\n<!--section=faq-->\n<h4>A question that someone might have<\/h4>\n <p>An answer to that question.<\/p>\n <h4>What about foo bar?<\/h4>\n <p>Answer to foo bar dilemma.<\/p>\n\n<!--section=changelog-->\n<h4>1.0<\/h4>\n <ul>\n<li>Just started<\/li>\n<\/ul>","raw_excerpt":"Restrict access only to specific IP address. Other visitors will see a message. The article is hidden from feed as well.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/tw.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/19864","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tw.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/tw.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/tw.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=19864"}],"author":[{"embeddable":true,"href":"https:\/\/tw.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/jianshuo"}],"wp:attachment":[{"href":"https:\/\/tw.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=19864"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/tw.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=19864"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/tw.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=19864"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/tw.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=19864"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/tw.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=19864"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/tw.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=19864"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}