{"id":77912,"date":"2011-05-24T08:00:00","date_gmt":"2011-05-24T08:00:00","guid":{"rendered":"https:\/\/www.weixiaoduo.com\/plugins\/2024\/02\/22\/genesis-js-no-js\/"},"modified":"2017-12-01T03:47:00","modified_gmt":"2017-12-01T03:47:00","slug":"genesis-js-no-js","status":"publish","type":"post","link":"https:\/\/www.weixiaoduo.com\/plugins\/genesis-js-no-js\/","title":{"rendered":"Genesis JS \/ No JS"},"content":{"rendered":"<p>Make front end styling easier for child themes on the <a href=\"http:\/\/genesis-theme-framework.com\/\" rel=\"nofollow ugc\">Genesis Framework<\/a> based on whether JavaScript is enabled or not.<\/p>\n<p>Adds a <code>no-js<\/code> body class to the front end, and a script on <code>genesis_before<\/code> which immediately changes the class to <code>js<\/code> if JavaScript is enabled.<br \/>\nThis is how WP does things on the back end, to allow different styles for the same elements depending if JavaScript is active or not.<\/p>\n<p>This plugin is only useful if you\u2019re using a child theme of the Genesis Framework since it uses the <code>genesis_before<\/code> hook.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Make front end styling easier for child themes on the Genesis Framework based on whether JavaScript is enabled or not.<\/p>\n","protected":false},"author":65,"featured_media":283534,"comment_status":"open","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"slim_seo":{"title":"Genesis JS \/ No JS - \u8587\u6653\u6735\u63d2\u4ef6\u76ee\u5f55","description":"Make front end styling easier for child themes on the Genesis Framework based on whether JavaScript is enabled or not."},"footnotes":""},"categories":[1],"tags":[3034,23324],"class_list":["post-77912","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized","tag-genesis","tag-js-no-js"],"_links":{"self":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/posts\/77912","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/users\/65"}],"replies":[{"embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/comments?post=77912"}],"version-history":[{"count":0,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/posts\/77912\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/media\/283534"}],"wp:attachment":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/media?parent=77912"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/categories?post=77912"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/tags?post=77912"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}