Printable Version of Topic

Click here to view this topic in its original format

HTMLHelp Forums _ Site Review Requests _ Please review and let me know if there are any HTML problems

Posted by: geartek Jul 17 2019, 03:59 AM

Hi:

I have developed a wordpress site that reviews gadgets and tech and I wonder if anyone can let me know if there are any html issues that are slowing it down or plain incorrect. There are manyn plugins installed and some customisation which I hope it is not causing many errors.

The site is https://geartekonline.com

Thanks in advance!!


Posted by: pandy Jul 17 2019, 05:09 AM

You can use a validator to check for errors.

https://validator.w3.org/nu/?doc=https%3A%2F%2Fgeartekonline.com%2F

Posted by: geartek Jul 17 2019, 11:36 AM

QUOTE(pandy @ Jul 17 2019, 05:09 AM) *

You can use a validator to check for errors.

https://validator.w3.org/nu/?doc=https%3A%2F%2Fgeartekonline.com%2F


Hi Pandy. thanks for your reply. I notice on the html on all pages the following code, which I don't know what it is or how to handle it. Are you or anyone else able to help me with it?

</div> <script type="text/javascript">var c = document.body.className;
c = c.replace(/woocommerce-no-js/, 'woocommerce-js');
document.body.className = c;</script> <script type="text/javascript">var wc_product_block_data = JSON.parse( decodeURIComponent( '%7B%22min_columns%22%3A1%2C%22max_columns%22%3A6%2C%22default_columns%22%3A3%2C%22min_rows%22%3A1%2C%22max_rows%22%3A6%2C%22default_rows%22%3A1%2C%22thumbnail_size%22%3A300%2C%22placeholderImgSrc%22%3A%22https%3A%5C%2F%5C%2Fgeartekonline.com%5C%2Fwp-content%5C%2Fuploads%5C%2Fwoocommerce-placeholder-450x580.png%22%2C%22min_height%22%3A500%2C%22default_height%22%3A500%2C%22isLargeCatalog%22%3Atrue%2C%22productCategories%22%3A%5B%7B%22term_id%22%3A103%2C%22name%22%3A%22Uncategorized%22%2C%22slug%22%3A%22uncategorized%22%2C%22term_group%22%3A0%2C%22term_taxonomy_id%22%3A103%2C%22taxonomy%22%3A%22product_cat%22%2C%22description%22%3A%22%22%2C%22parent%22%3A0%2C%22count%22%3A0%2C%22filter%22%3A%22raw%22%2C%22link%22%3A%22https%3A%5C%2F%5C%2Fgeartekonline.com%5C%2Fproduct-category%5C%2Funcategorized%5C%2F%22%7D%2C%7B%22term_id%22%3A106%2C%22name%22%3A%22Adjustable%20desk%5C%2F%20table%22%2C%22slug%22%3A%22adjustable-desk-table%22%2C%22term_group%22%3A0%2C%22term_taxonomy_id%22%3A106%2C%22taxonomy%22%3A%22product_cat%22%2C%22description%22%3A%22%3Cdiv%20class%3D%5C%22wpb_wrapper%5C%22%3E%5Cr%5Cn%3Ch1%3E%3Cstrong%3EBest%20Standing%20Desks%3C%5C%2Fstrong%3E%3C%5C%2Fh1%3E%5Cr%5Cn%3Cp%20style%3D%5C%22text-align%3A%20left%3B%5C%22%3EAdjustable%20desks%20allow%20you%20to%20stand%20while%20working%20at%20your%20desk%20or%20computer.%20They%20are%20also%20known%20as%20stand-up%20desks

It goes on like this for many hundreds and hundreds of lines. Could you or anyone else help with it and tell me if this is right or wrong, incorrect or what it is as I don't know how to handle it...

Thanks in advance

Posted by: Christian J Jul 17 2019, 04:30 PM

QUOTE(geartek @ Jul 17 2019, 06:36 PM) *

I notice on the html on all pages the following code, which I don't know what it is or how to handle it.

It's appears to be a javascript (used by the woocommerce plugin?), with URI-encoded content. Once decoded it begins with even more scripting:

CODE
{"min_columns":1,"max_columns":6,"default_columns":3,"min_rows":1,"max_rows":6,"default_rows":1,"thumbnail_size":300,"placeholderImgSrc":"https:\/\/geartekonline.com\/wp-content\/uploads\/woocommerce-placeholder-450x580.png","min_height":500,"default_height":500,"isLargeCatalog":true,"productCategories":[{"term_id":103,"name":"Uncategorized","slug":"uncategorized","term_group":0,"term_taxonomy_id":103,"taxonomy":"product_cat","description":"","parent":0,"count":0,"filter":"raw","link":"https:\/\/geartekonline.com\/product-category\/uncategorized\/"},{"term_id":106,"name":"Adjustable desk\/ table","slug":"adjustable-desk-table","term_group":0,"term_taxonomy_id":106,"taxonomy":"product_cat","description":"

followed by some HTML:

CODE
<div class=\"wpb_wrapper\">\r\n<h1><strong>Best Standing Desks<\/strong><\/h1>\r\n<p style=\"text-align: left;\">Adjustable desks allow you to stand while working at your desk or computer. They are also known as stand-up

Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)