{"id":1663,"date":"2011-07-04T11:58:25","date_gmt":"2011-07-04T08:58:25","guid":{"rendered":"http:\/\/mummila.net\/kommentit\/?p=1663"},"modified":"2011-07-04T11:58:25","modified_gmt":"2011-07-04T08:58:25","slug":"suggestion-rename-currently-generically-named-template-elements","status":"publish","type":"post","link":"https:\/\/mummila.net\/kommentit\/2011\/07\/04\/suggestion-rename-currently-generically-named-template-elements\/","title":{"rendered":"Suggestion: rename currently generically-named template elements"},"content":{"rendered":"<p>In templates\/default\/layout.html there are elements named &#8221;loading&#8221; and &#8221;close&#8221;. I don&#8217;t know if these names are dictated by Lightbox, but unless they are, I&#8217;d suggest renaming them with something more closely tied to their use by Simple Lightbox (such as &#8221;slb_loading&#8221; and &#8221;slb_close&#8221;, as other elements in the template are). The reason is that I just spent a significant amount of time trying to debug a weird problem with my theme, which was actually caused by &#8221;loading&#8221; being an id used by Simple Lightbox and styled in its CSS. It was obviously easy for me to fix this by changing my element&#8217;s id, but finding out the cause was time I could have spent with more useful matters.<\/p>\n<p>Thanks for the great plugin, though.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Unless &#8221;loading&#8221; and &#8221;close&#8221; are id&#8217;s dictated by Lightbox, I&#8217;d suggest renaming them with something more closely tied to their use by Simple Lightbox (such as &#8221;slb_loading&#8221; and &#8221;slb_close&#8221;).<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1097],"tags":[],"class_list":["post-1663","post","type-post","status-publish","format-standard","hentry","category-keskustelupalstat","sijainti-wordpress-support-forums"],"_links":{"self":[{"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/posts\/1663","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/comments?post=1663"}],"version-history":[{"count":3,"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/posts\/1663\/revisions"}],"predecessor-version":[{"id":1666,"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/posts\/1663\/revisions\/1666"}],"wp:attachment":[{"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/media?parent=1663"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/categories?post=1663"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/tags?post=1663"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}