ایده پردازان نظری:طراحی سایت کاندیدهای محترم مجلس
  • پورتال مشتریان/ارتباط باما
    • عضویت
    • ورود به پورتال مشتریان
    • ارتباط با ما
    • ارسال درخواست پشتیبانی
    • درباره ما
    • ثبت شکایات
  • فروشگاه ساز
    • امکانات فروشگاه ساز حرفه ای
    • سفارش پکیج های فروشگاه ساز
    • دانلود فروشگاه ساز
    • طرحی سایت فروش دامنه
    • طراحی فروشگاه فروش محصولات دیجیتال
    • فروشگاه ساز فارسی فایرشاپ
  • سایت ساز
    • امکانات سایت ساز حرفه ای
    • سفارش پکیج های سایت ساز
  • سرور
    • سرور اختصاصی
    • سرور مجازی
    • دیتاسنتر
    • سرور چیست؟
    • فرق سرور مجازی با اختصاصی
  • خدمات
    • ثبت آدرس در نقشه سایت گوگل
    • خدمات شبکه
      • پشتیبانی شبکه
      • تعرفه خدمات شبكه
      • درباره دپارتمان شبکه
      • شبکه های محلی
    • دوربین مدار بسته
    • تبلیغات در گوگل
    • بازاریابی با پورسانت ۳۰ درصد
  • طراحی سایت
    • طراحی سایت خبری
    • طراحی پورتال
    • طراحی حرفه ای سایت بازیگران و هنرپیشه ها
    • طراحی سایت آزمایشگاه
    • طراحی سایت آکواریوم فروشی ها
    • طراحی سایت استاتیک
    • طراحی سایت پزشکان
    • طراحی سایت داروخانه
    • طراحی سایت داینامیک
    • طراحی سایت فلش
    • طراحی سایت نیازمندی ها
    • طراحی سایت های ورزشی و خبری ورزشی
    • طراحی سایت وکلا
    • طراحی سیستم نوبت دهی آنلاین
    • طراحی وب سایت های خبری
  • دامین
    • تعرفه ثبت دامین
    • ثبت دامین
    • ثبت دامین ای ار
    • معنای پسوندها ثبت دامنه
  • هاستینگ
    • هاست ویندوز |sql server 2016
      • هاست ویندوز ۲۰۱۶ – پلسک اونیکس (SSD)
      • هاست دات نت نیوک
      • چرا هاست ویندوز
    • هاست لینوکس
      • خرید هاست لینوکس حرفه ای
      • هاست وردپرس
      • هاست فروم
      • هاست جوملا
      • دیتالایف انجین
      • هاست اپن کارت
      • هاست دروپال
      • چرا هاست لینوکس
    • هاست با فروشگاه ساز رایگان
    • هاست با سایت ساز رایگان
    • هاست نامحدود ویندوز و لینوکس با دامین رایگان
    • مقایسه هاستینگ لینوکس و ویندوز
    • امتیازات خدمات میزبانی وب
    • چرا ایده پردازان نظری
    • خدمات ایده پردازان نظری در یک نگاه
    • آموزش
  • ممبر تلگرام
  • خانه

Zipcode Lockdown

نوشته شده در تاریخ مهر ۳, ۱۳۹۶ توسط samkia


Restrict access to pages based on the user inputting their zip code. When a user tries to visit a page with a list of zip codes specified, a popup will prompt them to enter their zip code. Until the user enters a pre-defined zip code, the contents of the page will be obfuscated. If a user enters an unlisted zip code, a message will appear in the popup politely informing them that the page is unavailable based on their input. Once the user enters a valid zip code, the popup will fade out and the page contents will fade in.

Note: The user’s input is stored in a session variable, to allow the user to revisit the page. By installing this plugin, you agree to the use of the session variable (in the user’s browser). The session variable is temporary, and is erased once the user closes his or her browser. No information is collected or saved by this plugin.

Additional Info

