WP Manifestindependent plugin directory
manifest / utilities / http-verb-condtional-display-shortcode

HTTP Verb Conditional Display Shortcode

A WordPress shortcode that only displays content if page is called with a specific verb (GET/POST/etc)

★ 0stars
43composer installs

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/shawnhooper/http-verb-condtional-display-shortcode/archive/refs/heads/master.zip

On Packagist as actionable/http-verb-condtional-display-shortcode:

composer require actionable/http-verb-condtional-display-shortcode
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
HTTP Verb Conditional Display Shortcode Shortcodes that restrict a block of content to only be displayed if the HTTP verb used to call the page (POST, GET, etc.) meets the requested criteria. Shortcodes The plugin currently supports the following shortcodes: [httpgetonly] [httppostonly] Usage Wrap content that you want to restrict to a given HTTP verb in the shortcode. For example, if you wanted to only display content if the POST verb was used: [httppostonly] This page was POSTed! [/httppostonly] Issues Please report any issues with this plugin on GitHub at https://github.com/shawnhooper/http-verb-condtional-display-shortcode/