This WordPress plugin allows you to embed a frontend widget that tests a given website for mobile friendliness using Google's PageSpeed Insights
Author: | Barry Jones (profile at wordpress.org) |
WordPress version required: | 4.1.1 |
WordPress version tested: | 4.2.4 |
Plugin version: | 1.2 |
Added to WordPress repository: | 20-04-2015 |
Last updated: | 07-08-2015
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
|
Rating, %: | 100 |
Rated by: | 2 |
Plugin URI: | |
Total downloads: | 1 995 |
Active installs: | 60+ |
Click to start download |
This WordPress plugin allows you to embed a frontend widget where the user can enter the full URL of the website to test for mobile friendliness, and the results are displayed below. This widget uses Google's PageSpeed Insights API.
NOTE: Make sure you enter your Google Apps API key into the settings area.
The shortcode presents a basic HTML form that captures a URL. When the Run Audit
button is pressed, the
form is hidden, and the loading UI displayed. When the PageSpeed API call returns, the information is
displayed in templated sections beneath.
Usage
Simply embed the shortcode [mobile_audit_form]
into any post content area, or HTML/Text widget.
Options
Debug output
Use the debug="true"
option to show debug output in the browsers JavaScript console.
E.g. [mobile_audit_form debug="true"]
Hiding Result Sections You can hide the one or more of the following sections via shortcode attributes:
- Overall:
[mobile_audit_form hide_overall="true"]
- Recommendations:
[mobile_audit_form hide_recommendations="true"]
- Statistics:
[mobile_audit_form hide_statistics="true"]
- Resources:
[mobile_audit_form hide_resources="true"]
- Preview:
[mobile_audit_form hide_preview="true"]