Its a tough one, as I don’t want to bloat the HTML with comments. I quickly looked at the source code for 5 successful items on TF.
It seems that the common practice is to comment the code. Some just comment ‘sections’ of the HTML whilst others comments every element.
Maybe just commenting where sections start / end, and using sensible class names for elements inside these may be the happy medium.
A super quick question. I am working on some themes for different areas, and was wondering if its worth commenting the HTML code with relation to what the elements are.
I am a little torn as what to do. I comment the CSS (Split into sections) / JS (What each function does), but for the HTML I am trying to use sensible class / id names. Such as:
<article class="product preview" id="123456"> <a href="/" title="Selected Leather Bomber Jacket"> <h3>Selected Leather Bomber Jacket</h3> <span class="price">$100.00</span> </a> </article>
To me, I see that as a product preview, that contains a title and a price, and I don’t feel it needs commenting, but then again I wrote the code.
Any advice would be appreciated!
29. I feel old compared to you guys
I would contact them directly via their Author Page so they can provide you with support.
page gets hang & browser crashes due to unresponsive script at this location www.xxxxxx.com/media/widgetkid/js/jquery.js:44
also slider doesnt load perfectly upon multiple reloads…...plz help…..
Sorry to hear your having issues. Sadly I don’t think any one can assist you, as there is no mention of the theme you have purchased.
Its best to get in touch with the theme author, via their profile page.
I would love to be able to push updates without the 48 hour wait, but understand the issue that everything in the archive needs checking again.
Would be nice to push the update first as the theme has already been accepted, and then the reviewer can check the update / do a diff check on the files at a later time.