MasterPress 1.3.1 is now available
MasterPress 1.3.1 is a compatibility release for PHP 8 and WordPress 5.7. It still remains backwards compatible with older PHP versions.
A utility class for generating HTML code, used heavily throughout the MasterPress UI, but also handy for theme development.
Creates an attribute key-value pair for use in HTML.
Generates the checked=”checked” attribute for a checkbox or radio control, based on a boolean test passed to the method.
Generates a close tag for the given tag name.
Returns the HTML disabled attribute if the specified $test is true.
Generates a group of checkboxes and their associated labels.Notes:The items associative array passed to this method should be keyed by the labels used, with the values being the associated value in the checkbox.
Generates a group of radio buttons and their associated labels.Note: The items array passed to this method is an associative array of the values in each radio button keyed by the labels used.
Generates the opening tag for a given tag name. .
Converts the format of choices and choice groups accepted by the Drop Down List and List Box field types into an array which can then be fed into the WOOF_HTML::options method.
Generates the set of option tags for an HTML select.
Used to output a special class for the first and last items in an indexed list.
Used to output a special class for the first and last items in an indexed list, assuming a 1-based index.
Returns the HTML readonly attribute if the specified $test is true.
Generates the code for an HTML select. Important: the $options parameter is passed into the WOOF_HTML::options method, so please refer to that method for the supported formats.
Generates the selected=”selected” attribute for an HTML select, based on a boolean test passed to the method.
Generates an enitre HTML tag with opening tag, text, and closing tag for a given tag name.
Removed the whitespace between tags from an HTML string. .
Creates an attribute key-value pair for use in HTML.
Generates the checked=”checked” attribute for a checkbox or radio control, based on a boolean test passed to the method.
Generates a close tag for the given tag name.
Returns the HTML disabled attribute if the specified $test is true.
Generates a group of checkboxes and their associated labels.Notes:The items associative array passed to this method should be keyed by the labels used, with the values being the associated value in the checkbox.
Generates a group of radio buttons and their associated labels.Note: The items array passed to this method is an associative array of the values in each radio button keyed by the labels used.
Generates the opening tag for a given tag name. .
Converts the format of choices and choice groups accepted by the Drop Down List and List Box field types into an array which can then be fed into the WOOF_HTML::options method.
Generates the set of option tags for an HTML select.
Used to output a special class for the first and last items in an indexed list.
Used to output a special class for the first and last items in an indexed list, assuming a 1-based index.
Returns the HTML readonly attribute if the specified $test is true.
Generates the code for an HTML select. Important: the $options parameter is passed into the WOOF_HTML::options method, so please refer to that method for the supported formats.
Generates the selected=”selected” attribute for an HTML select, based on a boolean test passed to the method.
Removed the whitespace between tags from an HTML string. .
Generates an enitre HTML tag with opening tag, text, and closing tag for a given tag name.
MasterPress 1.3.1 is a compatibility release for PHP 8 and WordPress 5.7. It still remains backwards compatible with older PHP versions.
MasterPress requires a minimum of WordPress version 4.9, MySQL 5.6, and PHP version 5.6.20.
We also recommend that PHP is configured to use a memory limit of 64MB per request (128MB may be required for sites with higher complexity).
This plug-in is not compatible with the WordPress.com hosted service.
Copyright 2021 © Three AM All rights reserved.