Skip to content

Add [desktoponly] or [mobileonly] shortcodes to a WordPress Page or Post to restrict access by device type with redirects.

License

Notifications You must be signed in to change notification settings

thelogicwizards/restrictaccess

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

=== Restrict Access by Device Type ===
Contributors: craig, logicwizardsdotone, chatgpt
Stable tag: 1.0
Tested up to: 6.1
Requires at least: 4.6

Add [desktoponly] or [mobileonly] shortcodes to a Page or Post to restrict access by device type with redirects.

== Description ==

Add [desktoponly] or [mobileonly] shortcodes to a Page or Post to restrict access by device type with redirects.

This plugin build came about as an enhancement to this popular snippet: https://gist.github.com/sucreations/7a7ee5e241a54a0bdfc4#file-mobileonly-php
in conjuction with OpenAi's ChatGPT for a use case developed for LogicWizards.one. I've decided to make this an open source project aside from the original 
use case as this tool could become useful for other WordPress sites.

For more perspective on our build, see the video to review our prompt engineering via ChatGPT: 
https://www.logicwizards.one/wp-content/uploads/2023/01/Restrict-Access-v1.0-ChatGPT-Prompt-Engineering.mov
- Bug testing begins @ 3:05

About

Add [desktoponly] or [mobileonly] shortcodes to a WordPress Page or Post to restrict access by device type with redirects.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages