>
Download This Plugin | |
Download Elegant Themes | |
Name | SQL Shortcode |
Version | 1.1 |
Author | Victor Barkalov |
Rating | 0 |
Last updated | 2014-12-23 01:21:00 |
Downloads |
84
|
Download Plugins Speed Test plugin for Wordpress |
Home page PageSpeed score has been degraded by 0%, while Post page PageSpeed score has been degraded by 0%
SQL Shortcode plugin added 6 bytes of resources to the Home page and 8 bytes of resources to the sample Post page.
SQL Shortcode plugin added 0 new host(s) to the Home page and 0 new host(s) to the sample Post page.
Great! SQL Shortcode plugin ads no tables to your Wordpress blog database.This plugin allows you to embed SQL shortcodes on your WordPress posts and pages. This plugin allows you to embed SQL shortcodes on your WordPress pages. Put your SQL query inside shortcode [sql]...[sql] to print result as an HTML table. Put your SQL query inside shortcode [sqlvar]...[/sqlvar] to print result as a single value (e.g. total number of users).
STYLING THE OUTPUT
Style the output by adding any of the following shortcode attributes: cellpadding, cellspacing, border, style, tr_style, th_style, td_style.
CONNECTING TO A NON-WORDPRESS DATABASE
By default the query will be run again the WordPress database. If you need to connect to another database, add all of the following shortcode attributes: user, pass, host, db. If any of those attributes are not provided, the plugin will use the WordPress database.
ADVANCE OUTPUT TRANSFORMATION (XSL)
The [sql]...[sql] shortcode can have an optional nested shortcode [xsl]...[xsl]. Use the nested shortcode only if you wish to apply an additional XSL transformation to the TABLE output, e.g. if you need to introduce additional formatting not supported by the [sql] shortcode attributes, e.g. convert URLs into hyperlinks, etc.