{"id":1330,"date":"2012-07-10T15:56:04","date_gmt":"2012-07-10T18:56:04","guid":{"rendered":"http:\/\/wordpress.matbra.com\/?p=1330"},"modified":"2012-07-11T16:47:20","modified_gmt":"2012-07-11T19:47:20","slug":"modificando-estilo-da-assinatura-do-jetpack","status":"publish","type":"post","link":"https:\/\/wordpress.matbra.com\/en\/2012\/07\/10\/modificando-estilo-da-assinatura-do-jetpack\/","title":{"rendered":"Modify Subscription style of Jetpack"},"content":{"rendered":"<p>I just started to use the Subscription feature from Jetpack. I was checking how it looks like and I noticed that the checkbox and the text were in different lines. There was a space between checkbox and &#8220;Notify me of follow-up comments by email.&#8221; and the same with  &#8220;Notify me of new posts by email.&#8221; <\/p>\n<p>This bug, does not happen on all themes, so I can&#8217;t guarantee that this is the solution for everybody. To fix it on my theme I changed the file <strong>&#8220;wp-content\/plugins\/jetpack\/modules\/subscriptions.php&#8221;<\/strong><\/p>\n<p>I updated lines 433, 434, 435:<\/p>\n<p>[code lang=&#8221;php&#8221;]<br \/>\n$str .= &#8216;<\/p>\n<p class=\"comment-subscription-form\" style=\"line-height: 0px; height: 0px;\"><input type=\"checkbox\" name=\"subscribe_comments\" id=\"subscribe_comments\" value=\"subscribe\" style=\"width: auto; -moz-appearance: checkbox; -webkit-appearance: checkbox; vertical-align:middle; top: 0px;\"' . $comments_checked . ' \/> &#8216;;<\/p>\n<p>$str .= &#8216;<label class=\"subscribe-label\" id=\"subscribe-label\" for=\"subscribe_comments\" style=\"width:none; float:none;\">&#8216; . __( &#8216;Notify me of follow-up comments by email.&#8217;, &#8216;jetpack&#8217; ) . &#8216;<\/label>&#8216;;<\/p>\n<p>$str .= &#8216;<\/p>\n<p>&#8216;;<br \/>\n[\/code]<\/p>\n<p>And the lines 439, 440, 441 too.<\/p>\n<p>[code lang=&#8221;php&#8221;]<br \/>\n$str .= &#8216;<\/p>\n<p class=\"comment-subscription-form\" style=\"line-height: 0px; height: 0px;\"><input type=\"checkbox\" name=\"subscribe_blog\" id=\"subscribe_blog\" value=\"subscribe\" style=\"width: auto; -moz-appearance: checkbox; -webkit-appearance: checkbox; vertical-align:middle; top: 0px;\"' . $blog_checked . ' \/> &#8216;;<br \/>\n$str .=\t&#8216;<label class=\"subscribe-label\" id=\"subscribe-blog-label\" for=\"subscribe_blog\" style=\"width:none; float:none;\">&#8216; . __( &#8216;Notify me of new posts by email.&#8217;, &#8216;jetpack&#8217; ) . &#8216;<\/label>&#8216;;<br \/>\n$str .= &#8216;<\/p>\n<p>&#8216;;<br \/>\n[\/code]<\/p>\n<p>Maybe this help you to fix this.<\/p>\n<p>Matheus<\/p>","protected":false},"excerpt":{"rendered":"<p>I just started to use the Subscription feature from Jetpack. I was checking how it looks like and I noticed that the checkbox and the&#8230;<\/p>\n<div class=\"more-link-wrapper\"><a class=\"more-link\" href=\"https:\/\/wordpress.matbra.com\/en\/2012\/07\/10\/modificando-estilo-da-assinatura-do-jetpack\/\">Continue reading<span class=\"screen-reader-text\">Modify Subscription style of Jetpack<\/span><\/a><\/div>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[69,65],"tags":[252,251,254,253,322],"class_list":["post-1330","post","type-post","status-publish","format-standard","hentry","category-php","category-wordpress","tag-assinatura","tag-jetpack","tag-mod","tag-subscriptions","tag-wordpress","entry"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/psjGE-ls","_links":{"self":[{"href":"https:\/\/wordpress.matbra.com\/en\/wp-json\/wp\/v2\/posts\/1330","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.matbra.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wordpress.matbra.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.matbra.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.matbra.com\/en\/wp-json\/wp\/v2\/comments?post=1330"}],"version-history":[{"count":15,"href":"https:\/\/wordpress.matbra.com\/en\/wp-json\/wp\/v2\/posts\/1330\/revisions"}],"predecessor-version":[{"id":1374,"href":"https:\/\/wordpress.matbra.com\/en\/wp-json\/wp\/v2\/posts\/1330\/revisions\/1374"}],"wp:attachment":[{"href":"https:\/\/wordpress.matbra.com\/en\/wp-json\/wp\/v2\/media?parent=1330"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wordpress.matbra.com\/en\/wp-json\/wp\/v2\/categories?post=1330"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wordpress.matbra.com\/en\/wp-json\/wp\/v2\/tags?post=1330"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}