Linux 软件免费装

Geo Targeted Posts

开发者 karolisg
Mindaugas
更新时间 2017年1月12日 21:46
捐献地址: 去捐款
PHP版本: 3.5.1 及以上
WordPress版本: 4.7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

location country user location countries geo post geo tag

下载

0.6 0.6.1 0.6.2 0.7 0.8 0.8.1 0.8.2 0.8.3

详情介绍:

This plugin adds an option to choose which countries are allowed to see the post.\ Based on Geo Location user will or will not see the post in list pages.\ If restricted post is accessed directly then a 404 error page is returned. Features: The Plugin uses Maxmind's GeoIP API. Currently supported countries are: Andorra, United Arab Emirates, Afghanistan, Antigua and Barbuda, Anguilla, Albania, Armenia, Angola, Asia/Pacific Region, Antarctica, Argentina, American Samoa, Austria, Australia, Aruba, Aland Islands, Azerbaijan, Bosnia and Herzegovina, Barbados, Bangladesh, Belgium, Burkina Faso, Bulgaria, Bahrain, Burundi, Benin, Saint Bartelemey, Bermuda, Brunei Darussalam, Bolivia, Bonaire, Saint Eustatius and Saba, Brazil, Bahamas, Bhutan, Bouvet Island, Botswana, Belarus, Belize, Canada, Cocos (Keeling) Islands, Central African Republic, Congo, Switzerland, Cote d'Ivoire, Cook Islands, Chile, Cameroon, China, Colombia, Costa Rica, Cuba, Cape Verde, Curacao, Christmas Island, Cyprus, Czech Republic, Germany, Djibouti, Denmark, Dominica, Dominican Republic, Algeria, Ecuador, Estonia, Egypt, Western Sahara, Eritrea, Spain, Ethiopia, Europe, Finland, Fiji, Falkland Islands (Malvinas), Micronesia, Federated States of, Faroe Islands, France, Gabon, United Kingdom, Grenada, Georgia, French Guiana, Guernsey, Ghana, Gibraltar, Greenland, Gambia, Guinea, Guadeloupe, Equatorial Guinea, Greece, South Georgia and the South Sandwich Islands, Guatemala, Guam, Guinea-Bissau, Guyana, Hong Kong, Heard Island and McDonald Islands, Honduras, Croatia, Haiti, Hungary, Indonesia, Ireland, Israel, Isle of Man, India, British Indian Ocean Territory, Iraq, Iran, Islamic Republic of, Iceland, Italy, Jersey, Jamaica, Jordan, Japan, Kenya, Kyrgyzstan, Cambodia, Kiribati, Comoros, Saint Kitts and Nevis, Korea, Democratic People's Republic of, Korea, Republic of, Kuwait, Cayman Islands, Kazakhstan, Lao People's Democratic Republic, Lebanon, Saint Lucia, Liechtenstein, Sri Lanka, Liberia, Lesotho, Lithuania, Luxembourg, Latvia, Libyan Arab Jamahiriya, Morocco, Monaco, Moldova, Montenegro, Saint Martin, Madagascar, Marshall Islands, Macedonia, Mali, Myanmar, Mongolia, Macao, Northern Mariana Islands, Martinique, Mauritania, Montserrat, Malta, Mauritius, Maldives, Malawi, Mexico, Malaysia, Mozambique, Namibia, New Caledonia, Niger, Norfolk Island, Nigeria, Nicaragua, Netherlands, Norway, Nepal, Nauru, Niue, New Zealand, Oman, Panama, Peru, French Polynesia, Papua New Guinea, Philippines, Pakistan, Poland, Saint Pierre and Miquelon, Pitcairn, Puerto Rico, Palestinian Territory, Portugal, Palau, Paraguay, Qatar, Reunion, Romania, Serbia, Russian Federation, Rwanda, Saudi Arabia, Solomon Islands, Seychelles, Sudan, Sweden, Singapore, Saint Helena, Slovenia, Svalbard and Jan Mayen, Slovakia, Sierra Leone, San Marino, Senegal, Somalia, Suriname, South Sudan, Sao Tome and Principe, El Salvador, Sint Maarten, Syrian Arab Republic, Swaziland, Turks and Caicos Islands, Chad, French Southern Territories, Togo, Thailand, Tajikistan, Tokelau, Timor-Leste, Turkmenistan, Tunisia, Tonga, Turkey, Trinidad and Tobago, Tuvalu, Taiwan, Tanzania, Ukraine, Uganda, United States Minor Outlying Islands, United States, Uruguay, Uzbekistan, Holy See (Vatican City State), Saint Vincent and the Grenadines, Venezuela, Virgin Islands, British, Virgin Islands, U.S., Vietnam, Vanuatu, Wallis and Futuna, Samoa, Yemen, Mayotte, South Africa, Zambia, Zimbabwe

安装:

  1. Upload geo-targeted-posts directory to the /wp-content/plugins/
  2. Activate the plugin through the 'Plugins' menu in WordPress
  3. Go to Post and in Publish section you will see New item where you can specified in wich countries post can be visible

常见问题:

Where can I find the option to choose countries?

An option to choose countries is rendered above Publish button of each post in admin section.

Which post types are excluded by default?

By default we decided to exclude the following post types: attachment, revision, nav_menu_item, product_variation, shop_order, shop_order_refund, shop_coupon, shop_webhook

How can I edit the excluded post types list?

You can edit the excluded post types list by applying a gtp_exclude_post_types filter. For example for some reason you want to remove shop_coupon from excluded list you should include the following in your theme's functions.php file: ` `

更新日志:

0.8 0.7 0.6.2 0.6 0.5 0.4 0.3 0.2 0.1