Create spreadsheet at https://docs.google.com/spreadsheets/u/0/ Publish the created spreadsheet on the web. You will get spreadsheet url at google drive like https://docs.google.com/spreadsheets/d/15w2MY4pmzHmS8zC6X-EVxEGCtAVeUsFNJwrPu0/edit#gid=8699371 Using the spreadsheet url you can get json endpoint file as follows https://spreadsheets.google.com/feeds/cells/YOURGOOGLESHEETCODE/SHEETPAGENUMBER/public/full?alt=json Replace YOURGOOGLESHEETCODE with 15w2MY4pmzHmS8zC6X-EVxEGCtAVeUsFNJwrPu0 SHEETPAGENUMBER to 1 Now the url will look like https://spreadsheets.google.com/feeds/cells/15w2MY4pmzHmS8zC6X-EVxEGCtAVeUsFNJwrPu0/1/public/full?alt=json Browse the final url and you will…
Google Spreadsheet ID and Google Sheet ID can be find easily in doc url. https://docs.google.com/spreadsheets/d/spreadsheetId/edit#gid=sheetId https://docs.google.com/spreadsheets/d/this-is-spreadsheet-id/edit#gid=this-is-sheet-id Read more at https://developers.google.com/sheets/api/guides/concepts#sheet_id
Add custom field name and value as follows Name: query_args Value: cat=107 here 107 is category ID
Leverage browser caching specify how long web browsers should keep images, CSS and JS stored locally. Add the following lines to the .htaccess file.
## EXPIRES CACHING ##
ExpiresByType image/jpg "access 1 year"
ExpiresByType image/jpeg "access 1 year"
ExpiresByType image/gif "access 1 year"
ExpiresByType image/png "access 1 year"
ExpiresByType text/css "access 1 month"
ExpiresByType application/pdf "access 1 month"
ExpiresByType application/x-shockwave-flash "access 1 month"
ExpiresByType image/x-icon "access 1 year"
ExpiresDefault "access 2 days"
## EXPIRES CACHING ##
Add the following lines to your WordPress .htaccess
Header append Vary: Accept-Encoding
How to speedup your slow WordPress website? Take a speed test of the website. There are several tools to test website speed. Pingdom Website Speed Test at in https://tools.pingdom.com PageSpeed Insights https://developers.google.com/speed/pagespeed/insights/ Performance Insights report and solution (pingdom). Specify a vary accept-encoding header. [.htaccess] Leverage browser caching. [.htaccess]
In header.php Then in functions.php This will replace the class “sub-menu” to “my-class”.
Essential grid can be make mobile compatible under grid settings as follows Grid Settings > Column > Mobile: You may set this to one. Then Maximum Row might be 3.
“Source” tab in Ess. Grid settings has “Type and Category” section. In “Type and Category” there is an option to input additional parameters. Here we can control the view the grid for example post per page, total posts count, serial posts by ID etc.
Put this in functions.php Use shortcode as