{"id":60886,"date":"2025-04-26T09:21:19","date_gmt":"2025-04-26T01:21:19","guid":{"rendered":"https:\/\/fwq.ai\/blog\/60886\/"},"modified":"2025-04-26T09:21:19","modified_gmt":"2025-04-26T01:21:19","slug":"zencart%e6%9b%b4%e6%94%b9css%e6%8c%89%e9%92%ae%e7%9a%84%e5%ae%bd%e5%ba%a6css-buttons","status":"publish","type":"post","link":"https:\/\/fwq.ai\/blog\/60886\/","title":{"rendered":"zencart\u66f4\u6539css\u6309\u94ae\u7684\u5bbd\u5ea6css buttons"},"content":{"rendered":"<p> zencart\u66f4\u6539css\u6309\u94ae\u7684\u5bbd\u5ea6css buttons,includes\\functions\\html_output.php<\/p>\n<p> \u5927\u6982323\u884c\u7684zenCssButton\u51fd\u6570<\/p>\n<p>   &nbsp;  <\/p>\n<pre>\r\n  function zenCssButton($image = '', $text, $type, $sec_class = '', $parameters = '') {\r\n\r\n    \/\/ automatic width setting depending on the number of characters\r\n    $min_width = 80; \/\/ this is the minimum button width, change the value as you like\r\n    \/\/$character_width = 6.5; \/\/ change this value depending on font size!\r\n    $character_width = 8.5; \/\/ change this value depending on font size!<\/pre>\n<p>  &nbsp;   <\/p>\n<p> \u4fee\u6539\u5176\u4e2d\u7684<\/p>\n<pre>\r\n$min_width = 80;\r\n$character_width = 8.5;<\/pre>\n<p> \u4e3a\u4f60\u81ea\u5df1\u6ee1\u610f\u7684\u503c\u5373\u53ef\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>zencart\u66f4\u6539css\u6309\u94ae\u7684\u5bbd\u5ea6css buttons,includes\\functions\\html_output.php \u5927\u6982323\u884c\u7684zenCssButton\u51fd\u6570 &nbsp; function zenCssButton($image = &#8221;, $text, $type, $sec_class = &#8221;, $parameters = &#8221;) { \/\/ automatic width setting depending on the number of characters $min_width = 80; \/\/ this is the minimum button width, change the value as you like \/\/$character_width = 6.5; \/\/ change this value depending on font size! $character_width [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16],"tags":[],"class_list":["post-60886","post","type-post","status-publish","format-standard","hentry","category-16"],"_links":{"self":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/60886","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/comments?post=60886"}],"version-history":[{"count":0,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/60886\/revisions"}],"wp:attachment":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/media?parent=60886"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/categories?post=60886"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/tags?post=60886"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}