- Contributors: seothemes
- Tags: pricing table
- Donate link: https://seothemes.com
- Requires at least: 4.9
- Tested up to: 4.9.8
- Requires PHP: 5.3
- Stable tag: trunk
- License: GPL-2.0+
- License URI: http://www.gnu.org/licenses/gpl-2.0.txt
Displays a lightweight pricing table optimized for search engines, accessibility and mobile devices.
Simple Pricing Table creates a new pricing-table
custom post type and enables you to create multiple pricing tables with either a widget or a shortcode. There is minimal styling included with the plugin, keeping it lightweight and easy to override with your own custom CSS.
All of the plugins HTML output can be filtered to overwrite the default markup. Here is an example of how to change the heading tag:
add_filter( 'spt_markup_name', 'custom_pricing_table_heading');
/**
* Change Pricing Table heading.
*/
function custom_pricing_table_heading() {
return '<h5 class="pricing-table__name">%s</h5>';
}
To disable inline CSS output use the following filter:
add_filter( 'spt_inline_css', '__return_false' );
Here is an example of the Simple Pricing Table shortcode. The pricing table ID can be found from the Edit Pricing Table screen:
[pricing-table id="1234"]
- Go to Plugins > Add New.
- Type in the name of the WordPress Plugin or descriptive keyword, author, or tag in Search Plugins box or click a tag link below the screen.
- Find the WordPress Plugin you wish to install.
- Click Details for more information about the Plugin and instructions you may wish to print or save to help setup the Plugin.
- Click Install Now to install the WordPress Plugin.
- The resulting installation screen will list the installation as successful or note any problems during the install.
- If successful, click Activate Plugin to activate it, or Return to Plugin Installer for further actions.
- Edit Pricing Table screen
- Initial release.