For more information, follow us online at customscripts.tech

  • The user is prompted to enter their zip code on an enabled page.
  • Enter a comma-separated list of zip codes to allow acces.
  1. Install and activate the plugin from the Plugins admin page.
  2. Edit a page.
  3. Zipcode Lockdown options are displayed in a right-hand panel.
  4. Enter a comma-separated list of zip codes, e.g., “۰۲۲۱۵, ۰۳۳۰۱, ۰۳۸۰۱٫” (The list can include spaces, or not).
  5. Click “Publish” (if creating a new page), or “Update” (if editing an existing page).
  6. View your page to test out the feature. Try entering an invalid zip code first, and then a valid one.
  7. The user’s input is stored in a session variable, so that they can return to the page and not have to reinput the zip code.
Installation Instructions
  1. Install and activate the plugin from the Plugins admin page.
  2. Edit a page.
  3. Zipcode Lockdown options are displayed in a right-hand panel.
  4. Enter a comma-separated list of zip codes, e.g., “۰۲۲۱۵, ۰۳۳۰۱, ۰۳۸۰۱٫” (The list can include spaces, or not).
  5. Click “Publish” (if creating a new page), or “Update” (if editing an existing page).
  6. View your page to test out the feature. Try entering an invalid zip code first, and then a valid one.
  7. The user’s input is stored in a session variable, so that they can return to the page and not have to reinput the zip code.
**Can I use this plugin with a “Post” post type?**

No. The plugin only works with pages.

**Can I use this plugin with a custom post-type?**

No, because the plugin only works with the post_type “page.” It is possible to modify this plugin, however, but it would require some knowledge of PHP.

To modify the plugin to support custom post types, open the main PHP file in the plugin, and edit the “if” statement on line 188 to include (making sure to replace everything inside the brackets, and the brackets themselves):
|| $screen->post_type == ‘[Your custom post type here]’

“Zipcode Lockdown” is open source software. The following people have contributed to this plugin.

Contributors



source_link
وردپرس

This entry was posted in دسته‌بندی نشده and tagged About, About WordPress, Advanced View, bbPress, Beta Testing, Blog, Browse the code, BuddyPress, customscripts, Details, Developers, Development, Development Log, Documentation, download, Download WordPress, Feedback, Forums, Get Involved, hosting, Ideas, Installation, Jobs, Learn, License / GPLv2, Location, Log In, Matt, Mobile, My Favorites, Page, pages, Plugins, Privacy, Register, Reviews, rss, Showcase, Skip to content, Skip to toolbar, Support, Support Forums, SVN repository, Themes, Translate “Zipcode Lockdown” into your language., View support forum, WordCamp, WordPress.com, WordPress.org, WordPress.TV, ZIP, zip-code, Zipcode Lockdown. Bookmark the permalink.

ناوبری نوشته

← Hello Phil
آیا گلکسی S9 می‌تواند آیفون X را شکست دهد؟ →
اعضای تیم

کلمات کلیدی :هاست ,هاست ویندوز ,هاست لینوکس, ثبت دامین ,فروشگاه ساز ,سایت ساز ,طراحی سایت ,هاستینگ ,هاست ارزان ,دامین ارزان, هاست ویندوز ارزان ,هاست لینوکس ارزان, طراحی فروشگاه اینترنتی, خرید دامین, خرید هاستینگ ,سفارش هاست,طراحی سایت خبری, هاستینگ اختصاصی ,ثبت دومین ارزان windows host, linux hosting

info @ irawebsazan .org

http://iranwebsazan.org/webhosting/themes/Higgs-zerif-lite/images/map25-redish.png

تهران خیابان صاحب الزمان نبش رمضانی پلاک 2

02166057992

تمامی کالاها و خدمات حسب مورد دارای مجوز های لازم از مراجع مربوطه می باشند و فعالیتهای این سایت تابع قوانین و مقررات جمهوری اسلامی ایران می باشد.

کلیه حقوق محفوظ می باشد. طراحی و توسعه: ایران وب سازان  iranwebsazan.org